Android Development Environment Setup for Windows 8

Setting the Android Development Environment is very simple and explained step by step in web site, But these steps lacks some information. 

This site says that if you download the “ADT Bundle for Windows” you will have everything to start the development process. But if you do so then the first error you will get that eclipse will not run if your PC is freshly windows installed or no JVM installed in your PC. 

So, you need to download and install “jdk-7u21-windows-x64 .exe“. 

After That if you need to run your android application in Samsung Android Phone, Then you are in big trouble, because Samsung kies have no driver version yet for windows8. So, if you install kies, it will not install the driver for the phone and you will not able to browse your phone or can not debug your software in you device.

What you need to do is download latest version of kies and install it.

after installation go to “C:\Program Files (x86)\Samsung\Kies\USB Driver” 

Right click on “SAMSUNG_USB_Driver_for_Mobile_Phones.exe” -> “Properties” -> “Compatibility” -> Check “Run this program in compatibility mode for:” -> choose “Windows 7”

Now install the USB driver again. 


Now it will work fine. Thank you for reading this article. 🙂

Quick Start: Unicode Support for C++ Application

This is a quick start guidance :

Here I will provide very simple example about how we can develop C++ application to support UNICODE characters.

Here some generic purpose function and data type name listed with example, which can be used with both Unicode and non-Unicode characters based on the project settings.  If _UNICODE is defined in project settings then these generic function and data types will automatically convert to defined types.

1. Use “CString” instead of using “String”


String testString = “Hello World”;        [Do not use]

CString testString = _T(Hello World);  [Need to use]


2. Use “TCHAR” instead of using “char” or “wchar_t


char testChar = ‘H’;               [Do not use]

TCHAR testChar = _T(‘H’);   [Need to use]


3. Use “_T()” while writing string literals


char testString [] = “Hello World”; [Do not use]

TCHAR testString[] = _T(“Hello World”); [Need to use]


4. Use Generic Text Routine Mapping [] instead of using specific functions and data types.

e.g. use “_tcscpy” instead of using strcpy


Robotics in Bangladesh

I am writing this post as I have faced some trouble to find shop to buy parts i.e. In system programmer, IC, and other electronics parts which are needed to build initial robotic program.

This post is for the student or any interested person who is interested to study and willing to work on robotics from the very beginning. You will get some basic information regarding where you can buy these parts in Dhaka, Bangladesh and build initial circuit and program simple function in to the micro-controller and and run it.

This post is some kind of running HELLO WORLD application from shopping robotics parts in Bangladesh to blink a led using those parts.


Basic Tutorial:

Place to Buy Parts:

Basic Parts to Buy:

Basic Software to Use:


Thank you for reading this post.

Game Engine Development :

Working on game engine development …

Goal : to develop some game engine to be familiar with the different part of AI and magic or Object oriented programming.

Source code will be available to download.

My first developed AI engine for Mancala board game.

Source Download link:

VmWare Death : “This virtual machine appears to be in use”

Go to the Vmware folder and Delete all *.lck files … and enjoy



Design Pattern Series 2 : Decorator Pattern

Decorator Pattern:

  • Closed for Modification, Open for Extension.
  • Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.


Design Pattern Series 1 : Strategy Pattern

Strategy Pattern:

  • Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
  • All the algorithm will be independently and will share a common Base class.
  • There will be a “has-a” relationship between the implementing and algorithm base class.
  • There will be a Strategy set method or Custom constructor to set the strategy algorithm that will be used by the implementing class.