Solved

Virtual Android Device

Posted on 2011-09-27
12
337 Views
Last Modified: 2012-05-12
I'm testing a mobile web application on Android and need to setup a virtual device.  I've followed the instructions laid out on the developer.android...com.  But the device always ends up being very slow and unstable, constantly crashing.

What is the best way to setup a virtual android device?
0
Comment
Question by:Phil5780
12 Comments
 
LVL 4

Expert Comment

by:manishkungwani
Comment Utility
There is no other option. You need to have enough free RAM and a good processor.
The only other option is that you connect a real device and debug the application on it, works the same way and gives you a better view of the real usage.
0
 
LVL 12

Expert Comment

by:snailcat
Comment Utility
The other option is to run Android on your PC using a bootup off a removable USB flash drive.

 http://www.dailytut.com/mobile-phone/how-to-install-android-os-on-pc-laptop.html
0
 
LVL 4

Expert Comment

by:manishkungwani
Comment Utility
But if you need to test it, and if you need to debug the app, it will not be possible as a VM or a native machine.
0
 

Author Comment

by:Phil5780
Comment Utility
So your telling me that the Android platform has no 'actual' fully functional emulator?  How am I supposed to run complex loading tests which utilize 20+ users?  Does Android envision a PC with 20 USB's wagging below it?

As a platform, NOT having a VM relegates their app development to buggy, featureless apps.  Unless a fully functional and reliable VM is created, the app quality will never match Apple's devs.
0
 
LVL 4

Expert Comment

by:manishkungwani
Comment Utility
The emulator is fully functional.
I guess you want to load test the server code, not the application code.

And what kind of tests do you want to run, what scenario is it, where a phone/tablet will be "load-tested" ...
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Phil5780
Comment Utility
I'm seeking a method of running complex actions with groups of simultaneous Android mobile web devices.  These tests run via Selenium and will simulate actual users.  This is the only way to guarantee that UI and functionality are correct.
0
 
LVL 4

Accepted Solution

by:
manishkungwani earned 500 total points
Comment Utility
hm.. then i am afraid, that there is no other option and you will have to deal with the emulator.
And to do the testing, you will have to deploy multiple machines with emulators.

And to suggest something, to be effective, you need to do the testing with real devices rather than emulators. Also, the best way to do this would be roll out a beta or alpha prototype and see the feedback.
0
 
LVL 1

Expert Comment

by:AlanJayWeiner
Comment Utility
This was posted yesterday.   I haven't tried it yet, but worth looking at.

"How to speed up the Android Emulator by up to 400%"
http://blogs.nuxeo.com/dev/2011/10/speeding-up-the-android-emulator.html

Basically, it uses an x86 port of Android running in VIrtualBox.  It runs faster because it can run the x86 parts natively, while the Android SDK Emulator is emulating an ARM processor.
0
 
LVL 4

Expert Comment

by:manishkungwani
Comment Utility
To summarize I would say that run multiple instances of the emulator on one or multiple machines.
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
A short article about a problem I had getting the GPS LocationListener working.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now