Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Scaling Android Emulator Size: Without using Eclipse

DZone's Guide to

Scaling Android Emulator Size: Without using Eclipse

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

As you might have read following my previous post I'm currently experimenting with mobile web solutions. In such a case, having an Android emulator is quite comfortable for quickly testing your solution. Personally though, I hate the default emulator skin, mainly also because it takes up quite a large portion of your screen. Hence, I normally use a custom emulator skin. But there is the problem of the scaling the size properly as the default settings will most probably go out of your screen.

A couple of years ago I wrote a blog post on how to tune your Android emulator with a custom skin. In that post, I also described on how to scale it properly, by adding the -scale option to the command line arguments from within the Eclipse Run Configuration dialog.

However, if you're only interested in the emulator itself, you may start it by launching the AVD manager directly. In that case, the scale parameter can be directly set when launching your AVD:
Btw, should you have problems connecting to the Internet from your emulator, it might be due to the proxy settings of your (company) network. Have a look at this post then, it might help you.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:

Published at DZone with permission of Juri Strumpflohner, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}