It's useful to give end-users a way to exit a full-screen application. In the event something goes awry, they can close Rho (or right now, PocketBrowser) and re-launch it. Right now, I'm doing this by placing a "hot spot" in the upper-right corner of the application that closes the app.
Is there a better way that other folks have implemented to accomplish this that isn't so easily accessed by the general public? I suppose I could prompt the user for a password upon pressing the hotspot, but that seems like overkill.
Hi Joshua
In the past I've sen a solution which I really liked. The customer had added a common javascript function to each page that check for key presses in a specific sequence than on completing the sequence popped up a message box confirming the action then quit on the affirmative action. This could be as simple as pressing a single button 10 time in succession within a set period of time. You can have some fun with this!
Other options are to have a "Admin barcode" that when scanned will quit the app or add a specific combinations of gestures, perhaps you have to draw round the screen...this would be a similar concept to the key press solution, but instead of setting up a state machine for the sequence of keys it would be gestures. I quite like the idea of the user having to swipe their finger along the top of the screen, then down the right, then along the bottom, then up the left of the screen...who know maybe even do a smiley gesture at the end just to confirm!!
Have fun!!
James.
Points: 0
You voted ‘up’
The barcode idea is interesting, but would be cumbersome to a non-technical person who is in a jam and needs to exit/restart quickly. The button press won't really work since for most of our application, the SIP is disabled.
That leaves gesturing - is that supported in the MK4000? Or I should clarify, is it reliable on that device - because it's not a good quality screen and even simple button presses are inaccurate and require a lot of force.
Points: 0
You voted ‘up’
Yes, gestures are supported on all touch enabled devices. However, regarding the keys, doesn't the MK4000 have three app keys along the bottom of the screen? These could be utilised perhaps.
James.
Points: 0
You voted ‘up’
I've never seen those keys. There's an exit, reload, and minimize button in the upper right when debugging is turned on - but we turn those off in production.
Points: 0
You voted ‘up’
You can define any data sequence in the application exit, so better use a barcode (with se955 scanner) ora a 2D barcode in order to avoid unauthorized exits from the application.
case 'Exit Program1234':
{
gen.InvokeMetaFunction('application','quit');
break;
}
The command "Exit Program1234" can be printed in PDF417
Here is an useful link maybe: http://www.terryburton.co.uk/barcodewriter/generator/ to generate the barcode you may need.
Points: 0
You voted ‘up’
James - there are no 'hardware buttons' on the bottom of the MK4000 that is the MK3000.
Joshua - check out (there is a diagnostic mode that you can play with to see performance). If you take four corner example I give, you could extend that so that the user would have to do a certain sequence of hold gestures - like hold left corner, followed by hold right corner
Points: 0
You voted ‘up’
Doh! Yep, I was picturing the 3000 in my head, still, gestures will work
Points: 0
You voted ‘up’
I have an MK3000, 4000, and 500 in front of me.
Regardless, you always have to have a tab/button above the key to indicate what it is going to do for you.
Barcode exit is good enough for me. Keeps the riff-raff users in their place.
Gestures? I'd have them draw a scale accurate outline of Texas and then tap on the Alamo +/- 4 pixels to exit.
Well, enough fun. Back to work.
Points: 0
You voted ‘up’
Talking about El Alamo... think of El Zorro.
I once saw one MC75 application whose way to exit was tapping (not holding, so no need of gestures) on the left top corner, then (before 3 seconds) on the right top corner, then on the left bottom corner and finally on the right bottom corner. This was easy to remember, this being actually a letter Z.
Just draw 4 invisible images at each corner (with an onclick action) and you are done.
Points: 0
You voted ‘up’