Page 1 of 1

Getting "max_image_width" in Android

Posted: Tue Oct 16, 2012 12:26 pm
by Xaver
Hello,

Is there a change to detect "max_image_width" and "max_image_height" in an Android-App?
The server of my client runs WURFL (PHP). Now he wants an Android-App wrapping Safari.
To get better result, the Android-App should tell the Server the "max_image_width".
E.g.: http://m.example.com/?mobile-width=<max_image_width>

Is there a change to detect "max_image_width" in an Android App?

Thanks a lot
Xaver

Re: Getting "max_image_width" in Android

Posted: Wed Oct 17, 2012 10:31 am
by kamermans
Being a strictly server-side device detection system, we cannot provide max_image_width from within an android app; anyway, that properly depends highly on the chrome around your webview, so it may not the same for stock Safari as it is for Safari wrapped in a webview.