Page 2 of 2

Re: Detect Mobile Environment

Posted: Mon Jan 14, 2013 7:32 pm
by Antonio
I am currently debugging your problem (I couldn't recreate your problem with your new display file), but I had a quick suggestion that you could try while I continue looking. I did not mention before to clear your mobile browser's cache; if you did not do this yourself, could you try doing this and reloading your application? It might be possible the browser is caching your old start.html file.

Let me know how that goes. Thanks!

Re: Detect Mobile Environment

Posted: Tue Jan 15, 2013 11:37 am
by emhill
Still no go after clearing the cache. Thanks for the suggestion and let me know if you come across anything.

Thanks!!!!!

Re: Detect Mobile Environment

Posted: Fri Jan 18, 2013 12:30 pm
by emhill
Antonio,

Any luck with this? Still showing full screen on my iPhone and not scaling down to 320x480. If it is any help, if I run that program on my regular PC it is not attempting to scale it down, either.

Thanks for all the help!!!!!

Re: Detect Mobile Environment

Posted: Mon Jan 28, 2013 10:03 pm
by Antonio
Hello,

Are you sure you changed all the values to percentages for each of the widgets?

I looked over the second display file you sent me and it still seems you had static values in place. I have provided a picture of one example that I changed into percentages.
Image
Image

All of those values were originally still defined in pixels.

Most of the items inside of your display were still defined in pixels. I changed them to percentages and they scaled correctly in my browser window and on a device.

Did you perhaps send me an older display file?

Re: Detect Mobile Environment

Posted: Tue Jan 29, 2013 10:39 am
by emhill
Antonio,

The format I changed to percentages was the SCR01A format. I created it just as a test and it will be the initial screen to display when entering the application. I just wanted to make sure I could get it working before I went any further with the percentages on the other formats. I think I may have changed it up a bit since I sent you the DDS so I have attached it again. Still doing the same thing, however.

Thanks!!!!!!