iPhone optimized web remote control for Webserver plugin

If you have a question or need help, this is the place to be.
martin.m
Posts: 8
Joined: Mon Sep 22, 2008 7:31 pm

iPhone optimized web remote control for Webserver plugin

Post by martin.m » Mon Sep 22, 2008 7:58 pm

I Am working on some code optimized to be easy to use on iPhone.
I used an IUI library for this project and it looks very nice on my iPhone 3G - http://code.google.com/p/iui/

I have uploaded first "beta" version of my work and here it is:
Attachments
EG_4_iPhone.zip
(41.54 KiB) Downloaded 458 times
sample3.jpeg
Sample home screen
sample1.jpeg
Sample remote

User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by Bitmonster » Tue Sep 23, 2008 6:38 pm

Looks nice. I'm curious how it will look in the end. Do you have implemented code to handle long button presses (this "withoutRelease" and "ButtonRelease" stuff)?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

martin.m
Posts: 8
Joined: Mon Sep 22, 2008 7:31 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by martin.m » Wed Sep 24, 2008 6:09 am

At this time, this script does not support long button presses. I tried to use script from Webserver demo ("withoutRelease" and "ButtonRelease" stuff), but the IUI interface is not "compatible" with frames..
I will try something other solution, but I am not so much good in Javascript.


PS. Sorry for my English, I am Czech.

martin.m
Posts: 8
Joined: Mon Sep 22, 2008 7:31 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by martin.m » Wed Sep 24, 2008 7:12 am

I think It is not possible to handle long button presses on iPhone, because the Safari browser on iPhone generates onmousedown event at the same time as onmouseup event - when finger up :(

http://developer.apple.com/documentatio ... 006511-SW4


I have only one idea, create button named "Repeat" - Press button "Repeat" and after it any other button will start repeating a will stop after second press of button "Repeat". But as I say, the javascript is a little problem for me.

martin.m
Posts: 8
Joined: Mon Sep 22, 2008 7:31 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by martin.m » Wed Oct 01, 2008 3:45 pm

New version supports long button presses ! On iPhone is long button presses realized by special repeat toogle button, on other PC browsers works long button presses normally!

And here it is:
Attachments
iphone_EN.rar
EventGhost4iPhone v. 1.0
(37.55 KiB) Downloaded 406 times

User avatar
Melloware
Plugin Developer
Posts: 86
Joined: Mon May 12, 2008 6:18 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by Melloware » Thu Oct 02, 2008 7:59 pm

I have this Native iPhone and iPod touch application completed if anyone is interested in me releasing it to the AppStore? It is instantaneous response time to EventGhost and emulates the MCE remote so all your current EG macros and setup will just work with this.

http://melloware.com/products/eventphone/
-----------------------------------
Melloware Inc.
EventPhone iPhone Application
Intelliremote - HTPC Remote Application
-----------------------------------

martin.m
Posts: 8
Joined: Mon Sep 22, 2008 7:31 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by martin.m » Fri Oct 03, 2008 5:56 am

Melloware wrote:I have this Native iPhone and iPod touch application completed if anyone is interested in me releasing it to the AppStore? It is instantaneous response time to EventGhost and emulates the MCE remote so all your current EG macros and setup will just work with this.

http://melloware.com/products/eventphone/
Nice work and yes, please release it to appstore.

User avatar
Melloware
Plugin Developer
Posts: 86
Joined: Mon May 12, 2008 6:18 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by Melloware » Fri Oct 03, 2008 10:53 am

martin.m wrote:Nice work and yes, please release it to appstore.
OK I will submit it to Apple tonight. It takes about 7 days before it will appear in the AppStore because Apple hand reviews every single application.

I had originally written an Iphone frontend for my application Intelliremote, but since Intelliremote users don't use EventGhost and EventGhost users are die hard and probably won't ever use Intelliremote I decided to create iPhone/iPod Touch apps for both!

A list of all my iPhone apps can be found here if interested in checking out some of my other work. I have a MediaMonkey, JRiver Meda Center, BlueSocket applications also.

http://www.melloware.com
-----------------------------------
Melloware Inc.
EventPhone iPhone Application
Intelliremote - HTPC Remote Application
-----------------------------------

User avatar
Melloware
Plugin Developer
Posts: 86
Joined: Mon May 12, 2008 6:18 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by Melloware » Sat Oct 04, 2008 3:01 pm

OK i updated the screenshots to include the landscape view when you turn the phone on its side.

http://melloware.com/products/eventphone/

I sent it to the Apple AppStore today... I will post back whenever it finally hits the actual store probably 7 days from today!
-----------------------------------
Melloware Inc.
EventPhone iPhone Application
Intelliremote - HTPC Remote Application
-----------------------------------

User avatar
Melloware
Plugin Developer
Posts: 86
Joined: Mon May 12, 2008 6:18 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by Melloware » Wed Oct 15, 2008 12:11 pm

EventPhone is now available in the Apple AppStore.
-----------------------------------
Melloware Inc.
EventPhone iPhone Application
Intelliremote - HTPC Remote Application
-----------------------------------

martin.m
Posts: 8
Joined: Mon Sep 22, 2008 7:31 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by martin.m » Thu Oct 16, 2008 1:49 pm

I have done a new version of web plugin.

What's new:
- some bugfixes in javascript
- new css layout
- better loading speed
- new icons

updated 2008_10_17:
- removed arrow where button send direct commands (favorite channels etc..)


for use on PC I advice you to use Safari browser, because repeating works faster against firefox.

And here it is:
Attachments
iphone_EN.rar
EventGhost4iPhone v. 1.1.1
(413.76 KiB) Downloaded 595 times
Safari.jpg
EventGhost4iPhone on Safari browser on windows PC
Iphone.jpg

dustobub
Posts: 24
Joined: Wed Nov 05, 2008 10:57 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by dustobub » Wed Nov 05, 2008 11:06 pm

I love the interface. Thank you very much for working on it. I have simplified it a bit for my use. I am having no problems with Firefox 3 on OSX or my iPhone, but Safari 3.12 on OSX is having real trouble with some buttons. I was about to rip out the repeat support since I don't need it, but I'm curious if you have noticed anything. Thanks.

Dustin

PS - You don't happen to use XBMC do you? If you do, would you consider integrating http://tlrobinson.net/projects/xbmciphone/ , it would be awesome. The only downside to that web app is that it does not support Libraries. There is a native iPhone app that has library support, http://remote.collect3.com.au/ , which is now open source, so maybe they could be integrated. I'd be happy to work on it myself, although my js skils are rather primitive.

nkapur
Posts: 8
Joined: Fri Jan 30, 2009 1:42 am

Re: iPhone optimized web remote control for Webserver plugin

Post by nkapur » Fri Jan 30, 2009 2:05 am

Thanks for posting. This is a great start to setting my iPhone Remote. I have been playing with IUI myself to auto-generate HTML files for controlling X10 devices based on existing Activehome Pro configuration.

Anyway, I had a few problems getting your files to work: 1) Relative pathnames to css and js files were incorrect. On line 9,10,16,17 remove "../" so that it just reads "iui/iui.css" etc. 2) Remove extra "</script>" on line 14.

Hope that helps anyone else trying to set this up.

holyspidoo
Posts: 14
Joined: Wed Apr 08, 2009 5:18 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by holyspidoo » Tue Apr 14, 2009 9:37 pm

Fantastic UI. Using this to control pretty much everything on the PC now.

What should I look into in order to add a status check to the UI? It is super easy adding commands to be sent to Eventghost. Is it complicated asking questions and receiving an answer?

EX: Is MediaMonkey open? If yes, then change start button color from black to white.

bocarob
Posts: 3
Joined: Wed Jun 03, 2009 7:48 pm

Re: iPhone optimized web remote control for Webserver plugin

Post by bocarob » Wed Jun 03, 2009 7:54 pm

First love the code but using Firefox the repeat seems to get stuck also a button press seems to work fine the first time but press a second it doe snot fire the event it works great in iphone I am not a programmer and trying to work this out is driving me crazy...Just would like code to work without the repeat stuff in Firefox any thoughts..


Thank You

Post Reply