pixelScale?
Monte Goulding
monte at sweattechnologies.com
Fri Sep 28 21:31:55 EDT 2012
Google assumes we are all working in java where the density is abstracted into 4 common plus a couple of less common density groups. LiveCode doesn't do that abstraction for us so we get the actual pixels on screen.
The DisplayMetrics class has a density property which gives you the abstracted density that a java dev might want. However it also has xdpi and ydpi if you need it (which we do).
http://developer.android.com/reference/android/util/DisplayMetrics.html
Cheers
--
M E R Goulding
Software development services
mergExt - There's an external for that!
On 29/09/2012, at 11:24 AM, Scott Rossi <scott at tactilemedia.com> wrote:
> Wow, Monte, I haven't heard of this before, and I don't believe Google
> makes any mention of this in their resolution development notes. Do you
> have any links/pointers to devices that have this kind of display?
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
>
>
> On 9/28/12 6:11 PM, "Monte Goulding" <monte at sweattechnologies.com> wrote:
>
>> It's slightly more complicated because for some reason android devices
>> might have a different dpi in width and height. So we need xdpi and ydpi.
>> Or maybe given its unlikely to be all that critical the. Maybe an average
>> of the two.
>>
>> Cheers
>>
>> --
>> M E R Goulding
>> Software development services
>>
>> mergExt - There's an external for that!
>>
>> On 29/09/2012, at 10:38 AM, Scott Rossi <scott at tactilemedia.com> wrote:
>>
>>> If it hasn't been added yet, hopefully RunRev knows an equivalent of
>>> "iphoneDeviceScale()" is critical for Android development.
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list