Premise iphone

  • Thread starter Thread starter chucklyons
  • Start date Start date
Motorola Premise
C

chucklyons

Guest
Soooooo

I have been using the iPhone for my SYS control, primarily while laying around the pool - however, the interface is somewhat lame as you have to do a lot of pinching and grabbing, which is a bit annoying...

So I decided to modify the xbrowser to make it iPhone friendly. I had a couple of things to change..

I created an iPhone.css with iPhone characteristics. I modified the RoomList TagEx and TagFolderEx so that I could have custom graphics for the iPhone and primary SYS. Simply added a second 'image', now called 'Image2'. Some changes are necessary in the g_xb code...

In the Function g_xbRenderHeaderEx() I had to add this bit of code (coming when Dan gets it fixed so I can actually upload the code!)...so now when I hit the xb interface from the iPhone, all of the graphics are scaled correctly for the size of the iPhone screen

I still have lots to do - landscape mode, and some other things...

I'll upload it once I figure out how to correct my hardcoding that 123 pointed out...I fixed the RSS bug, so thats out of the way.

Take a look at the pix....this is the first shot you get when you land on the page...formatted for the iPhone! WAF went off the chart!
 

Attachments

  • SYSiphone2.gif
    SYSiphone2.gif
    10.7 KB · Views: 1
  • SYSiphone.gif
    SYSiphone.gif
    10.9 KB · Views: 1
sadfrgthyjk is the name of the forum feature that prevents someone from posting something that the forum mysteriously had deemed as a security risk.
sadfrgthyjk is also the scream a Premise Forum user makes when their post has been blown away when hitting 'Post New Topic' :)
 
I have backed out most of the changes I had made, with the exception of the line in the xbRenderHeader function in the g_xb under xbrowser. Attached is the .txt file with the code. Unfortunately, the security (or something) causes the forum to flip me off, laugh, while it tosses my post into the ether....Due to my apparent inability, and lack of desire, to change my hardcode into something more open, I'll put up a clean (with my HC removed) iPhone.xdo sometime this week.

I still have somethings I'll do (or try), like a better way of navigating thru media....and some of those other cool things...

Dan -

X Upload failed. Please ask the administrator to check the settings and permissions

Foiled again!!!

So now the .txt of the function that bombed is contained in the attached zip...and I added some screenshots. The 1st is the xb in a normal browser. The second is a snap of it in the iPhone tester (I did check, it works fine in the real iPhone, as well)
 

Attachments

  • xbRenderHeader.zip
    xbRenderHeader.zip
    456 bytes · Views: 30
  • iphone.gif
    iphone.gif
    36.3 KB · Views: 47
  • xbrowser.jpg
    xbrowser.jpg
    29.9 KB · Views: 26
Just an update if anyone is interested (or cares) whther I am still making any progress....I'm kicking the iPhone CSS around...its looking good, still some things to think thru; Random Play for MP3s is working; working on adding a zone - hurting my head abit...and just about done with creating 'iPhone ClassImages'....

Its been going thru heavy WAF testing..and so far, thumbs up!
 
Almost done..a few graphics to go and a couple of bugs to work out...
 
Looks nice Chuck. If I only I had an iphone... I'm assuming though this will also work with any pocket pc with a browser? I'll sure give it a try if it does once you post the new version.
 
Works very well with my Smartphone (I use my Blackjack II)...I have used it w/ my Dell Axim3, which works, renders okay....its just the device that stinks...so you should be good to go.....

Also, a small hitch...laptop died, so I had to revert to my 1st laptop, circa 2002 (of which I used with Damon down at the NPG in Monterey doing a Premise install)..RDP works fine into the WHS to work on Premise, but with a couple missing keys and malfunctioning CTRL key, dev work is taking a bit longer this week.....

Still testing, but I have to say, hitting 'random' while watching TV has now become my favorite Premise feature...its channel surfin' at its finest!
 
so I'm about ready to upload these things - I can drop it now w/ iPhone classimages, but each one would have to be inserted into their respective places. I'm working on a more elegant solution (read, 'I'll try until I send a SOS to 123!') to have the classimages populate automatically (ie you could keep the standard delivered Premise classimages PLUS have iPhone tailored classimages)

if you don't mind plugging each image into a slot, i can push it out this w./e....
 
Back
Top