Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a Wear AVD

I've several comments in my android wear applications which says that my app doesn't look good on two devices:

ZenWatch and Sony SmartWatch3. I've gathered DPI and resolution of both: ZenWatch - 320x320 round 278dpi 1.63 inches SmartWatch3 - 320x320 square 283dpi 1.6 inches.

Now, I'm trying to run the APP further than the basic emulator. However, there are just two configurations I can use: enter image description here

I've tried editing it's config files, with no luck. in config files I couldn't manage to find screen size. Just DPI and looks like any configuration changed, is ignored.

The following is all the configuration I've found interesting:

hw.lcd.density=240

No screen size, no resolution. Just lcd density, which for me looks like DPI, but now I'm not sure. So I cannot mimic any of the two above mentioned devices.

Any tips about this?

Edit 6 June 2015: I cannot run the device I configurated: enter image description here

As you can see, a yellow warning is shown, which says the following enter image description here

So I'm not able to run any device I created.

like image 914
Reinherd Avatar asked Jun 22 '15 19:06

Reinherd


2 Answers

Click Button of AVD Manager, then click Create Virtual Device..., then click New Hardware Profile, then you can in the new window customize settings of a hardware, like Device Name, Device Type, Screen(ScreenSize, Resolution), Memory, Input, Supported Device states, Camera and Sensors. enter image description here

After finishing these, you can select this Hardware Profile to create your AVD.

like image 160
SilentKnight Avatar answered Nov 17 '22 06:11

SilentKnight


If I understood you correctly, you need to click on the "New Hardware Profile" button on the buttom left corner and then you can change the size of the screen, it's resolution and more.

like image 24
Ido Naveh Avatar answered Nov 17 '22 07:11

Ido Naveh