Android Simulator untuk PC (test drive Android OS before you buy Android phone)

Saturday, August 28, 2010 by Rad Kreasi Inspire Infotech
Sebelum anda membeli handset idaman ber-OS kan Android,atau ingin mencoba aplikasi android tanpa harus diinstall di handset android, ada baiknya anda melakukan test drive terlebih dahulu untuk distro dari masing-masing handset target anda. Anda bisa menggunakan Andoid simulator yang bisa diunduh gratis tanpa biaya, berikut langkah-langkah yang sudah saya coba dan berhasil menjajal Virtual Milestone dengan OS Android 2.2 a.k.a FroYo (Frozen Yoghurt)

Untuk bisa menjalankan simulator, anda membutuhkan :
  • PC dengan OS Windows / Mac OS X (intel) / linux (i386).
  • Android Software Development Kit (SDK).
untuk menjalankan simulasi saja, anda sebenarnya tidak memerlukan Eclipse (Helios) atau Eclipse Plug-in untuk Android Development Tools (ADT).

anda hanya membutuhkan beberapa tools berikut, pertama Android SDK, bisa diunduh di :
http://code.google.com/android/download.html

ikuti petunjuknya yang di jelaskan di topik "installing Android SDK" dari manual yg disediakan Google yang ada di halaman :http://code.google.com/android/intro/installing.html#installingsdk

untuk mempermudah, saya copas di sini :

-=-=-=-=-=-=-=- Extracted from Google manual -=-=-=-=-=-=-=-

Installing the SDK

After downloading the SDK, unpack the .zip archive to a suitable location on your machine. For the rest of this document, we will refer to the directory where you installed the SDK as $SDK_ROOT.

Optionally, you can add $SDK_ROOT/tools to your path:

  • On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to your $SDK_ROOT/tools to it. If you don't see a line setting the path, you can add one:
    export PATH=${PATH}:
  • On a Mac, look in your home directory for .bash_profile and proceed as for Linux. You can create the .bash_profile, if you haven't already set one up on your machine.
  • On Windows, right click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path under System Variables, and add the full path to the tools/ directory under $SDK_ROOT to it.

Adding $SDK_ROOT/tools to your path lets you run Android Debug Bridge (adb) and the other command line tools without needing to supply the full path to the tools directory. Note that, if you update your SDK, you should remember to update your PATH settings to point to the new location, if different.

-=-=-=-=-=-=-=- Extracted from Google manual -=-=-=-=-=-=-=-

Sekarang navigasi ke direktori $ SDK_ROOT / tools dan jalankan file 'emulator.exe'. Ini adalah emulator Android itu sendiri. Tunggu beberapa menit sampai loading selesai. Sekarang Anda harusnya sudah melihat layar Home Android - wallpaper dengan pegunungan bersalju di latar belakang dan panel navigasi di bawahnya.



Sukses? Ok! Mari kita lanjutkan. Download dan simpan file-lokal APK yang anda ingin install / evaluasi pada emulator. Kami menyarankan untuk menyimpan file APK langsung dalam direktory $ SDK_ROOT / tools.

Catatan: APK mungkin singkatan dari "Android Package". Ini adalah unit distribusi aplikasi di environment Android. Jika anda pernah menggunakan Windows Mobile, APK pada seperti file CAB.

Ok, sekarang mulai konsol ("Start -> Run ... - ketik> 'cmd'" untuk komputer Windows). ketik perintah berikut: adb menginstal $ APK dimana $ APK adalah nama dari file APK. Sebagai contoh: adb install Snake.apk

Jika Anda menerima pesan error "path not found", maka Anda mungkin tidak menambahkan path ke direktori $ SDK_ROOT / tools untuk pengaturan PATH Anda sistem atau aplikasi yang ingin Anda instal tidak dalam direktori $ SDK_ROOT / tools.

Jika semua berjalan tanpa kesalahan maka anda harus melihat APK Anda yang baru diinstal pada emulator.

Selamat menikmati Android dan mencoba APK di simulator sebelum diinstall di Android ;)

0 Response to "Android Simulator untuk PC (test drive Android OS before you buy Android phone)"