5

hope my question doesn't sound much awkward. I have Android application which runs fine on many Android phones. However, I've just found out that on my friend's Samsung Galaxy Mini (S5570) it won't even find my app in Android Market. When I use direct link to my app in Market, it says that the App is not compatible with the phone. I have no idea why ??

I have this in my AndroidManifest.xml file:

<supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:resizeable="true"
    android:anyDensity="true" />

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-sdk android:minSdkVersion="4"></uses-sdk>

I am not aware of anything what should disable my app from beeing compatible with Samsung Galaxy Mini or maybe other phone I don't know about yet.

Can anybody help me with this strange problem ?

EDIT:

I've checked in Android Market Developer Console and there is more or different set of permissions than I have in my manifest file:

This application is only available to devices with these features, as defined in your application manifest.
Screen layouts: SMALL NORMAL LARGE XLARGE
Required device features
android.hardware.location.network
android.hardware.camera
android.hardware.location
android.hardware.camera.autofocus
android.hardware.touchscreen

I think that android.hardware.camera.autofocus might probably the reason for my app not showing in Android Market for certain phones. Anybody has idea how to get rid of this requirement I don't want to have for my app ?

Frodik
  • 14,986
  • 23
  • 90
  • 141
  • Do you have any native code/library, which may have some dependency on the ARM version? – Karthik Jan 11 '12 at 04:16
  • I am not aware of such. My application is actually HTML5 using PhoneGap 1.0. I am using ZXing plugin for barcode reading. But I don't think this would have any dependency on ARM version ? – Frodik Jan 11 '12 at 06:11

3 Answers3

2

I had the same problem. Samsumg Galaxy Mini is not compatible with "android.permission.CAMERA"

Sweet
  • 36
  • 1
  • Wow, that is very disrupting. But Samsung Galaxy Mini has indeed camera, so where is problem ? Any thoughts ? Any workarounds ? The only thing that comes to my mind is to remove the camera from requirements, right ? But that would render my app useless, because it needs camera for some functionality. – Frodik Jan 11 '12 at 16:25
  • Yes I know, and I dont know why. What I did was add a link to download the apk directly. – Sweet Jan 11 '12 at 16:35
  • 1
    add this The android.permission.camera implicit adds android.hardwre.camera.autofocus. – Pablo Johnson Apr 22 '13 at 17:19
2

Please see my answer to a similar question here.

In short, run your apk through aapt dump badging, which will tell you exactly which features will be used by the market to determine the availability to devices. Then adjust your manifest file accordingly.

Community
  • 1
  • 1
Libby
  • 866
  • 5
  • 8
0

You can add the android:required="false" to disable it from the store filter.

Brent Hacker
  • 394
  • 2
  • 8
  • 26