I'm wondering if anyone has any insights on fixing this problem.
-- OR --
Is there a way to prevent the PhoneGap app from running on specific devices or versions of Android. You know, "Sorry, this device does not meet the requirements for this app" type thing.
Thanks,
Cameron
I think I've seen similar issues in the past, but not recently. Are you
using a Sencha layout & form?
One of their devs at some point mentioned HTC to be the most webapp
unfriendly Android phones available, as HTC did a lot of customization to
that code. In the beginning it was so bad that even the Kitchen Sink would
totally lock up on my HTC Desire. It has improved a lot in 1.0+ though.
> Is there a way to prevent the PhoneGap app from running on specific
> devices or versions of Android.
I'm not sure about the granularity of this approach. You can filter by
Android _version_. But in my experience there can be a Galaxy S running
Android 2.1 which runs fine, and another one with the same name and OS
version which is reporting bad screen resolution parameters, causing all
kinds of oddities. Steve J. is a crazy control freak. But it comes with
certain advantages.
--
Michael
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
Yes, that's true. But unfortunately Android 2.1/Vendor A != Android
2.1/Vendor B.
We have one particular case (Galaxy/Android 2.1/Sprint) which does report
its native resolution with a devicePixelRatio of 1.5. That's wrong, and
I've only seen this on this particular device. And it's causing all kinds
of layout issues. All other devices (Android 2.1/2.2/2.3) report the
native resolution divided by the devicePixelRatio. It'll be interesting to
get a handle on that phone. Don't know yet whether it's Android,
PhoneGap, Sencha or whatever else which is wrong there...
--
Michael
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
Heh... that's exactly the issue I'm seeing on that other phone. Did one of
them report native 800x480 with a ratio of 1.5? If so which one? Is the
HTC running 2.2?
--
Michael
> Yes, the HTC runs 2.2. One report 1 and the other 1.5. Sorry, i cant
> test which was which at the moment.
Would be great if you could tell me later. I should investigate a related
issue which we've only seen on a device by the US' Sprint operator. If the
ZTE was exposing the same issue I could get one for cheap over here
(Switzerland) to play with.
--
Michael
In case someone else is still having the problem, I find out that in my case the lineandroid:windowSoftInputMode="adjustNothing"
on my activity fixed all the problems I was having
The problem is due a misscalculation between where the element was when the page loaded and where it is now.