Pages Navigation Menu

Coding is much easier than you think

How to configure the Android emulator to simulate the Galaxy Nexus?

Posted by on May 4, 2013 in Android | 0 comments

 
What settings for the Android emulator will closely simulate the characteristics of the Galaxy Nexus as possible?

Solution:

You can very well go through the procedures available below to simulate the characteristics of NEXUS,
 

  • Target: Google APIs – API Level 15
  • Skin: Built-in WXGA720

 

Selecting skin sets the following hardware parameters, leave them as-is:

  • Hardware Back/Home: no
  • Abstracted LCD density: 320
  • Keyboard lid support: no
  • Max VM application heap size: 48
  • Device ram size: 1024

 

Galaxy Nexus has no SD card, just internal memory. Distinction between internal and external storage is important and can affect apps. To simulate this:

  • add SD Card support=no parameter;
  • launch emulator with –partition-size 1024 for 1GB internal memory, or use some other means to increase amount of internal memory available;

 

If you’re working on camera apps, you’ll also want to set correct number of cameras, and correct resolution.

galaxy nexus

 

Read More

How do I run an Android emulator automatically from Eclipse?

Posted by on Apr 14, 2013 in Android | 0 comments

 

You might want to know how to run an Android emulator automatically from Eclipse. Here is what you need to do.

Once you have installed ADT, you need to define an ADT launch configuration, in order for your project to execute itself as an Android executable.
 
** UPDATE: Android Complete tutorial now available here.
 

run configurations2

Then, in Eclipse go to Window –>Preferences  –> Run/Debug tab –> Launching.

In the €œLaunch Operation subsection, select €œAlways launch the previously launched application€ as shown below.

preferences_2

 

That is all!!!

Read More