Question: (Related to, but not the same as [this](https://superuser.com/questions/139268/is-there-a-way-to-download-Android-apps-to-my-PC)).

I used to be an Android user but switched to an iPhone. There are a few apps that I would like to continue to use, but the idea of carrying around a second phone with me, or even having to charge one, isn't that appealing. They're free apps so piracy is not a concern here, and I've legitimately downloaded the APKs from the Market. Is it possible to sideload the APKs back to my computer and run them in the Android emulator?

Answer: 
You can also install [android-x86](http://www.android-x86.org/download) in a virtual machine (virtual box...) on your pc, copy your APK from your desktop to this VM and install it.
You can use adb in system environments. Right click "My Computer" select "Properties". Select "Advanced system settings" from left side menu. Then under "System variables" find "Path" then click "Edit...". Then in "Variable value" go to the very end of the line, the very end. And add ";C:\" plus the path where you have adb located on your system. Then click "OK".

If you would like to just make a simple environment variable for Java64 then either look for "JAVA\_HOME" and add the Java64 path. Or click "New..." then under "Variable name" add "JAVA\_HOME". Then in "Variable value" add the path of your Java64. ie "C:\Program Files\Java\jre7"

Now find the 1Mobile Market .apk online. Then in terminal type "adb install" then the path where you have 1Mobile Market .apk. Once this is installed you can do all future installs through "1Mobile Market". I suggest also picking up "Appbrain". And also installing it through "adb install" then path to appbrain.apk. From now on you will be able to install all programs from emulator. No more using "adb install" besides a few random times. Where it may be needed. As well as "Appbrain" will always make sure you have the recent one installed.

Few other suggestions if you have a intel with virtualization. Enable that for your emulation. As well as if you can manage more RAM etc etc. Now don't go amping things up and think its cool. Test the example environment first with your system. Then work up from there. If it slows down, revert to the state you had it previously. The below example on a slow system takes no more than 2 minutes to start. On a much slower system possibly 5 or so minutes. It will be one of the fastest to have installed. You can also consider getting "RAM Booster" from the "1Mobile Market".

Now open up terminal once you get

**-- ADDED INFO --**

If you want a environment thats quick on slower machines. Many try to install the newer Androids and do not realize on slow machines, this will not work well. An example is to do the following :

*mind you some things here you do not have to do*

Device : Nexus S (4.0", 480 x 800: hdpi)

Target : Google APIs - API Level 8 (Android 2.2)

CPU/ABI : ARM

Keyboard/Skin : [check both]

Memory : 768

VM Heap : 32

SD Card : 200

Emulation Options [check Host GPU]