Android Question Using strings.xml

apty

Active Member
Licensed User
Longtime User
Please guide me on how to include strings.xml in my b4a app. I have added it as AdditionalRes but it seems not to be picked. I am passing an intent to an external application . The application needs to read strings.xml value of my app. I thought by just including strings.xml with the necessary value under res/values, it will work but its not working. In java, the application can read my strings.xml very well but if i use B4A, it fails to read it
 

warwound

Expert
Licensed User
Longtime User
Please guide me on how to include strings.xml in my b4a app. I have added it as AdditionalRes but it seems not to be picked. I am passing an intent to an external application . The application needs to read strings.xml value of my app. I thought by just including strings.xml with the necessary value under res/values, it will work but its not working. In java, the application can read my strings.xml very well but if i use B4A, it fails to read it

How are you trying to access the string resources - are you sure you are using the right method to get the right resource id?
 
Upvote 0

apty

Active Member
Licensed User
Longtime User
Oh...I will try to move the post to Library Questions. No i didn't create R.Java. How do i use R.Java with B4A?
 
Upvote 0
Top