It is currently Wed Jul 23, 2014 6:18 pm




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
 Mobile - how to make clicks more responsive 
Author Message
Sergeant
Sergeant

Joined: Tue Jul 27, 2010 10:27 am
Posts: 58
Location: Calgary, AB
Post Mobile - how to make clicks more responsive
I'm using the mobile module and following the skeleton project.

I'm noticing some delays with the mousePressed/Released/Clicked events. On list items pressed events, background goes blue, on released, back to normal. Then clicked fires and the appropriate window is loaded.

I often notice long delays between the time I press (and hold) on a virtual button, and the background goes blue. If I just click, sometimes the display never changes color.

It all just feels a little awkward. I tried changing some project parameters but couldn't improve it.

Any advice here? could some polling interval be changed without incurring in any additional data traffic?

Cheers
Ivan


Fri Jun 15, 2012 9:09 am
Profile WWW
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 4044
Location: Sacramento, CA
Post Re: Mobile - how to make clicks more responsive
Sorry, what you see is what you get. The technology stack of the mobile module is essentially VNC through a mobile browser. It's always going to be laggy.

Your best bet is to make sure you're over wifi (not cell) and keep your screens as small and graphically simple as possible.

Mobile module v2 will use a totally different strategy and should be much more responsive. And no, I don't have a timeline for that yet.

_________________
Carl Gould
Co-Director, Software Engineering
Inductive Automation


Fri Jun 15, 2012 10:46 am
Profile WWW
Sergeant
Sergeant

Joined: Tue Jul 27, 2010 10:27 am
Posts: 58
Location: Calgary, AB
Post Re: Mobile - how to make clicks more responsive
Thanks for the response, Carl.

Maybe a couple suggestions for v2, although they may be trivial: SVG rendering (vs canvas), WebSockets (vs polling).

Would be great to head more about Mobile module v2 in the future. It is a major, if not THE major, feature for us, and the current approach just doesn't "feel" great because of responsiveness.

Would there be any way to cache windows and navigation commands in the mobile device, in the current version, to avoid lag?


Fri Jun 15, 2012 11:11 am
Profile WWW
Moderator
Moderator

Joined: Fri Mar 16, 2012 1:00 pm
Posts: 894
Location: Sacramento, CA
Post Re: Mobile - how to make clicks more responsive  Topic is solved
It has always been that way, it has to do with the response time of HTML5. Currently there is no way to cache windows or navigation commands.

_________________
Greg Simpson
Inductive Automation
Technical Support Rep


Fri Jun 15, 2012 12:09 pm
Profile
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: