Opened 12 years ago

Closed 11 years ago

#4336 closed enhancement (wontfix)

iPhone support for MythWeb

Reported by: jmorganson Owned by: Rob Smith
Priority: minor Milestone: 0.22
Component: mythweb Version: head
Severity: medium Keywords: Apple iPhone
Cc: Ticket locked: no

Description

Add support to MythWeb for Apple's iPhone.

Attachments (5)

mobile.diff (597 bytes) - added by jmorganson 12 years ago.
Simply adds the iPhone to the list of recognized mobile user agents
skin.diff (706 bytes) - added by jmorganson 12 years ago.
This changes the skin handling for mobile agents, it sets the template and skin to the name of the user agent.
mobile.2.diff (3.9 KB) - added by jmorganson 12 years ago.
This is a more extensive modification of the file, it adds the background for the getMobileUserAgent function
remote_init.diff (578 bytes) - added by anonymous 12 years ago.
Removes requirement on the frontend remote to only use the default template, is there a reason for this?
mythweb-iphone.diff (4.4 KB) - added by mrandtx@… 11 years ago.
Updated patch to trunk

Download all attachments as: .zip

Change History (24)

Changed 12 years ago by jmorganson

Attachment: mobile.diff added

Simply adds the iPhone to the list of recognized mobile user agents

comment:1 Changed 12 years ago by skd5aner@…

Isn't the concept that safari on the iPhone is designed to render pages as a full blown browser and mobile pages aren't necessarily needed/desired?

Changed 12 years ago by jmorganson

Attachment: skin.diff added

This changes the skin handling for mobile agents, it sets the template and skin to the name of the user agent.

Changed 12 years ago by jmorganson

Attachment: mobile.2.diff added

This is a more extensive modification of the file, it adds the background for the getMobileUserAgent function

Changed 12 years ago by anonymous

Attachment: remote_init.diff added

Removes requirement on the frontend remote to only use the default template, is there a reason for this?

comment:2 in reply to:  1 Changed 12 years ago by bdolman

Replying to skd5aner@gmail.com:

Isn't the concept that safari on the iPhone is designed to render pages as a full blown browser and mobile pages aren't necessarily needed/desired?

Although it is true that the iPhone is capable of displaying regular, non-optimised web pages, it is not true that they are the best solution in all cases. The current MythWeb, for example, is not very usable in its current form on the iPhone mostly because it assumes a) a large viewing area, b) it uses relatively small font sizes and c) the links and buttons are difficult to hit on the iphone (partiularly when the the screen is zoomed out). This interface could be dramatically improved by optimizing the interface for the iPhone.

comment:3 Changed 12 years ago by bdolman

I would recommend using iUi for the UI elements as it seems straightforward, is open-source, and uses the BSD license - which I think should be compatible with MythTV's requirements. I was about to take this on myself before finding this entry in Trak.

comment:4 Changed 12 years ago by paulh

Component: mythtvmythweb
Owner: changed from Isaac Richards to xris

comment:5 Changed 12 years ago by danielk

Version: unknownhead

comment:6 Changed 12 years ago by Rob Smith

Care to update the patches to head? We removed the WML skins, so no need to support that anymore.

Also we have the remove locked to the default template because there's no lite template written for it.

comment:7 Changed 12 years ago by xris

Status: newinfoneeded_new

comment:8 Changed 12 years ago by Rob Smith

Milestone: unknown0.22
Status: infoneeded_newnew

comment:9 Changed 11 years ago by Rob Smith

Status: newinfoneeded_new

Changed 11 years ago by mrandtx@…

Attachment: mythweb-iphone.diff added

Updated patch to trunk

comment:10 Changed 11 years ago by Rob Smith

Status: infoneeded_newnew

comment:11 Changed 11 years ago by Dibblah

Status: newassigned

comment:12 Changed 11 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: assignedaccepted

comment:13 Changed 11 years ago by Rob Smith

Status: acceptedinfoneeded

Aye you still interested with this given -trunk's current ipod/iphone template and skin?

comment:14 Changed 11 years ago by wesw02

Any change you could add "Android" also? (I know this should be another feature request, but it's has all of the same specs). Here is the required addition to the $mobiles array:

'Android' => array('width' => 320, 'height' => 480)

Thanks

comment:15 Changed 11 years ago by RyeBrye@…

I would like the android support too - but as an aside... Android doesn't specify a screen size does it? the G1 is 320 x 480 - but other android phones certainly wont be.

comment:16 Changed 11 years ago by Rob Smith

wesw02, you do realize that adding that forces mythweb to go to WAP mode for the device? I thought the Android had a full browser?

comment:17 in reply to:  16 Changed 11 years ago by anonymous

Replying to kormoc:

wesw02, you do realize that adding that forces mythweb to go to WAP mode for the device? I thought the Android had a full browser?

I'm guessing it is a similiar reasoning to the question asked in comment 2 and answered in comment 6 on this ticket.

comment:18 in reply to:  16 Changed 11 years ago by wesw02

Replying to kormoc:

wesw02, you do realize that adding that forces mythweb to go to WAP mode for the device? I thought the Android had a full browser?

Perhaps this would be better left out. I suppose if the user perfers WAP they can change it for them selves.

(Yes, the android does have a full browser)

comment:19 Changed 11 years ago by Rob Smith

Resolution: wontfix
Status: infoneededclosed
Note: See TracTickets for help on using tickets.