Wednesday, March 12, 2014


Googles next version of Android, 2.2 "Froyo", is obviously a huge step, and weve done what we can to explain whats so great about it. But enough reading, why not try it for yourself?


Nexus One owners are reporting early Froyo updates already, but chances are, you dont own a Nexus One. Any mobile OS with apps has an SDK—a developer kit—which gives devs the tools needed to create and test apps for the platform. And any good SDK comes with an emulator for the OS itself, so devs can test apps without actually installing them on a phone. Apples got one, but it only works on Macs. Microsofts got one, but it only works on PCs. Googles Android emulator, on the other hand, works on any platform, and its totally free. Heres how to load up Android Froyo on your desktop in just a few minutes.

How to Set Up the Emulator

First, youll need:

• The Android SDK (Windows, Mac)
• A reasonably powerful computer (netbooks will strain to emulate a smartphone)

Then:

1. Extract the Android SDK. You should see a collection of folders and files including names like Platforms, Add-ons and Tools



2. In the Tools folder, open an app or script called Android. This will start the SDK manager app.

3. In the manager app, click the Available Packages button in the left column. This should present you with single option for download. This is a repository; downloading it will do nothing but give you new download options, so go ahead and do that.




4. From the new download list, select and download the following four items (This will take a few minutes—youre downloading the actual OS here, as well as some extra tools):


5. Once the downloads are completed and installed, navigate back to the "Virtual Devices" section in the left column of the SDK manager. On the right side of the window, click New.

6. This is the windows where you can define the parameters of your imaginary, emulated Android phone. Aside from the mandatory Android 2.2 target setting, youll need to decide on a few settings. You can get by with a small virtual SD card, so feel free to set that at a few hundred megabytes. For the screen resolution, dont necessarily choose the highest setting (WVGA854)—its 854 pixels tall, which may be taller than your computers screen, if you have a MacBook or other smaller widescreen notebook.


7. Click Create AVD. Your computer might lock up for a second, and the app may become unresponsive for a bit longer than that, but dont worry—just let it do its thing.


8. Now, under Virtual Devices, youll have a simulated Android phone. Select your phone, and click Start. (Startup can take a little while. If its not done in two or three minutes, try again, or create a new virtual device.)


Aaaaand thats it: Youre in Android Froyo! Look around a little.
Uhh, Where Are the Apps?

Right, so what youre using now is barebones Android 2.2. This is the raw, open source core of the OS, recognizable as Android 2.2, but missing a lot of little pieces, including close-source apps like Google Maps. You wont be able to test out Flash, for example, but luckily, you can install all manner of other apps. Heres how, according to Google:
  • Download a development tool called Eclipse (you want the IDE for Java Developers at this link)
  • Install the Android Development Toolkit in Eclipse
  • Point the ADK to the directly where youre keeping your Android SDK files (the same place where you extracted the SDK earlier, unless you moved it)
  • Import and run Android apps. (Youll have to search the internet for Android apps you want to try. The file format is .apk, and many sites host them independently of the Android market.)
source

Related Posts by Categories

0 comments:

Post a Comment