Android Development Tools for Eclipse book review (packt publishing)

Today, I finished reading ADT for Eclipse book; In my opinion, if you are new for the Android Mobile Dev. Platform, you should consider reading this book. In total, this book includes 144 pages so it is very easy to read. Authors did very good job by summarizing important subjects into one small sized book. You will find essential details regarding ADT and this will enables you to code and publish your mobile apps. Pros Regarding the book; +Concise and clear explanations +Including screenshots +Relevant content Cons +Could include more chapters regarding Android Virtual Device optimization +Some screenshots are based on Windows others for Linux You can review the chapters of the book by clicking the following link;  Reading Android Development Tools for Eclipse Book  Reading Android Development Tools for Eclipse Book


Android FREE PhotoSync App (Facebook&Dropbox)

Hi bloggers,

Here you can find a FREE Android App developed by me;


Click on this link to download

Product Description;
Using this app you won’t worry publishing your photos to Facebook and/or DropBox together.
This mobile app will publish your photos based on your interaction(manual publishing mode) or automatically (auto publishing mode) to Facebook and/or DropBox.Auto publishing Mode will give you the power of syncing your photos on two different platforms (Facebook and DropBox) at the same time. In order to do that you just only need to connect your accounts to this app and publishing will be handled automatically. This way for example while you are travelling and taking some nice cool photos, social publishing will be done on Facebook and one copy is also saved in DropBox.

Facebook/DropBox connection
Auto Photo Publishing to Facebook&DropBox
Manual Photo Publishing to Facebook&DropBox

Connecting DropBox;
Please select remember me in order to prevent connection problems.

How to speed up Android Emulator on Eclipse (emulator: Failed to open the HAX device! solution)

Friends the following udemy course created by me;

      Click here to attend Spring Framework 4.x and certification course with a discount

Spring Framework and Core Spring Certification Udemy course with discount
Spring Framework and Core Spring Certification Udemy course with a discount coupon

This tutorial will guide you to speed up Android Emulator by installing Intel Hardware Accelerated Execution Manager (HAXM)

–Slow Emulator speed on Eclipse (actually very very slow for debugging)
–emulator: Failed to open the HAX device! HAX is not working and emulator runs in emulation mode,  emulator: Open HAX device failed solution

In order to use x86 Android Intel Emulator, first of all download the image using Android SDK Manager

Open Eclipse click on SDK Manager Button


Choose Intel x86 Atom System Image and press install


After this you need to install HAXM as well;


After installing Intel x86 Emulator Accelerator, you need to go installation folder and execute manually  HAXM executable (Install Package is actually here misleading, you can think it as downloading) alternate download link;

Go to the following folder (replace your username on your computer)


Run IntelHaxm.exe


Press Next


Set RAM size, you can choose default value and click yes

After the installation, you should open command prompt for testing whether HAXM is running on computer try the following command
if you see RUNNING state, HAXM installation is successful.


So in order to use the fastest Intel x86 Emulator, you should define a new emulator in Eclipse by opening Android Virtual Device Manager
and setting the following parameters;

First open it  by clicking  avdmbut


Under Device Definitions, choose Nexus S and press create AVD
In this section, choose Intel Atom (x86) for CPU/ABI and this will activate HAXM
and your emulator will be faster


After completing these steps; by running your application you will see a console like as below;

[2013-09-02 19:51:12 – Hello] ——————————
[2013-09-02 19:51:12 – Hello] Android Launch!
[2013-09-02 19:51:12 – Hello] adb is running normally.
[2013-09-02 19:51:12 – Hello] Performing com.example.hello.MainActivity activity launch
[2013-09-02 19:51:13 – Hello] Automatic Target Mode: Preferred AVD ‘AVD_for_Nexus_S_by_Google_With_x86’ is not available. Launching new emulator.
[2013-09-02 19:51:13 – Hello] Launching a new emulator with Virtual Device ‘AVD_for_Nexus_S_by_Google_With_x86’
[2013-09-02 19:51:14 – Emulator] emulator: device fd:1268
[2013-09-02 19:51:14 – Emulator]
[2013-09-02 19:51:14 – Emulator] HAX is working and emulator runs in fast virt mode
[2013-09-02 19:51:15 – Emulator] creating window 0 0 438 729
[2013-09-02 19:51:15 – Hello] New emulator found: emulator-5554
[2013-09-02 19:51:15 – Hello] Waiting for HOME (‘android.process.acore’) to be launched…
[2013-09-02 19:51:52 – Hello] HOME is up on device ’emulator-5554′
[2013-09-02 19:51:52 – Hello] Uploading Hello.apk onto device ’emulator-5554′
[2013-09-02 19:51:54 – Hello] Installing Hello.apk…
[2013-09-02 19:52:47 – Hello] Success!
[2013-09-02 19:52:47 – Hello] Starting activity com.example.hello.MainActivity on device emulator-5554
[2013-09-02 19:52:48 – Hello] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.hello/.MainActivity }


How to install Android Eclipse Plugin and start coding immediately (Android Virtual Device Definition- Android SDK)

Hi, in this short tutorial, we are going to install Android Development Plugin (which is called ADT (Android Development Tools)) on Eclipse briefly.

First of all, to do that please download Eclipse from the following location;


2. When you start Eclipse choose


Copy and paste Work With location

and press add like this;


Click Next for downloading and accept license agreement. After the installation, you need to restart your eclipse in order to start programming Android apps.

3. You need to define the location of Android SDK Tools inside eclipse to start coding, for that reason, you need to download Software Development Kit including the main functionalities, libraries of Android, for doing that go to
under use existing IDE menu choose download the sdk tools for windows

4. After the download, click on the exe file choose a sdk installation location (we will use this location later inside eclipse)


Click next and on SDK Manager click install all (in my case 11 packages)

Please note SDK Path will be used inside Eclipse so it is better to note somewhere for me it is under C:\Users\tunato\AppData\Local\Android\android-sdk


This will take some time so be patient. Press close after all downloads are completed.

5. Before coding Android apps using Eclipse, you need to set the location of Android SDK on Eclipse for that;


inside SDK Location choose your sdk installation directory for me C:\Users\tunato\AppData\Local\Android\android-sdk

press apply and ok and now you are ready to code Android


6. For testing the android SDK installation, we will now  define a AVD which is called as Android Virtual Device and this device will use Android API

Click on Window > Android Virtual Device Manager or Android DM button on the left


Select the following values by setting AVD Name, Device, Target and CPU click ok and this will create our virtual Android Device and we will use this device for testing our apps


To test our configuration including SDK installation and AVD definition click on

File>New>Other and choose Android Sample Project
Select HellowEffects sample android project from list;


Click on Finish;

Right click on HelloEffects sample app


Click on Run as Android Application and this will open Android Virtual Device, (if it fails try to decrease AVD ram values by decreasing RAM values)

You have to be patient while the initialization of AVD. This will take some time for the first time,

On Android Virtual Device app menu  click on FX HelloEffects 


And after clicking you will see a screen like that so the application works!!


Emulator Console log will be similar to this one;

[2013-08-30 11:12:55 – SDK Manager] Updated AVD ‘AVDTEST’ based on Android 4.3, Intel Atom (x86) processor,
[2013-08-30 11:12:55 – SDK Manager] with the following hardware config:
[2013-08-30 11:12:55 – SDK Manager] hw.sdCard=no
[2013-08-30 11:12:55 – SDK Manager] hw.device.manufacturer=Google
[2013-08-30 11:12:55 – SDK Manager] hw.mainKeys=no
[2013-08-30 11:12:55 – SDK Manager] hw.lcd.density=320
[2013-08-30 11:12:55 – SDK Manager] hw.accelerometer=yes
[2013-08-30 11:12:55 – SDK Manager] hw.dPad=no
[2013-08-30 11:12:55 – SDK Manager] hw.device.hash=298918422
[2013-08-30 11:12:55 – SDK Manager] hw.trackBall=no
[2013-08-30 11:12:55 – SDK Manager] 4
[2013-08-30 11:12:55 – SDK Manager]
[2013-08-30 11:12:55 – SDK Manager] hw.sensors.proximity=yes
[2013-08-30 11:12:55 – SDK Manager] hw.battery=yes
[2013-08-30 11:12:55 – SDK Manager] disk.dataPartition.size=200M
[2013-08-30 11:12:55 – SDK Manager] hw.gpu.enabled=yes
[2013-08-30 11:12:55 – SDK Manager] hw.audioInput=yes
[2013-08-30 11:12:55 – SDK Manager] hw.sensors.orientation=yes
[2013-08-30 11:12:55 – SDK Manager]
[2013-08-30 11:12:55 – SDK Manager] hw.gps=yes
[2013-08-30 11:12:55 – SDK Manager] skin.dynamic=yes
[2013-08-30 11:12:55 – SDK Manager] hw.keyboard=yes
[2013-08-30 11:12:55 – SDK Manager] vm.heapSize=64
[2013-08-30 11:12:55 – SDK Manager] hw.ramSize=768
[2013-08-30 11:13:49 – HelloEffects] ——————————
[2013-08-30 11:13:49 – HelloEffects] Android Launch!
[2013-08-30 11:13:49 – HelloEffects] adb is running normally.
[2013-08-30 11:13:49 – HelloEffects] Performing activity launch
[2013-08-30 11:13:49 – HelloEffects] Automatic Target Mode: launching new emulator with compatible AVD ‘AVDTEST’
[2013-08-30 11:13:49 – HelloEffects] Launching a new emulator with Virtual Device ‘AVDTEST’
[2013-08-30 11:13:51 – Emulator] emulator: Failed to open the HAX device!
[2013-08-30 11:13:51 – Emulator] HAX is not working and emulator runs in emulation mode
[2013-08-30 11:13:51 – Emulator]
[2013-08-30 11:13:51 – Emulator] emulator: Open HAX device failed
[2013-08-30 11:13:51 – Emulator]
[2013-08-30 11:13:51 – Emulator] emulator: warning: opening audio input failed
[2013-08-30 11:13:51 – Emulator]
[2013-08-30 11:13:51 – Emulator] creating window 0 0 513 854
[2013-08-30 11:13:51 – HelloEffects] New emulator found: emulator-5554
[2013-08-30 11:13:51 – HelloEffects] Waiting for HOME (‘android.process.acore’) to be launched…
[2013-08-30 11:14:41 – HelloEffects] HOME is up on device ’emulator-5554′
[2013-08-30 11:14:41 – HelloEffects] Uploading HelloEffects.apk onto device ’emulator-5554′
[2013-08-30 11:14:42 – HelloEffects] Installing HelloEffects.apk…
[2013-08-30 11:15:13 – HelloEffects] Success!
[2013-08-30 11:15:13 – HelloEffects] Starting activity on device emulator-5554
[2013-08-30 11:19:04 – Emulator] Error accepting connection, aborting

So you can continue from now to develop your custom apps with this configuration!!