Can You Restrict A Specific Android Api Version From Running/downloading App From Googleplay Store?
Alright so I'm having this one problem with an app I'm working on and planning on releasing, but the problem is only occurring on one version of the android SDK (Version 4.1.1 API
Solution 1:
You can prevent the app from running.
And no, you cannot prevent the app from downloading when on an API in between minSDKVersion
and maxSDKVersion/targetSDKVersion
You can check it like this:
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.GINGERBREAD && android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.HONEYCOMB) {
// For gingerbread but lesser than HONEYCOMB, show a dialog or something and close the appfinish();
}
Solution 2:
So the problem I was having was caused by the pageTransformer
that I was using. Android 4.1.1
really didn't like it. I don't know why but all I know is that if you're using pageTransformer with custom views and ActionBarSherlock
you better be careful when using the pageTransformer
to add animation to the page turns.
Post a Comment for "Can You Restrict A Specific Android Api Version From Running/downloading App From Googleplay Store?"