3

I have developed an app to show portrait on phone and landscape on TABLETS. Strangely the App is not shown on TAB when I search on play store.

It says Designed for Phone... I have put all the details in Manifest. What else could be wrong:

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

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

And I declare activity like this:

    <activity
            android:name="com.pk.imageViewer.MainActivity"
            android:theme="@style/Theme.imv"
            android:screenOrientation="nosensor" >
    </activity>

And then in layout folder I have mainactivity.xml and I have created another folder for TABLETS called layout-w600dp-land in that mainactivity.xml too.

CASMK
  • 55
  • 8
Sanjana Nair
  • 2,663
  • 6
  • 26
  • 44

1 Answers1

2

You can fix this by doing

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

    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.location"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location.network"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.location.gps"
        android:required="false" />
Kanaiya Katarmal
  • 5,974
  • 4
  • 30
  • 56