If you’re currently testing an Android application, wish to learn more about your android device’s processes, review its event log or simply grab a screenshot of it to illustrate a problem or share your great widget or even an Android-Newbie – Motorola’s MotoDev Studio is the best place to start with.
Why should you consider trying MotoDev Studio? Various reasons:
- It installs most (if not all) Motorola’s Android device drivers and SDKs- thus if you’re using several devices there’s no need to install new drivers.
- It runs all Android Virtual devices – you may use it to learn, test & debug your application
- It allows quick access to LogCat stream & Device’s File Explorer
- It provides a detailed overview of your Android Emulator/Device’s Processes, Heaps & Threads
- Grab a screenshot of your Android Emulator/Device’s screen with a snap!
- A Comprehensive Android development environment
- It offers advanced diagnostic tools which can be used to detect memory leaks and test your applications before distribution.
Now follow these 14 simple steps to Install & Master MotoDev Studio on your way to become an Android Guru:
- Browse to http://developer.motorola.com/docstools/motodevstudio/ – Review this page to learn a bit about this amazing tool
- Click the ‘Free Download’ banner on top
- Under the top ‘Full installer: Includes Eclipse Environment’ download the matching installer to your system.
- Run installer and follow the on-screen instructions
- After MotoDev is installed successfully, locate the following directory:
This folder will be found on different locations based on your operating system, E.g.
C:\Documents and Settings\<user>\workspace\.metadata\.plugins\org.eclipse.ui.workbench
- Copy the attached XML files to that directory and overwrite any existing files.
These files will set the environment workspace to the best configuration I created for ease of use and organized workbench.
Remark: Just rename the file below to rar and extract its content to the directory described above.
- Launch the MotoDev application:
- Get familiarize with the MotoDev Environment. Here’s an overview of the MotoDev Workbench – Make sure to review & learn it first. You can always review it later when needed.
- Adding your first Android Emulator – Right click on the Android Virtual Device section on the left – Select ‘New’.
- ‘Create a New Device’ screen will open – Give your new emulator a name and hit the ‘Next’ button.
- Populate the AVD Target and select the desired Android Emulator target – e.g. HVGA, QVGA, WQVGA, etc.
Also and most important Add a new SD Card storage – without this you won’t be able to launch and use your Android virtual device. There is an option to add this SD card storage afterwards, however this is not always working, therefore make it an habit to create it upon creating a new virtual device.
For this just select ‘New’ under SD Card, type 20 in empty field and change storage type to MB – thus 20MB will be more than enough, unless your tested application is rather big.
Now just hit the ‘Finish’ button to jump to the final screen.
- This is the final stage – here you can setup various User interface option, Add/Edit Disk Images, Netwrok, System & Others options. You can pass these options for now and just hit ‘Finish’ button again to finalize the process and successfully create your first Android Virtual Device.
- Your first Android Virtual Device is now available for use –Just locate it under the devices section on the left, right click it and select ‘Run’.
- This is an overview of the MotoDev Environment when an Android Emulator is up and running. Available sections & features:
- Devices Selection/Overview & File Explorer – Lists connected handset, remote devices & device emulators
- LogCat stream in Real-Time – Analyze & debug your device/application with ease.
- Android Processes, Heaps & Threads
- Console, Progress & Emulator view sections
- Android Emulator screen & keyboard
- Grab a screenshot from your attached virtual or real device with a snap.
Now that you’ve learnt about MotoDev Studio, take it for a test drive and get familiar with its diversity of features and how you can utilize it to leverage your Android development & testing.
On my next blog post I’m going to cover various recommended Android tools, as well as additional logging & debugging tools for other mobile platforms (e.g. BlackBerry, iPhone,etc.). Feel free to bookmark it and drop by often as well as rate my posts and leave your comments here so I could learn more about my readers and which topics most appeal to them.
Happy Debugging & a great Thanksgiving to you all!