An inaccessible interface.

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Contact:

An inaccessible interface.

Post by user#606 » Fri Jun 14, 2013 8:27 am

I want to display photos on a tablet, though it could be anything, for the purposes of this post. Because the public will have free access to the navigation of the display (not a slide show), I want to prevent anyone from closing the app and messing about with the device. A bit like a kiosk.

Come on, own up, how many of you have tried to get the demo PC, in PC World, to break out of its demo loop?

To regain control of the device after the presentation, I would either reset or have a secret location to touch.

Any ideas of a simple way to exclude little fingers?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: An inaccessible interface.

Post by Simon » Fri Jun 14, 2013 8:51 am

Is it this:
on keyDown
--do not pass
end keyDown

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Contact:

Re: An inaccessible interface.

Post by user#606 » Fri Jun 14, 2013 8:58 am

does that block the HOME button?
There would be no keyboard access for typing characters, just touch simple navigation icons.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: An inaccessible interface.

Post by Simon » Fri Jun 14, 2013 9:01 am

Try it....
You can tell me :)

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: An inaccessible interface.

Post by Dixie » Fri Jun 14, 2013 10:57 am

No... it doesn't block the 'home' button... :-(

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: An inaccessible interface.

Post by paul_gr » Fri Jun 14, 2013 8:23 pm

Used to be able to block Home button in earlier versions of Android.
Apps that take over the Home button are showing malware like behaviour (taking control of device from the user) and this has been disallowed in Android 4+.

I expect that iOS would be the same, but if it's a kiosk like setup you want have a look at iOS 6's "guided access"...
http://osxdaily.com/2012/09/25/enable-g ... ccess-ios/
it might do what you want...

cheers Paul
Last edited by paul_gr on Fri Jun 14, 2013 10:17 pm, edited 1 time in total.

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: An inaccessible interface.

Post by Dixie » Fri Jun 14, 2013 8:53 pm

paul_gr...

Thanks for pointing that out... that's a neat trick ...:-)

Post Reply