What is the correct Device Definition for Google Glass (for a simulator in Eclipse or Android studio)? -
yes test on actual device (when arrives) nice know now:
how setup device definition can run emulator glass.
critical are:
size: size glass "report" as: small, normal, large, xlarge
screen ratio: notlong or long?
density bucket: xxhdpi? or what?
other: setting dpad input @ or come close nav on glass? other tips?
note: yes know mirror api playground, i'm developing apks not mirror-api.
displaymetrics gives output on glass explorer edition:
displaymetrics{density=1.5, width=640, height=360, scaleddensity=1.5, xdpi=180.62222, ydpi=169.33333}
so indeed hdpi.
also screen size small:
.... else if ((getresources().getconfiguration().screenlayout & configuration.screenlayout_size_mask) == configuration.screenlayout_size_small) { log.d(tag,"small screen"); }
and "notlong"
Comments
Post a Comment