Search code examples
androidwear-osandroid-wear-data-api

How to get dimensions of a connected Android Wear device for making bitmaps smaller?


I would like to resize large images for connected Android Wear device. I don't want to transmit large images over Bluetooth. Is there some generic way? I don't want to hardcode screen size for a specific device.


Solution

  • The documentation states, that the background images should be 640x400px if you want parallax effect or 400x400px if you don't want it.