Monday, October 7, 2013

Basic4Android Tutorial: Setting Up The Development Environment

(Based on Basic4Android Version 2.5 and Android SDK 18)


SETTING UP BASIC4ANDROID DEVELOPMENT ENVIRONMENT


A) PREPARE ANDROID SDK.

The easiest way is to download Android Development Toolkit (ADT). ADT actually is an Eclipse IDE that is bundled with Android SDK. Once ADT is downloaded and unzipped, the Android SDK contained within the bundle can be referenced and used by Basic4Android.

B) INSTALLED BASIC4ANDROID.

Run the installer and it will handle the rest of installation activities.

C) CONFIGURING THE PATH.

1) During the first time run, Basic4Android will prompt you to enter configuration paths. Alternatively, you can edit this path by going to menu Tools/Configure Paths.
2) The following is an example of Paths Configuration that uses:
2a) JDK6
2b) Android JAR file bundled in ADT v.21.0.1 (refer step 1)

D) CREATE EMULATOR

1) We need to setup an Android Emulator for testing out our apps.
2) Go to menu Tools/Run AVD Manager.
3) When Android SDK Manager pops up, go to menu Tools/Manage AVDs...
4) Click New...
5) Set as follows...
6) Once the AVD Name has been set, the emulator can be started.
7) Click Launch.
8) The startup progress is shown...
9) ... until the emulator windows pops up...
10) ...and you have to wait for the system to fully boot up
11) Click the padlock and drag it to the right to log into the system.
12) Leave this emulator running at the back so that we can use it later.

No comments:

Post a Comment