0

my app doesn't show up on the Nexus 7.

Here is my app manifest:

...<manifest android:hardwareAccelerated="true" android:versionCode="19" android:versionName="1.9" android:windowSoftInputMode="adjustPan" package="com.****.****" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"  android:required="false" />  
<uses-permission android:name="android.permission.GET_ACCOUNTS"  android:required="false"/>
<uses-permission android:name="android.permission.BROADCAST_STICKY"  android:required="false" />
 <uses-permission android:name="android.permission.CAMERA" />

...

boaz rose
  • 63
  • 5

2 Answers2

0

If you have an old nexus 7, you have to add
<uses-feature android:name="android.hardware.camera" android:required="false"/>

Alex
  • 3,382
  • 2
  • 32
  • 41
  • 2
    There is no `android:required` attribute on a `` element. You are perhaps thinking of ``: https://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions – CommonsWare Mar 20 '14 at 13:57
  • Currently I have: / If I set it to false wont it will be a problem in other devices? Should I check to see if a camera is available at runtime before using it? – boaz rose Mar 20 '14 at 15:22
  • Yes. You have to check it programmatically if the camera is available. Also if you used only the back camera you should consider to use the front facing camera if the main camera is missing if the camera feature is a must for your app. – Alex Mar 21 '14 at 05:37
0

If you have an Old Nexus 7 you will have to add this to your manifest :

 <compatible-screens>
    <screen
        android:screenDensity="213"
        android:screenSize="large" />
</compatible-screens>
Freego
  • 456
  • 7
  • 18