incompatible

Prosg

Active Member
Licensed User
Longtime User
Hello,

I just publish my app and it works only with 1933 phones and tablet.

My app work in my Galaxy tab II and for google play it's not possible

I must make a mistake with some autorize.

Could you help me to find witch one could be the problem

Fonctionnalités 5 fonctionnalités ▴
android.hardware.CAMERA
android.hardware.camera.AUTOFOCUS
android.hardware.screen.LANDSCAPE
android.hardware.screen.PORTRAIT
android.hardware.TOUCHSCREEN

Autorisations requises 11 autorisations ▴
android.hardware.CAMERA
android.hardware.camera.AUTOFOCUS
android.permission.CAMERA
android.permission.FLASHLIGHT
android.permission.INTERNET
android.permission.READ_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE
android.permission.VIBRATE
android.permission.WRITE_EXTERNAL_STORAGE
com.android.vending.BILLING
com.android.vending.CHECK_LICENSE


and my manifest

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="4"/>
<supports-screens android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="true" 
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
AddApplicationText(<activity android:name="ice.zxing.CaptureActivity"
         android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden"
         android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
         android:windowSoftInputMode="stateAlwaysHidden">
      </activity>)
'End of default text.
SetActivityAttribute(popup, android:theme, @android:style/Theme.Translucent.NoTitleBar)
'InAppBilling declarations - Start
AddReceiverText(InProsgApp1Billing,  <intent-filter>
                <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
                <action android:name="com.android.vending.billing.RESPONSE_CODE" />
                <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
            </intent-filter>)


i think it's android.permission.VIBRATE but i don't kwow why it say i need this ?
 

Prosg

Active Member
Licensed User
Longtime User
i add RemovePermission (android.permission.VIBRATE)

and... again 1933 device so it's not this one

i really don't understand what is the problem
 
Last edited:
Upvote 0

Prosg

Active Member
Licensed User
Longtime User
ok i found the problem in a forum

Thanks. The problem is solved. It is because galaxy tab 2 7.0 did not support auto focus for camera. Just remove auto focus feature. It is ok now – user1478630 Jul 6 '12 at 22:23

the problem is that i use
B4X:
RemovePermission (android.hardware.camera.AUTOFOCUS)

but the permission is not remove !!!!

strange cause it's work to remove vibrate permision

help pls
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
You can do something like this:
B4X:
AddReplacement(android.hardware.camera.AUTOFOCUS, <!-- android.hardware.camera.AUTOFOCUS -->)

or this:
B4X:
AddManifestText(<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />)
 
Last edited:
Upvote 0

Prosg

Active Member
Licensed User
Longtime User
i just test
B4X:
AddReplacement (android.hardware.camera.AUTOFOCUS, <!-- android.hardware.camera.AUTOFOCUS -->)


and it doesn't remove it
 
Upvote 0

Prosg

Active Member
Licensed User
Longtime User
i'm sorry but i don't want that i want to remove it because

my app have 1933 device instead of 2300+

400 devices (a lot of tablet) are not compatible because the autofocus permission.

As it's a professionnal app, a lot of my customers use tablet
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…