News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

iPhone4/iPodTouch4 - Orbiter, full resolution solution...

Started by jman7, May 07, 2011, 05:42:35 PM

Previous topic - Next topic

jman7

Hi all -
I've got an iPodTouch4 that's been running in the reduced-res mode (480x320).  I'm not sure if the full-res mode (960x480) has been implemented yet (seem to recall there still issues getting it working).

I've just made these changes below, and the full-res version is now running on my system, and it looks very nice.  (Very sharp/clear text).

In these files:
/var/www/lmce-admin/weborbiter/
        login.html
        weborbiter.html
        weborbiter_select.html

Change this line:
<meta name="viewport" content="width = device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />

To this:
<meta name="viewport" content="width = device-width, user-scalable=no, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5" />


I believe the iPhone4/iPodTouch4 do an automatic doubling of the scale, so setting the scale to 0.5, causes it to ultimately be 1.0 on the device.

This might not be the proper way to address fix this, but if you've only got iPhone4 orbiters, this is a quick way to get full-res to work.  :-)

Marie.O

A better idea would be to change the resolution in webadmin for your weborbiter device.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

totallymaxed

Quote from: jman7 on May 07, 2011, 05:42:35 PM
Hi all -
I've got an iPodTouch4 that's been running in the reduced-res mode (480x320).  I'm not sure if the full-res mode (960x480) has been implemented yet (seem to recall there still issues getting it working).

I've just made these changes below, and the full-res version is now running on my system, and it looks very nice.  (Very sharp/clear text).

In these files:
/var/www/lmce-admin/weborbiter/
        login.html
        weborbiter.html
        weborbiter_select.html

Change this line:
<meta name="viewport" content="width = device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />

To this:
<meta name="viewport" content="width = device-width, user-scalable=no, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5" />


I believe the iPhone4/iPodTouch4 do an automatic doubling of the scale, so setting the scale to 0.5, causes it to ultimately be 1.0 on the device.

This might not be the proper way to address fix this, but if you've only got iPhone4 orbiters, this is a quick way to get full-res to work.  :-)

I would suggest downloading the Dianemo iOS Orbiter 1.1 from the Apple App store - its a free download. Our iOS app will run at full resolution on all iOS devices. See the Wiki here for some additional info on the new 1.1 release; http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter

All the best


Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

pigdog