Installing Android Emulator

Here we will create a new AVD (Android Virtual Device) which is an emulator instance. Then we will create a simple program that displays a simple message box and also writes a message to the log.
You can also connect a real device to the IDE:

  • Connecting your device with ADB
  • Connecting your device with B4A-Bridge

Steps to Create new AVD

  1. Open Basic4android.
  2. Choose Tools Menu - Run AVD Manager (Wait a few seconds).
  3. The AVD Manager will appear:

  1. Choose New and fill the fields similar to the following image:

  1. Press on Create AVD. Note: that you can create more than one AVD. Each can have a different resolution or can target a different API version (you will need to install additional platforms first).
  2. Now press Start in order to start the emulator

  1. Now Click on Launch button.

-You will see several windows popping up and disappearing. This is fine.

- The emulator should boot up:

- Wait... on the first time it can take several minutes till the emulator is ready.

- The emulator is ready when it gets to this screen:

-You may see this screen, which is the lock screen, instead:

Drag the lock icon to the right to unlock the device.

Note that there is no need to restart the emulator each time you develop a program. The emulator can be kept running all the time.

If you are not familiar with Android you can play with the emulator. Press on the button with the small squares to get to the application page

Introduction<< Previous
Next >>write a simple Basic4android program

Our aim is to provide information to the knowledge seekers

comments powered by Disqus