Detect Mobile Environment

Use this board to ask questions or have discussions with other Rich Displays users.
Antonio
Profound User
Posts: 82
Joined: Fri Jun 29, 2012 2:33 pm
First Name: Antonio
Last Name: Ruballos
Company Name: Profound Logic
Contact:

Re: Detect Mobile Environment

Post 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!
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Detect Mobile Environment

Post by emhill »

Still no go after clearing the cache. Thanks for the suggestion and let me know if you come across anything.

Thanks!!!!!
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Detect Mobile Environment

Post 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!!!!!
Antonio
Profound User
Posts: 82
Joined: Fri Jun 29, 2012 2:33 pm
First Name: Antonio
Last Name: Ruballos
Company Name: Profound Logic
Contact:

Re: Detect Mobile Environment

Post 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?
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Detect Mobile Environment

Post 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!!!!!!
Attachments
IC0357FM DDS.txt
(78.1 KiB) Downloaded 313 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests