Promixis, LLC Forums  

Go Back   Promixis, LLC Forums > NetRemote > NetRemote 2.0

View Poll Results: iPhone and Android support for Netremote?
iPhone and Android support is needed and I would pay an upgrade fee for it 32 69.57%
iPhone and Android support would be nice but not a killer for me 10 21.74%
I don't think iPhone and Android support is needed 4 8.70%
Voters: 46. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #31  
Old July 29th, 2010, 12:59 PM
Solosid Solosid is offline
Senior Member
Experienced User
 
Join Date: Mar 2008
Location: Nottingham, England
Posts: 385
Default

Hi Tim,

When you open the iphone index page in Frontpage it only shows the background image and header, basically the HTML stuff
this makes it difficult to learn the device stuff and how the code looks and behaves.

I learn by playing with examples and breaking them, so I can say 'thats how that does that'....not by 'if I do that will this do that'

so when I look at all the lua and js stuff it scares me....

cheers

Mark
__________________
some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all
Reply With Quote
  #32  
Old July 29th, 2010, 01:03 PM
tmorten's Avatar
tmorten tmorten is offline
Moderator
Promixis Team
 
Join Date: Mar 2005
Location: Los Angeles, CA
Posts: 867
Default

Quote:
Originally Posted by Solosid View Post
Hi Tim,

When you open the iphone index page in Frontpage it only shows the background image and header, basically the HTML stuff
this makes it difficult to learn the device stuff and how the code looks and behaves.

I learn by playing with examples and breaking them, so I can say 'thats how that does that'....not by 'if I do that will this do that'

so when I look at all the lua and js stuff it scares me....

cheers

Mark
Tools like Frontpage are great for layout, but if you want to get into changing functionality, I'm afraid you'll have to dig in and check out the Javascript and LUA. But I totally understand where you're coming from!

I recommend Notepad++ (http://notepad-plus-plus.org/) - it's a great free editor that has built-in syntax highlighting.

Cheers,
Tim
Reply With Quote
  #33  
Old July 29th, 2010, 01:32 PM
Solosid Solosid is offline
Senior Member
Experienced User
 
Join Date: Mar 2008
Location: Nottingham, England
Posts: 385
Default

Hi Tim,

is that similar to Scite?


Cheers

Mark
__________________
some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all
Reply With Quote
  #34  
Old July 29th, 2010, 01:37 PM
tmorten's Avatar
tmorten tmorten is offline
Moderator
Promixis Team
 
Join Date: Mar 2005
Location: Los Angeles, CA
Posts: 867
Default

I'm not familiar with Scite, but from a quick surf of its homepage, Notepad++ looks like it serves a similar role.

Cheers,
Tim
Reply With Quote
  #35  
Old July 29th, 2010, 02:00 PM
justinm001 justinm001 is offline
Member
Intermediate User
 
Join Date: May 2010
Posts: 40
Default

it seems like it would take 10 times the work to recreate as a webserver. I know html but know minimal about lua.

Can you have girder change the page on the webserver like you can with netremote?

I know that web browsers might be the future for some stuff but for dedicated devices I can't really see this happening. My dream netremote would be a 10" or so tablet with netremote basically as the OS. I'd be able to create a homepage with weather, RSS news feeds, my calendar, google search box, and some other things. Then we'd be able to click on the weather and it'll pop up the weather then google something and it'll open google in a webpage. I'd then be able to close it and be back to my netremote homescreen. I think this would be better than a simple webpage that would be very easy for someone to exit out of. I expect netremote to be a remote and not a webpage to control stuff.

Having a webserver with girder is great if I'm away and want to makesure everythings turned off and okay but I can't see it being my main remote control.
Reply With Quote
  #36  
Old July 29th, 2010, 02:12 PM
tmorten's Avatar
tmorten tmorten is offline
Moderator
Promixis Team
 
Join Date: Mar 2005
Location: Los Angeles, CA
Posts: 867
Default

Quote:
Originally Posted by justinm001 View Post
it seems like it would take 10 times the work to recreate as a webserver. I know html but know minimal about lua.

Can you have girder change the page on the webserver like you can with netremote?

I know that web browsers might be the future for some stuff but for dedicated devices I can't really see this happening. My dream netremote would be a 10" or so tablet with netremote basically as the OS. I'd be able to create a homepage with weather, RSS news feeds, my calendar, google search box, and some other things. Then we'd be able to click on the weather and it'll pop up the weather then google something and it'll open google in a webpage. I'd then be able to close it and be back to my netremote homescreen. I think this would be better than a simple webpage that would be very easy for someone to exit out of. I expect netremote to be a remote and not a webpage to control stuff.

Having a webserver with girder is great if I'm away and want to makesure everythings turned off and okay but I can't see it being my main remote control.
To answer your first question, yes, changing pages is straight-forward in the webserver.

From a user perspective, there should be no material difference in functionality between a browser-hosted application and a native application. The way that you implement is different. Running in a browser has the inherent advantages of:
1. Being server-based
2. Being cross-platform
3. Being easy to integrate with other web content

Point number 3 is a big part of what you're describing in your idealized vision, so you are definitely a good candidate to explore the webserver!

When you say "dedicated devices", it's worth noting that although there's nothing to stop you from using iPhone as just a phone, one of the things that has made it ubiquitous is its ability to do many things. Webserver is similarly flexible: if you want to keep it running all the time and treat your device as a dedicated controller, you can. If you want to open another tab, or switch from the browser to something else entirely, that is also fine.

Bottom line: The centralization, portability, and integration with other web content that the webserver provides transcends native apps. There is definitely some work involved in creating customized pages, but the reward is well worth the effort in my opinion.

Cheers,
Tim
Reply With Quote
  #37  
Old July 29th, 2010, 02:51 PM
justinm001 justinm001 is offline
Member
Intermediate User
 
Join Date: May 2010
Posts: 40
Default

My question was can you change have girder change the page? Currently you can have girder change the page on a device using the netremote jump actions within girder. is this available with a webserver? This is nice because I can have it setup so when I come home and open the front door I can have it trigger the netremote change to lighting page so I can turn on the lights. But normally be on the "home" page. I can't see this happening with a webserver.

The problem with the webserver setup and maybe even netremote is if someone uses the remote then gets to google and closes out of the browser, they'll have to reopen the webserver or netremote. I wouldn't want netremote to be able to close on a device, only windows open inside of it. I can just see friends or family accidentally close it and i'd have to show them how to reopen it back up.
Reply With Quote
  #38  
Old July 29th, 2010, 02:54 PM
tmorten's Avatar
tmorten tmorten is offline
Moderator
Promixis Team
 
Join Date: Mar 2005
Location: Los Angeles, CA
Posts: 867
Default

Quote:
Originally Posted by justinm001 View Post
My question was can you change have girder change the page? Currently you can have girder change the page on a device using the netremote jump actions within girder. is this available with a webserver? This is nice because I can have it setup so when I come home and open the front door I can have it trigger the netremote change to lighting page so I can turn on the lights. But normally be on the "home" page. I can't see this happening with a webserver.

The problem with the webserver setup and maybe even netremote is if someone uses the remote then gets to google and closes out of the browser, they'll have to reopen the webserver or netremote. I wouldn't want netremote to be able to close on a device, only windows open inside of it. I can just see friends or family accidentally close it and i'd have to show them how to reopen it back up.
The webserver can jump to other pages when prompted by Girder; I do this extensively in my setup through the use of AJAX. For example: if a control page (let's say for a television) is open on one client, and that device is shut down using another client, Girder causes the open page on ALL clients to jump to the home page. This is accomplished by running a background timer in javascript which regularly sends an AJAX request to Girder to check status. If the status comes back indicating a shutdown, the jump is triggered. On the client there are only three steps: an AJAX call, and if statement to look at the result, and a jump when appropriate. The whole thing is less than 10 lines of javascript. On the server, it just blasts out a variable value that has been updated elsewhere; literally one line of LUA code. This same technique can be used for any "forced" jump that you want to trigger.

With regard to closing the browser, I run my browser in full-screen mode. If you want to have embedded elements, such as a Google search window, RSS feeds, etc, you can have these coexist in a single layout with your Girder controls, and eliminate the need for other tabs.

Cheers,
Tim

PS - If you decide to experiment with a webserver setup, and have implementation questions such as how to trigger jumps from Girder rather than from user input, feel free to PM me.

Last edited by tmorten; July 29th, 2010 at 03:23 PM.
Reply With Quote
  #39  
Old July 30th, 2010, 04:34 PM
kwaugh's Avatar
kwaugh kwaugh is offline
Senior Member
Experienced User
 
Join Date: Jun 2005
Posts: 300
Default Moving to web server...

After only a few hours, I've been able to create a few pages that duplicate the functionality of my netremote pages (not tackling the layout stuff yet, just the functionality).

Once you get the hang of AJAX, it's not too bad at all.

Of course, it's not as easy as using NRD, but you can definitely get the job done.

One area I'm puzzled by is how to get access to JRMC. The basic transport commands are easy, but how do you get access to the album covers? If anyone has any info, I'd appreciate it!

(PS - my progress was so quick that I went out and bought an iPad today!)

K
Reply With Quote
  #40  
Old July 30th, 2010, 05:34 PM
tmorten's Avatar
tmorten tmorten is offline
Moderator
Promixis Team
 
Join Date: Mar 2005
Location: Los Angeles, CA
Posts: 867
Default

Quote:
Originally Posted by kwaugh View Post
After only a few hours, I've been able to create a few pages that duplicate the functionality of my netremote pages (not tackling the layout stuff yet, just the functionality).

Once you get the hang of AJAX, it's not too bad at all.

Of course, it's not as easy as using NRD, but you can definitely get the job done.

One area I'm puzzled by is how to get access to JRMC. The basic transport commands are easy, but how do you get access to the album covers? If anyone has any info, I'd appreciate it!

(PS - my progress was so quick that I went out and bought an iPad today!)

K
Good work! I'm glad to hear that it's gone quickly - I was a bit of a slow learner, but now that I've gotten the hang of it, I'm really enjoying creating webserver pages. Album covers tripped me up as well - here's a thread that discusses it (in too much detail, so I apologize in advance): http://www.promixis.com/forums/showthread.php?t=20675)

The long and short of it is that I've posted an "experimental" version of the MediaBridge component in that thread which you can use to make GAC+ calls, providing the same album cover data that's available in NetRemote.

Cheers,
Tim
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright (c) Promixis, LLC