Hi guys -- I have an app which I'd like people to be able to install
onto the SD card through Settings->Applications->Manage applications.
I now have a .apk file that if I install it directly, does allow me to
do the above, but when I submit it to Android Market and then install
from there, it doesn't (the option's greyed out for me, and it is for
others too).
Any idea what I need to do differently? I guess Market is rebuilding
the apk and losing the XML attribute along the way, but I can't see
why.
Here's my manifest file, which looks fine to me -- so I'm at a loss.
My eclipse project target SDK version is set to 8 (so that it
understands the new attribute), and android:minSdkVersion is set to 3
(as it always has been) -- which is my understanding of how the
android docs say I should do this :-(
Thanks in advance,
Mark
---------------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="37"
android:versionName="2.14" package="com.wheadon.photoenhance"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:debuggable="false" >
<activity android:name=".PhotoEnhance"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.ALTERNATIVE"/>
<data android:mimeType="image/jpeg" />
</intent-filter>
</activity>
<activity android:name=".Preferences" android:label="@string/setPreferences"></activity>
<activity android:name=".Crop" android:label="@string/crop"></activity>
</application>
</manifest>
onto the SD card through Settings->Applications->Manage applications.
I now have a .apk file that if I install it directly, does allow me to
do the above, but when I submit it to Android Market and then install
from there, it doesn't (the option's greyed out for me, and it is for
others too).
Any idea what I need to do differently? I guess Market is rebuilding
the apk and losing the XML attribute along the way, but I can't see
why.
Here's my manifest file, which looks fine to me -- so I'm at a loss.
My eclipse project target SDK version is set to 8 (so that it
understands the new attribute), and android:minSdkVersion is set to 3
(as it always has been) -- which is my understanding of how the
android docs say I should do this :-(
Thanks in advance,
Mark
---------------------
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="37"
android:versionName="2.14" package="com.wheadon.photoenhance"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:debuggable="false" >
<activity android:name=".PhotoEnhance"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.ALTERNATIVE"/>
<data android:mimeType="image/jpeg" />
</intent-filter>
</activity>
<activity android:name=".Preferences" android:label="@string/setPreferences"></activity>
<activity android:name=".Crop" android:label="@string/crop"></activity>
</application>
</manifest>