Archive for the ‘Android’ Category

If you have a presentation about your Android App it will be funny if your demo is on your little device screen and everyone can’t see your app from afar. Okay, i found this Android Screencast, what will display your device screen to your computer screen. This tool is quite handy, it works on my Samsung Galaxy SL I9003 (running Froyo) and my Windows 7 x64.

The main flaw of this app is the frame rate since it is very slow, maybe about 4-5 fps. Not very good if your Andoid has flashy animations. The color display isn’t very good too, maybe because this app is reducing the resolution display.

Despite its limitations, this app is one of the best that i can found in internet.

Here are steps to run this app:

  1. Download this app from here :
  2. Download Android sdk. Place android-sdk-windows folder on root of your C:\
    …and install JRE(JDK) 6
  3. Plug your device using USB Cable, make sure you’ve installed your device’s driver.
  4. Open cmd and type: javaws androidscreencast.jnlp
    since it’s not an exe file but the advantage is you can run this app from Linux or Mac.

 Other similar app, is AShot, but i don’t know why it isn’t working on my 64 bit OS.


Everybody knows android emulator works very slow even on my 2.1 GHz Core2 Duo laptop it can’t be helped. So i thought it’s better to debug using real device:

1. First of course, you need to install your android device on your computer. Then connect your android device to PC using usb cable (it’s possible to connect via wireless too).

2. On your android device, Go to Settings –> Applications –> Development –> check USB Debugging

3. that’s all, just two simple steps and let adb do the rest.

4. I’m using netbeans 7.0, here’s the screenshot, my device was on the list:

Here are simple steps to run Android on PC, of course it uses virtual machine, like virtual box.

Okay, the first step of course download Android x86 ISO

Then, download and install Virtual Box mine is using Windows 7 x64 but Virtual Box x86 version runs perfect.

Then run Virtual Box

Create New Virtual Machine, Operating System is Linux and Version is Other Linux

Set the Memory to 512 MB


By using WiFi, your android device can connect to internet but  normally it will be useless if the network is using proxy authentication. Anfroid Froyo 2.2 has option for proxy configuration (such as proxy address and port number) but it has no option for proxy username and password.

The trick is using TransProxy (abbreviation of Transparent Proxy). Before using this app you need to root your android device. I’ve tested some apps for examples Facebook, Market, Google YouTube, Google Sky Map, and they can connect easily through proxy with authentication.

To download TransProxy, simply click HERE (need to register first at XDA Developer forum)

Android SDK Offline Installation

Posted: April 21, 2011 in Android

I think Android SDK Manager is quite awful, since it doesn’t have configuration for proxy authentication. But i found a simple way to download all the SDK components by using direct download link. The trick is on repository.xml which contains url paths to download all SDK components.

Look at every </sdk:url> tag and you’ll found filenames of each component, for example:

<sdk:archive os="linux" arch="any"><sdk:size>45476658</sdk:size><sdk:checksum type="sha1">c054d25c9b4c6251fa49c2f9c54336998679d3fe</sdk:checksum><sdk:url></sdk:url></sdk:archive>

So URL path to download is

One disadvantages by using this way is you’ll be confused the directory structure where each SDK components will be placed. So here’s the directory structure (plus the download link) :









SDK Readme.txt

SDK Manager.exe

In this article i want to share a simple way to use accelerometer on AIR SDK. Since we’re using AIR SDK, you can deploy your application in Anroid or IPhone. But the code that i want to share is actually intended to be deployed on Android (since i don’t have IPhone device) :p

First we need to import several libraries :

import flash.sensors.Accelerometer;

This is the MovieClip that will be moved by accelerometer

private var haro:HaroSymbol;

An variable of accelerometer

private var accel:Accelerometer;

Two variables that will store tilt factor in x an y axis

private var targetX:Number = 0;
private var targetY:Number = 0;


Developing Flash Application to run on smartphone such Android can be very interesting. My intention is to port my flash game into android platform and finally, after some configurations on my computer, i can create a simple flash application that runs in Android. Don’t expect much to my application, it  just displays images of android and air logo :)

Here’s the tools:

  1. AIR SDK
  2. Flex SDK
  3. Android SDK
  4. Flash Develop

Note: Thanks to Guave Studio Blog for creating Air Android AS3 template project :)

Android is a great mobile platform and it has a lot of cool applications. Common way to install new applications is through Android Market, but there’s a trick if you have .apk files and install it to your Android device.

Here’s the steps :

  1. Modify your Android’s settings to allow the installation of applications from other sources, go to Settings –> Applications –> check option for Unknown Sources
  2. Modify your Android’s settings to allow USB Debugging, go to Settings –> Applications –> Development –> check option for USB Debugging
  3. Download Android SDK
  4. Download Android SDK Tools (you can install it using Android SDK or using this offline package )
  5. Make sure you’ve installed your android driver on your computer or if your android is Nexus One or Nexus S download Google USB Driver
  6. Go to Android SDK Tools folder (for example mine on  C:\Users\azer\Downloads\Android\tools_r05-windows), make sure on that folder has executable program named adb.exe
  7. Open Command Prompt, and type CD <Your Android SDK Tools Path> (if you want to skip this step, you just have to add your android sdk tools folder path into Environtment Variable on your system)
  8. Connect your Android Device using USB Cable, the notification on the top toolbar on home screen should be “USB debugging connected”
  9. Type this on the command prompt: adb devices , your device should be listed
  10. Last step, type this on the command prompt: adb install <your .apk file path> , for example: adb install C:\Users\azer\Downloads\Android\Zenonia.

Note :

  • This tutorial is tested using Windows 7 x64, Android Froyo, and Samsung Galaxy SL I9003
  • If you want to support the developers, please buy the software :)