Android Question Set variable to manifest

Douglas Farias

Expert
Licensed User
Longtime User
Hi all.

its possible to get this string value on manifest?
B4X:
Private AppKey As String = "999999"

and on manifest put only
B4X:
 <meta-data
 android:name="com.app.sdk.APPLICATION_ID"
 android:value="AppKey < here" />

or vice versa....
what would be the best way to do this?
I must declare appKey in the code and in the manifest, so if I can declare it just once it would be better.


thanksss
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
 
Upvote 0
Top