Ruchir Baronia
Ruchir Baronia

Reputation: 7571

App not showing up?

My app isn't showing up on google play store for some phones, like the Samsung GT-S5830i I don't know whether it is because of my <uses-permission> or my min SDK or my Screen Size permissions.

After seeing this I made all of my <uses-permission> into <uses-feature> and added android:required="false" to every permission. Now, I need to check feature availability in my java code since the permissions are optional, so that I can avoid a java.lang.SecurityException: Permission Denial How would I do that in my following permissions:

 <uses-feature android:name="android.permission.MODIFY_AUDIO_SETTINGS" android:required="false" />
    <uses-feature android:name="android.permission.VIBRATE" android:required="false" />
    <uses-feature android:name="android.permission.READ_PHONE_STATE"  />
    <uses-feature android:name="android.permission.GET_TASKS" />
    <uses-feature android:name="android.permission.INTERNET" android:required="false"/>

I'm pretty sure that all phones and tablets can go through with my permissions, so I don't even think that I need to make it feature and add the required="false". If it is not the permissions, it could be the Screen Size permissions.

Should I do something like this in my manifest?

 <compatible-screens>
            <screen
                android:screenDensity="ldpi"
                android:screenSize="small" />
        <screen
            android:screenDensity="mdpi"
            android:screenSize="normal" />
        <screen
            android:screenDensity="xhdpi"
            android:screenSize="large" />
        <screen
            android:screenDensity="xhdpi"
            android:screenSize="xlarge" />
    </compatible-screens>

Currently, I have this:

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

Could it be because of the SDK?

Thanks for telling me whether it is because of the permissions, the SDK, or the screen size, and what I should do to keep some of the permissions optional,

Ruchir

Upvotes: 1

Views: 104

Answers (1)

droidev
droidev

Reputation: 7390

from comment your min-sdk level is 11, that means your app needs minimum of andriod 3.0 (Honeycomb) and the phone you're tested is samsung GT-s5830i which comes with android froyo, (version 2.2) and it's API level is 8, so it wont be displayed in playstore for that device. to support for that phone you have decrement your minimum api level, read about API level and os version from here. and read this link to know more about play store filtering

Upvotes: 1

Related Questions