I found myself increasingly frustrated by my attempts to use the all the amazing AppCompat libraries and tutorials only to end up with reams of Java errors.
So to help those who might have/be struggling like I did I hope this helps.
So to help those who might have/be struggling like I did I hope this helps.
The first thing you need to make sure of is that you copy the correct jar files to the libraries folder
You get these from your Android SDK folder.. but make sure they are very latest. So update you SDk first.
and then you need the resource folder in your program
that folder is the one from the example in the thread
Just download and copy across the resource folder to your programs folder
and these entries at the start
I have no doubt that the experts are going to chime in and tell me I got something wrong. Please do.
This is just my experience and how I muddled through it.
B4X:
android-support-v4.jar
android-support-v7-appcompat.jar
You get these from your Android SDK folder.. but make sure they are very latest. So update you SDk first.
Then go to
copy the 2 files from there to
B4X:
android-sdk\extras\android\support\v7\appcompat\libs
B4X:
C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries
and then you need the resource folder in your program
that folder is the one from the example in the thread
Just download and copy across the resource folder to your programs folder
and these entries at the start
B4X:
#AdditionalRes: ..\resource
#AdditionalRes: $AndroidSDK$\extras\android\support\v7\appcompat\res, android.support.v7.appcompat
#AdditionalRes: $AdditionalLibs$\b4a_appcompat, de.amberhome.objects.appcompat
#Extends: android.support.v7.app.ActionBarActivity
I have no doubt that the experts are going to chime in and tell me I got something wrong. Please do.
This is just my experience and how I muddled through it.
Last edited: