ok, I used the 2.3.3 api(10)
if i make a program in emulator using the version (2.3.3), can i install it to my android phone which is android 4.0?
These instructions are outdated. Please see the instructions here instead: Basic4android (Basic for Android) - Android programming with Gui designer
Basic4android depends on two additional (free) components:
- Java JDK
- Android SDK
The first step should be to install the Java JDK v6 as Android SDK requires it as well.
Note that there is no problem with having several versions of Java installed on the same computer.
- Open the Java 6 JDK download link.
- Check the Accept License Agreement radio button.
- Select "Windows x86" in the platforms list (for 64 bit machines as well). Android SDK doesn't work with Java 64bit JDK. You should install the regular JDK for 64bit computers as well.
- Download the file and install it.
Next step is to install the Android SDK and a platform:
- Download Android SDK.
- Install the SDK. The SDK doesn't always behave properly when it is installed in a path with spaces (like Program Files). It is recommended to install it to a custom folder similar to C:\Android.
- You should now install the platform tools and at least one platform image. You can use API 8 or above. It is recommended to use API 8.
You can also install Google USB Driver if you need to connect a real device with USB.
Note that you can install more packages later.
- Press on Install Selected and install both packages.
Install and configure Basic4android
- Download and install Basic4android.
- Open Basic4android.
- Choose Tools menu - Configure Paths.
- Use the browse buttons to locate "javac.exe" and "android.jar"
javac is located under <java folder>\bin.
android.jar is located under <android-sdk-windows>\platforms\android-8
On Windows 64 bit, Java will probably be installed under C:\Program Files (x86).
Follow the second tutorial for the emulator setup and a Hello World application.
- Windows XP - "Basic4Android.exe Application could not be initialised correctly error 0xc0000135" on startup. Basic4android requires .Net Framework 2.0 or above. Windows XP users who didn't install it before should first install the framework.
You should still use Android 2.2 SDK (API Level 8).
Your applications will work correctly on Android 2.3 as well.
You can create a folder anywhere on your system, and call it whatever you like.
Then in B4A go to Tools, Configure Paths ... and browse to the folder you created.