Tag : android

Whatsapp in mac [session 2]

after we fail in first experience about installing whatsapp in mac. now we try to install again, but in different technique.

maybe this technique, need a little experience in developer.
oke lets start.

first, please download Sun Java for Mac.

then we install Android SDK, you can download Android SDK in here. Andoid SDK only need to be extract. example we can extract in /Users/rahadianbisma/Document/android/android-sdk-macosx

After Android SDK was Extract, we need to download image android platform.

start in this point we need to little experience and skill a developer, but its easy don’t worry.

open yout terminal or console. and then type the following command

{code type=shell}$cd /Users/rahadianbisma/Documents/android/android-sdk-macosx/

$tools/android

{/code}

ok, now we only have to tick about android version would we want

AndroidSDK

and click install button

after image Android was installed, we need to build a emulator for Android Applications. so lets open terminal or console again.

lets check, kind of emulator what we have in your image android. type this command to your console

{code type=shell}

$tools/android list targets

{/code}

djiebrats-mac:android-sdk-macosx rahadianbisma$ tools/android list targets
Available Android targets:
----------
id: 1 or "android-15"
     Name: Android 4.0.3
     Type: Platform
     API level: 15
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800
     ABIs : armeabi-v7a, mips
----------
id: 2 or "Google Inc.:Google APIs:15"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 2
     Description: Android + Google APIs
     Based on Android 4.0.3 (API level 15)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, WVGA800 (default), QVGA, WXGA800
     ABIs : armeabi-v7a
----------
id: 3 or "android-16"
     Name: Android 4.1.2
     Type: Platform
     API level: 16
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
     ABIs : armeabi-v7a, mips, x86
----------
id: 4 or "Google Inc.:Google APIs:16"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 3
     Description: Android + Google APIs
     Based on Android 4.1.2 (API level 16)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, WVGA800 (default), QVGA, WXGA800
     ABIs : armeabi-v7a

shown above is the engine emulator that we can use

now, we can build AVD(Android Virtual Device).

{code type=shell}tools/android create avd -n whatsapp2 -t 1 -p /Users/rahadianbisma/Documents/android/android-sdk-macosx/whatsapp2 -b armeabi-v7a{/code}

*The ABI to use for the AVD. The default is to auto-select the

ABI if the platform has only one ABI for its system images.

ABI is a processor what will we use in my emulator #CMIIW

djiebrats-mac:android-sdk-macosx rahadianbisma$ tools/android create avd -n whatsapp2 -t 1 -p /Users/rahadianbisma/Documents/android/android-sdk-macosx/whatsapp2 -b armeabi-v7a
Android 4.0.3 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD 'whatsapp2' based on Android 4.0.3, ARM (armeabi-v7a) processor,
with the following hardware config:
hw.lcd.density=240
vm.heapSize=48
hw.ramSize=512

we have success to build an emulator now let’s test a emulator with command

{code type=shell}
$tools/emulator -avd whatsapp2
{/code}

Screen Shot 2012-12-31 at 8.48.14 AM

..to be continue..