Reputation: 5506
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:
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:
As you can see, a yellow warning is shown, which says the following
So I'm not able to run any device I created.
Upvotes: 9
Views: 581
Reputation: 5506
Just for the sake of answering some other users... What I've been actually facing, was that there's a different DPI used in an AsusZenwatch on 4.4W and 5.1.1... Weird but true. Be sure to test on both APIs
Upvotes: 0
Reputation: 14011
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.
After finishing these, you can select this Hardware Profile to create your AVD.
Upvotes: 1
Reputation: 2492
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.
Upvotes: 1