Android Question Making an entry targetSdkVersion in the b4A Manifest Editor

beelze69

Active Member
Licensed User
Longtime User
Hi All,

I am a new user of b4A 8.00... Recently I saw one post of Erel https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/ wherein he has mentioned:

Q: Should we panic?
A: No. Forget about it until October 2018 and then panic.

Or better, start with upgrading your app to targetSdkVersion 23 and handle runtime permissions which can require some work.
Make sure to test your app with a device running Android 7 or 8 and later raise the targetSdkVersion to 26.
There is still time for the new enforcement and it might require some libraries to be updated.

I have a few simple questions

i) What is the exact entry to make in the Manifest Editor (invokable from the b4A IDE) for the targetSdkVersion ?

My manifest editor entry is :
<CODE>
AddManifestText(
<uses-sdk android:minSdkVersion="4" />
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
</CODE>

ii) Suppose I set the targetSdkVersion to 23 ... Erel talks about handling runtime permissions which can require some work ?

What exactly does this mean ? .. Does it mean that I have to write some EXTRA CODE inside to handle it ?

Thanks..
 

KMatle

Expert
Licensed User
Longtime User
Just search for runtime permissions. It's just about asking the user one time if the app may do this or that. There is a link in the post you reffering to. Just some lines more.

This is only needed when you set the target to 23+. Google forces everyone to use it after August as they want to add more privacy for the users. Not a big thing.
 
Upvote 0
Top