Douglas Farias Expert Licensed User Longtime User Jul 14, 2020 #1 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
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 Jul 14, 2020 #2 How do you add user defined properties/values in to the Android manifest file? I want to add a custom attribute / property into the manifest file, and be able to read it at run time. I want to do this so I can customize the app's behavior via these manifest properties. How ca... stackoverflow.com Upvote 0
How do you add user defined properties/values in to the Android manifest file? I want to add a custom attribute / property into the manifest file, and be able to read it at run time. I want to do this so I can customize the app's behavior via these manifest properties. How ca... stackoverflow.com
Johan Schoeman Expert Licensed User Longtime User Jul 15, 2020 #3 Read Key/Token from the B4A Manifest I was busy with a project and wanted to allow users to enter their own Key/Token via the B4A manifest file and then have access to the key/token via B4A code. I did a quick search and could not find something immediately and then did the below/attached via inline Java code that I found somewhere... www.b4x.com Upvote 0
Read Key/Token from the B4A Manifest I was busy with a project and wanted to allow users to enter their own Key/Token via the B4A manifest file and then have access to the key/token via B4A code. I did a quick search and could not find something immediately and then did the below/attached via inline Java code that I found somewhere... www.b4x.com