Friday 29 August 2014

Run Android apps on your Windows PC

Clash of Clans, running in BlueStacks on a Windows PC

 After a bit of a slow start, Android’s application ecosystem has proven to be versatile and very developer-friendly. You are free to develop an app for Android and publish it to the Play Store with minimal restrictions. This has led to a plethora of really cool Android apps, some of which aren’t available on iOS or other platforms. Running Android apps usually requires an Android smartphone or tablet — obviously! — but what if you currently use iOS or another mobile OS, and want to try out Android without actually getting an Android device?

 Well, fortunately, with a little leg work, you can run Android apps on a regular old Windows PC. There are a few different ways to go about it, each with their own strengths and weaknesses.

Android Emulator 


The Android emulator

The most “basic” way to get Android apps running on a PC is to go through the Android emulator released by Google as part of the official SDK. The emulator can be used to create virtual devices running any version of Android you want with different resolutions and hardware configurations. The first downside of this process is the somewhat complicated setup process.

You’ll need to grab the SDK package from Google’s site and use the included SDK Manager program to download the platforms you want — probably whatever the most recent version of Android happens to be at the time (4.4 at the time of publishing). The AVD manager is where you can create and manage your virtual devices. Google makes some pre-configured options available in the menu for Nexus devices, but you can set the parameters manually too. Once you’ve booted your virtual device, you’ll need to get apps installed, but the emulator is the bone stock open source version of Android — no Google apps included.

Since there’s no Play Store, you’ll need to do some file management. Take the APK you want to install (be it Google’s app package or something else) and drop the file into the tools folder in your SDK directory. Then use the command prompt while your AVD is running to enter (in that directory) adb install filename.apk. The app should be added to the app list of your virtual device.

The big upside here is that the emulator is unmodified Android right from the source. The way apps render in the emulator will be the same as they render on devices. It’s great for testing app builds before loading them onto test devices. The biggest problem is that the emulator is sluggish and lacks the hardware access to make games run acceptably.

androidx86   


Android PC ports

If you don’t mind a little extra work, you can have a more fluid Android app experience by installing a modified version of the OS on your PC. There are a few ports of Android that will run on desktop PCs, but support is somewhat limited because of the extensive hardware configuration options for PCs. The two leading choices for a full Android installation on PC are Android on Intel Architecture (UEFI-equipped devices) and the Android-x86 Project (pictured above).

 Neither one is in a perfect state, and you’ll need a supported piece of hardware, like the Dell XPS 12 for Intel’s version or the Lenovo ThinkPad x61 Tablet for Android-x86. You could install them over top of Windows, but that’s not the best idea. The smarter way would be to create a separate hard drive partition and install Android there.

 If your hardware isn’t supported by either of these projects, you can also try installing them in VirtualBox, which should be a little faster than the official Android emulator. It probably still won’t be good enough for games, but most apps should install and run correctly. Also note, you’ll have to install the apps you want manually as there’s no Google Play integration here either.



BlueStacks App Player

If you’re looking to get some apps and games up and running on your computer with the minimum of effort, BlueStacks is your friend. The BlueStacks App Player presents itself as just a way to get apps running, but it actually runs a full (heavily modified) version of Android behind the scenes. Not only that, but it has the Play Store built-in so you have instant access to all of your purchased content. It actually adds an entry to your Google Play device list, masquerading as a Galaxy Note II

The BlueStacks client will load up in a desktop window with different app categories like games, social, and so on. Clicking on an app or searching does something unexpected — it brings up the full Play Store client as rendered on tablets. You can actually navigate around in this interface just as you would on a real Android device, which makes it clear there’s a lot more to BlueStacks than the “App Player” front end. In fact, you can install a third-party launcher like Nova or Apex from the Play Store and set it as the default. The main screen in BlueStacks with the app categories is just a custom homescreen, so replacing it makes BlueStacks feel almost like a regular Android device.

Bluestacks 
BlueStacks App Player, in the Play Store 

Having full Play Store access means you won’t be messing around with sideloading apps, and BlueStacks manages to run everything impressively. Most games are playable, but keep in mind you’ll have trouble operating many of them with a mouse. If your PC has a touchscreen, you can still use apps and games that rely on more than one touch input. BlueStacks can essentially make a Windows 8 tablet PC into a part-time Android tablet. BlueStacks calls the technology that makes this possible “LayerCake” because Android apps run in a layer on top of Windows.

The only real issue with BlueStacks is that it’s not running a standard Android build. All the alterations the company made to get apps working on a PC can cause issues — some apps simply fail to run or crash unexpectedly. This customized environment is also of little value as a development tool because there’s no guarantee things will render the same on BlueStacks as they might on a real Android device without all the back end modifications. It’s also a freemium service with a $2 pro subscription, or you can install a few sponsored apps.


So what’s the best way?

If you’re interested in getting apps running on your PC so you can actually use and enjoy them, BlueStacks App Player is the best solution. It’s fast, has Play Store access, and works on multitouch Windows devices.
If you need to test something with the intention of putting it on other Android devices, the emulator is still the best way to give builds a quick once-over on a PC before loading them on to Android phones or tablets. It’s slow but standardized, and you’ll be able to see how things will work on the real deal. The Android PC ports are definitely fun to play with, and performance is solid when you get apps running, but they can be finicky. If you just want to play Clash of Clans on your Windows machine, get BlueStacks.
Extremetech
   




No comments:

Post a Comment