Android App not supported on many devices -
i cant find out why app not supported on many devices xperia z or samsung galaxy s4 , many more. newest devices , tablets not supported.
here manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.baoss_cdb" android:versioncode="3" android:versionname="1.2.1" > <supports-screens android:anydensity="true" android:largescreens="true" android:normalscreens="true" android:smallscreens="true" android:xlargescreens="true" android:resizeable="true"/> <uses-sdk android:minsdkversion="9" android:targetsdkversion="17" /> <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.access_fine_location" /> <uses-permission android:name="android.permission.call_phone" /> <application android:name="com.baoss.misc.myapplicationcontext" android:icon="@drawable/cdb" android:label="@string/app_name" android:logo="@drawable/cdb" android:theme="@android:style/theme.notitlebar" > <activity android:name="com.baoss.loginactivity" android:configchanges="keyboardhidden|orientation|screensize" android:windowsoftinputmode="statehidden" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="com.baoss.menuactivity" android:configchanges="keyboardhidden|orientation|screensize" /> ... <activity android:name="com.baoss.settingtermsofuseactivity" android:configchanges="keyboardhidden|orientation|screensize" android:theme="@android:style/theme.notitlebar.fullscreen" > </activity> </application>
i hope can me=).
one thing can notice about
<uses-permission android:name="android.permission.call_phone" />
infact permission implies android.hardware.telephony
features, available on phones , not in tablets. try marking feature not required:
<uses-feature android:name="android.hardware.telephony" android:required="false" />
don't forget check @ runtime if current device has phone capability:
packagemanager pm = getpackagemanager(); if (pm.hassystemfeature(packagemanager.feature_telephony)){ //add code making call }else{ //add code devices telephony not present, if needed }
Comments
Post a Comment