Android Emulator - Increasing Performance Suggestions for MonoDroid - More Wally - Wallace B. McClure
in

MoreWally.com

Giving people what they want, More Wally. This is the technical and personal blog site of
Wallace B. (Wally) McClure.

This Blog

Syndication

News

Please goy buy 3-4 copies of my book on MonoTouch titled "Professional Android Programming with Mono for Android for .NET/C# Developers." They make great gifts all year round. Plus, I get about $.25 when you buy a copy.

Technical Sites

More Wally - Wallace B. McClure

This blog will have all kinds of posts about Wally McClure. In it, there will be tons of .NET and computer programming posts as well as Wally's views on life in general. As you might guess, this site and blog help you get More Wally in your life. What more could anyone want? iPhone, Android, MonoTouch, MonoDroid, Mobile, HTML5, .NET, ADO.NET, ASP.NET, AJAX, jQuery, jQuery Mobile, ASP.NET AJAX, and Windows Azure............follow me on twitter at Wally

Android Emulator - Increasing Performance Suggestions for MonoDroid

Like everyone else in the world, I've been asking myself how I can increase the performance of the Android emulator.  Dear god, the emulator is a poor performer.  I mean bad, as in really bad.  I was at AnDevCon this week.  While there, I met Eric Cloninger and Mike Wolfson.  Both had a couple of suggestions for increasing performance and fixing the little annoying issues.  If you want to fix this with MonoDroid, then here's the command that I issued to start the emulator:

emulator @AvdName -no-boot-anim -partition-size 512 -scale .75

  • The @AvdName param is the name of the Avd that you want to start.
  • -no-boot-anim tells the emulator not to not show the cool wavy (annoying?) Android emulator graphic.  This turns startup on my system from about a minute to a few seconds.
  • -partition-size 512 sets the partition size.  This is needed by MonoDroid.
  • -scale .75 sets the scaling of the emulator image.It supports numbers between .1 and 3.  Setting this to a value of less than 1 means that there are fewer pixels to move around in memory.  More than 1 means that there are more pixels to move around in memory.

Finally, while not an emulator option on startup, I find that the emulator starts up without network connectivity a number of times.  To toggle network connectivity, use the f8 key.  It does seem to turn on properly.

Having done this, your MonoDroid app will see the running instance and will allow you to connect to it, just like you had started it inside of Visual Studio (or MonoDevelop).

Comments

 

Android Emulator – Increasing Performance Suggestions for MonoDroid | Object Oriented Programing said:

Pingback from  Android Emulator – Increasing Performance Suggestions for MonoDroid | Object Oriented Programing

April 23, 2011 10:27 PM
 

Android Emulator – Increasing Performance Suggestions for MonoDroid | Object Oriented Programing said:

Pingback from  Android Emulator – Increasing Performance Suggestions for MonoDroid | Object Oriented Programing

April 23, 2011 10:27 PM
2006 - Wallace B. McClure
Powered by Community Server (Non-Commercial Edition), by Telligent Systems