
Ask Slashdot: Making a Tablet Run Only One Application? 260
An anonymous reader asks "I'm working for a medical centre who want to make a tablet with various videos and webpages about smoking cessation available in their waiting room. The tablet can't access the Internet because of security policies. I'm planning to use a local server with copies of the (Creative Commons) videos and pages accessed through local webpages using the tablet's browser. How can I make only the browser be available to the tablet users? Ideas? Suggestions?"
easy. (Score:4, Insightful)
Easy if the tablet runs Windows or Linux. Much harder on other platforms. Maybe you should narrow the problem domain.
Re:easy. (Score:5, Funny)
Re:easy. (Score:4, Informative)
Since they could run other apps on the tablet even if you trap all HTTP requests, first step is to root the tablet and uninstall everything else, then make the browser autostart. Password protect anything you don't uninstall.
-nb
Re:easy. (Score:5, Informative)
Re: (Score:3)
Re:easy. (Score:4, Insightful)
Still won't keep people from exiting the browser and bumping around the system.
Well, if it's an Android tablet you could just create an app that acts as a replacement home screen. Just implement the appropriate intent and display a browser control to the user.
Re: (Score:3)
Re:easy. (Score:5, Informative)
Re:easy. (Score:4, Insightful)
Re: (Score:2)
If the unit runs Android or iOS, it's trivial to jailbreak/root and delete or move the built-in applications.
Re: (Score:3)
Easy if the tablet runs Windows or Linux
Yeah, just deploy the tablet without a window manager. Make your viewer run full-size on the root window.
I did something like this at a hospital c. 1996. It was pre-802.11 and the hardware was a Vadem Clio, but essentially one the connection got through to the VNC Server, the problem is the same.
WAP Portal / VLAN (Score:4, Insightful)
Put it on a VLAN, and Make HTTP(S) Go straight to the web server and only the web server. There are portal WAPs that do just that. Securing the tablet from running anything else would be as easy as installing a custom version of CyanogenMod or similar. Heck even Apple might be able to make an iPad that did just that.
I'd also tether the thing to the room, or it will walk away.
Curious... (Score:5, Interesting)
I realize it's difficult to get people to stop smoking, but fancy technology isn't always the solution.
Re:Curious... (Score:5, Interesting)
Is there a reason your organization wants this to be easy-to-steal-and-expensive tablets?
The hospital management is being treated well by the tablet manufacturer, who would very much like this hospital to become the envy of the `non-tablet' hospitals. Plus, it's healthcare; they have money to burn.
Re:Curious... (Score:5, Insightful)
If the hospital management is being treated well by the tablet manufacturer, then why isn't the tablet manufacturer helping with a solution to lock down the tablet? Surely of anyone they should know best how to lock there own tablets down.
Re: (Score:2)
" Plus, it's healthcare; they have money to burn."
Yet the bastards whine they are not paid enough...
Re:Curious... (Score:5, Informative)
generally speaking, the ones burning the money are not the ones complaining about the pay
Re:Curious... (Score:5, Interesting)
" Plus, it's healthcare; they have money to burn."
Yet the bastards whine they are not paid enough...
Don't confuse money that's available to be burnt with money that's available to pay said illegitimate children. I work in healthcare. We have a LOT of money available for goofy stuff like this that increases somebody's adoption of something electronic related to healthcare. It all comes from the federal government, and is earmarked for those specific types of projects. What we don't have is money to actually pay the people that provide healthcare service, in large part due to that same entity.
Re:Curious... (Score:4, Informative)
The hospital management is being treated well by the tablet manufacturer....
Hmm. Since that narrows the universe of possibilities down to a single vendor, you should probably tell us what OS the vendor uses on the tablet, otherwise people will waste their time giving you advice you can't use.
If you don't want to identify the vendor, and you can't tell us the OS without doing that, just say so. We'll pretend we don't know who you're talking about (although we will).
Re:Curious... (Score:4, Interesting)
Using utterly reasonable powers of deduction, we know the tablets are NOT iPads. First Apple hasn't really tried to court companies, and don't really have any sort of enterprise management system in place, according to everyone who's asked about iPhones, iPads and such in the workplace.
Which means the OS in question is either Windows or Android. Since Windows would be utterly trivial to put into a kiosk mode (you don't even need a tablet to demo this) and there'll be a half-dozen ways to do it (probably writing a custom app hosting the IE COM control, for example), it's unlikely the question is about Windows.
So most likely, it's Android.
Re: (Score:2, Insightful)
Plus, it's healthcare; they have money to burn.
Ahh, another "Only in America" quote...
Re: (Score:2)
Next time you need surgery, ask how much it would cost if you paid up front with cash. They'll drop thousands to avoid dealing with insurance.
Re:Curious... (Score:5, Insightful)
Is there a reason your organization wants this to be easy-to-steal-and-expensive tablets?
The hospital management is being treated well by the tablet manufacturer, who would very much like this hospital to become the envy of the `non-tablet' hospitals. Plus, it's healthcare; they have money to burn.
The reason the tablet manufacturer is throwing money/product at the hospital is because they know they don't have the right solution but want you to shoehorn it in anyway. Sometimes free is not the best solution.
Re: (Score:2, Informative)
I do not have a solution to your problem. I am curious about the situation though. Is there a reason your organization wants this to be easy-to-steal-and-expensive tablets? Especially when there's the security policy. And you'll have to keep them charged too. Why not just a cheap laptop. Or a pamphlet and TV? I realize it's difficult to get people to stop smoking, but fancy technology isn't always the solution.
I am curious about this too. I also work in IT and with several hospitals as customers. The IT staff in the hospitals I work with, small, medium, and large, all talk about things walking away from rooms, lobbies, etc. Surely there is a better solution, possibly more cost effective too... Besides, you will need to be able to recharge it anyway, so why not look for something that can be put on a table with a long core for recharge? If you can do that, then you could possibly look at touch screen media display
Re:Curious... (Score:5, Interesting)
Besides, you will need to be able to recharge it anyway, so why not look for something that can be put on a table with a long core for recharge?
TBH I think the OHS people would shit themselves if they ran into tablets connected to long cords for recharging.
I think the better idea is a kiosk which has more functionality, connected to power and is less likely to "walk away"
Re: (Score:3)
People are not going to pick up a kiosk. To be fair, they're not going to pick up a tablet either. The only real solution where people actually watch the video, would be to have it up and running on a wall, either VIA TV or projected. If you really needed to be "Web 2.0" ey about it, attach a camera and let people interact with a projection through motion. Or make a tabletop with a touchscreen, and have people interact with it that way.
Or, and I'm sure everyone would hate this option, remove all of the
Re:Curious... (Score:5, Funny)
Though, unless I'm mistaken, the reason the magazines are there is that they make everything go easier for the staff.
Based on my son's past experiences with the Urgent Care clinic we use, the magazines there are already filled with easy-going staph.
I almost want to snort their disinfecting foam after just walking through the place. The thought of even touching a waiting-room tablet makes my anti-bodies all tingly.
Re:Curious... (Score:5, Insightful)
Re:Curious... (Score:5, Insightful)
Please stop using technology for the sake of technology to increase my already outrageous healthcare costs.
Re:Curious... (Score:5, Funny)
DOS 1.1 - one app at a time, done!
Re:Curious... (Score:5, Interesting)
On the other hand, the "cool-factor" might have a big positive impact on people bothering to actually watch the videos.
Take it from advertisers, the most cheaply-produced message is not always the most cost-effective. They should know.
or just a tv tuned / hooked to a pc runing slides (Score:2)
tablets seem out of place for a waiting room.
Re: (Score:3)
Not if you are a germ.
Re: (Score:2)
Let's see. Chances that a tablet running one app are less expensive than a PC running one app with a touch panel monitor?
Re:Curious... (Score:4, Funny)
Pamphlets are easy to steal also. I have 800 at home. Just for the hell of it.
Re:Curious... (Score:5, Insightful)
Adds new meaning to ... (Score:3)
On Android, replace the launcher app (Score:5, Insightful)
If using Android: create a replacement launcher app, set your new app as the default launcher, and... profit?
Re: (Score:2)
I guess that would probably only work on something less than 3.0, though, since they've added a shortcut on the status bar to launch the Settings app.
But then, why would you need something on a new version of the OS? Cheap Chinese tablets running 2.2 or 2.3 can be had for = $100.
If you must use Android (Score:5, Informative)
Just roll your own AOSP build that only has /system/app/Browser.apk along with essential system UI apks and include none of the networking drivers that the device needs.
Re:If you must use Android (Score:4, Informative)
Just roll your own AOSP build that only has /system/app/Browser.apk along with essential system UI apks and include none of the networking drivers that the device needs.
Seconded, why are "the answers" at 0?
-AI
Re:If you must use Android (Score:4, Insightful)
Because these discussions are much like talking to whining women: They are not looking for answers, but just to have your attention and sympathy.
I think (Score:2)
You have a bigger problem there, how do you keep them from being stolen, add to that topic some phone home theft software too, want to inspire people to stop smoking? get a terminal lung cancer patient in the waiting room. wont fail.
Re: (Score:3)
The solution to this is part of the solution to making the device only run 1 app - you put it in a locked metal frame that both secures the device and physically obstructs any switch or button that could be used to exit your app.
Re: (Score:3)
Some (at least) tablet OSs have app switching multitouch gestures.
The real answer is use a kiosk. Or to do it on the cheap, put a PC on a table.
Re: (Score:2)
Yul Brynner excepted.
Why bother with a tablet (Score:5, Insightful)
I mean seriously - the first time someone thinks they can walk out the door with the tablet, it's gone. Don't think it wouldn't happen.
Why not instead just make a dvd with those videos and print out the text of the websites? You could have a small tv hooked up to a dvd player, have the dvd available to those interested, etc....
It wouldn't be as convenient to steal, and it is a technically easier way to set something like this up. Why are you going to such great lengths to make something more complicated than necessary?
Use something with better coverage (Score:5, Informative)
Re:Use something with better coverage (Score:5, Interesting)
He wanted one of those hi-tech looking displays showing his food, menus, and prices. He had the "high tech display": his projection TV.
What he ended up with was his old PC-AT home computer yanked from a pile in his garage and loaded with a bunch of GIF's and JPG's he created to his heart's content on his nicer home computer. Loaded all the images he wanted to display in a subdirectory, along with a DOS slideshow program. A little edit of Autoexec.bat and config.sys, and every time the computer was turned on, all it knew to do was start the slideshow and run it until power was turned off at the end of the day.
It was a no-brainer being he plugged the whole shebang into his beer-sign lighting circuit. There was no change to the routine for his help in opening shop for business. When they turned on the beer-sign circuit as usual, his "high tech display" would start up and run until they turned off the beersign lights at the end of the day.
He was aware of the limitations of the system, so he made his images with that in mind. He could create anything he wanted for it to display, with no more intervention from me.
He seemed happy enough. He was ready to toss it all anyway, and all it cost him was a dinner for me and my buddy.
I wanted so bad to do something for a '50s style diner in my area to retrofit those table-controlled jukeboxes as a serial terminal so I could queue up
That would have been fun, as I wanted to keep all the old vacuum tube amplifiers running, and even the record selector, but what would actually go through the system would be a MP3, not what was coming off the tone arm... the spinning record being "played" would be just for show. It would not make any difference at all what 45rpm record was in the slot... its just there for people to reminisce seeing things behave and hearing that 120Hz hum in it, just like it did when they, like I, was a kid.
I could rip all the MP3's I needed because he already had licenses from all the copyright people to play copyrighted music in his place. So I could load up the machine with anything. I thought it would be a nice touch if he kept his customer's favorites on the machine, as well as honoring requests. I even have an old mechanical typewriter so I could make more of those tags for the table units so they still looked like they came from the '50s.
Boy, did I ever date myself with this post.
mediakiosk (Score:3, Informative)
If you are using iPad, there is an app called MediaKiosk. This is used with metal kiosk housings that prevent the 'home' button from being pushed and will allow the charge cable to always be connected. Not really helpful for portable.
Re: (Score:3)
Does it manage to overcome the multitouch app switching gestures built in to iOS 5?
Re: (Score:3)
To answer my own question, you can turn off multitasking gestures in the OS Settings app.
Operating System? (Score:5, Informative)
Proxy and case (Score:3)
A couple of options. One, you could probably bundle the files up into an app like one created using PhoneGap, which would make everything local. Two, you could set the proxy setting to point to a server that you control, that will direct you only to an internal web server that you control. Regardless of how you do it, you will need to physically block the power and home buttons, and for non-iPad tablets, any other button that might take you home like the back button with something like a lockable case. Seems silly to block the internet, though, considering how many people in that waiting room are going to be browsing with their iPhones anyways.
Disgusting! I wouldn't Touch That Thing (Score:2, Informative)
This seems like a terrible idea! People in a hospital are going to be smearing their fingers all over this device, and passing it around. It seems to be a very convenient disease vector. I would not touch it with a 20 foot pole.
Re: (Score:2)
This seems like a terrible idea! People in a hospital are going to be smearing their fingers all over this device, and passing it around. It seems to be a very convenient disease vector. I would not touch it with a 20 foot pole.
Don't worry, 20 foot poles aren't very common in waiting rooms, therefore it's unlikely that you'll touch it with one.
Re: (Score:3)
The thing with touch screen is that it's obvious they are filled with grease from fingertips and mucous from sneezing. So it might actually get wiped down once in a while.
But remember, ever other surface you touch is going to be similarly filthy, and because it isn't so obvious, it's probably not going to get cleaned as often.
how about searching for android/ipad kiosk mode (Score:5, Informative)
Android Tutorial: http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/10839-android-kiosk-mode-tutorial.html [basic4ppc.com]
iPad: http://itunes.apple.com/us/app/kiosk-pro/id409918026?mt=8 [apple.com]
Re: (Score:3)
Re: (Score:3)
Aside from looking for the keywords "kiosk-mode" when searching for a solution tailored to the OS you have in mind, I'd suggest you revisit this entire tablet idea in the first place. Your tablet will most likely be locked down to some heavy furniture for security reasons, so what is the point of making it an expensive fragile tablet anyway. Also, it will require headsets unless you want to bother all the employees and fellow patients with the sound of those videos.
If I were you, I'd make a real kiosk and I
Re: (Score:2)
Re: (Score:3)
Yes, I realize you're kidding to an extent, but the entire point of this exercise would be not to antagonize those people you're trying to help quit smoking.
If you make the videos too annoying, or the designated area(s) too annoying, the kiosk will get vandalized in no time, the area(s) will get avoided and ignored by your target audience. Or may be worse, those people your'e trying to help may get so annoyed -- they'll light up more cigarettes than usual just and they'll make it a point of pride to combat
Some type of rooted Android tablet... (Score:2)
... should do the trick. Preferably one without any hardware buttons (other than volume/power).
In the app you can already disable the back button and menu button. The trick will be removing the Home button, Task Switcher button and notifications.
Now that Honeycomb/ICS source is available you should be able to find where they have the "fullscreen" code. This code is designed so that an app like YouTube can go full-screen -- but, once the user touches the screen, the soft buttons will return.
Hardware manufa
Chrome/ChromiumOS (Score:5, Insightful)
http://www.chromium.org/chromium-os
The only app that runs is the browser, it is based on gentoo so you can install pam modules to meet your site requirements needs (ldap, kerberos, etc),
And it is designed so you can easily force an enterprise wide os refresh whenever you need/want.
chmod a-rwx (Score:2)
Really not an expert in Android so I am just throwing ideas here.
Since Android is based on Linux, chmod a-rwx would be an easy staring point. If the application cannot be read and executed, it cannot be started.
Better, erase the unwanted apps with 'rm' and keep only the one you want, the browser.
Re: (Score:2)
Really not an expert in Android so I am just throwing ideas here.
Since Android is based on Linux, chmod a-rwx would be an easy staring point. If the application cannot be read and executed, it cannot be started.
Better, erase the unwanted apps with 'rm' and keep only the one you want, the browser.
I looked on the AppStore and did not find neither chmod or rm, however there is a new Angry Birds
We build a similar solution (Score:2)
Posters on the wall (Score:2)
Come to think of it, people at a doctors get enough tablets anyhow.
LCD Digitial Frame (Score:4, Interesting)
The solution that you want may fully well exist without having to reinvent the wheel.
Is there any reason you can not use a LCD picture frame?
I don't know how well they deal with video but I suspect that you can put a good a presentation using stills on one of those.
Imagineering: (Score:5, Funny)
Just paint a black frame around some rectangular mirrors and put a big reversed brochure printout on the ceiling. Nobody will know the diff and you can keep the real tablets for yourself. (My experience at AOL is paying off.)
Re:Imagineering: (Score:5, Funny)
Just paint a black frame around some rectangular mirrors and put a big reversed brochure printout on the ceiling. Nobody will know the diff and you can keep the real tablets for yourself. (My experience at AOL is paying off.)
Brilliant! This has the side benefit of making the waiting room a very convenient place to snort coke! (my experience on Wall Street is paying off too!)
Parental restrictions in iOS do this already (Score:4, Informative)
Re: (Score:3)
iOS has parental restrictions. Enable restrictions, enable Safari, leave everything else disabled. No step 3.
But how do you get the parents of each patient to come down to the hospital to setup parental restrictions? That's the tricky part (especially if they are dead).
A few suggestions (Score:3)
Easier: Buy a portable DVD player. Dirt cheap and does what you want. Less likely to get stolen. No software to break.
If using a Linux tablet, just run X with no window manager and start a fullscreen browser. Google keywords: "Maximus", "Devilspie", "Firefox kiosk mode".
If you're using Android or iOS, it looks like HockeyPuck has you covered above.
Dont matter, they will all be gone in a week (Score:2)
Put it on its own subnet.... (Score:2)
And give it a bogus default gateway.
Wireless or USB touch-monitor (Score:4, Interesting)
I don't know much about Androids, but an iPad makes a good example. Can you hijack DNS on the your wifi network? Yes... but it's incredibly easy to join another wifi network that isn't redirected, and there are no User and Administrator type accounts to keep people from doing so.
If you jailbreak an iPad, there is an extension you can install that locks it into a particular app (the browser, in this case). But getting around it involves, I think, nothing fancier than rebooting the device. You could modify the Hosts file on it to redirect no matter which network the user is on, as well... but a dedicated goof-off could always resort to direct DNS entry to cause mischief.
I would try to find out if anyone sells a wireless display with touchscreen capabilities. That could be linked to a computer that's locked down at an arbitrary level, and would prevent users from engaging in the kinds of shennigans they get up to when they have access to function keys and Reset buttons. If users can use the ctrl key or reboot the machine, you -will- end up with porn on your browser.
As a bonus, the device would be borderline useless to anyone who walks off with it and isn't fairly gadget-oriented, and you might be able to run several of them off of one host machine.
If this exists, someone should let me know, because I've made made want one.
If it doesn't you cold even use one of these:
http://www.thinkgeek.com/computing/usb-gadgets/c609/ [thinkgeek.com]
Wireless is great, but the real goal is just something hand-held that each person in the waiting room can have one of. Run some USB cables out to each end-table in the waiting room, and attach them to these. They're cheap, so have them stolen is less of an issue... unplugging them makes the, stop working, which makes them less immediately temping... they have no keyboard and no buttons that affect the actual computer behind the scenes... They're a perfect solution if you don't mind a few cables.
Did you even Google? (Score:5, Informative)
iPad in Kiosk mode:
http://itunes.apple.com/us/app/mediakiosk/id352741530?mt=8 [apple.com]
Android in Kiosk mode:
http://www.42gears.com/blog/2011/10/kiosk-mode-on-android/ [42gears.com]
iPads are easy (Score:2)
wrong approach (Score:3)
Wrong approach. People will walk off your tablets. Instead, have the users bring their own. Set up an open wireless connection that supplies the users with a captive DNS directing everything to your internal service that only serves up your content.
Don't provide any other open connection. Then your crap shows up on everybody's ipad and android phone. Be prepared to fend off angry customers.
But at least you save the cost and headache of managing all those tablets and don't have to.replace.them every week.
A solution (Score:2)
Assuming Android:
Well, your container application would override some of the keys (onBackButton for example) to do nothing, making it harder to leave the app. Or you could use key events (http://developer.android.com/reference/android/view/KeyEvent.html) to have them fire an event when a key is pressed, that you'd have to configure to your liking. Your only problem would be the home button key, since it doesn't return any value when pressed.
From what I gather from reading tidbits here and there ( http://sta [stackoverflow.com]
Funambol (Score:3)
Two things - WiFi, run the web client as the shell (Score:2)
I'm talking out my hat here, since I have not done anything with Android or iOS, but the following would work for any generic *nix.
In Linux, BSD or any *nix (does iOS run a form of BSD, like Mac OSX does?), one can make any program the shell (the thing that comes up when you log in). So as soon as the tablet boots up, it will just be running the web client.
The problem with that would be how much the web client needs the graphical user interface login. If it needs that, then you can make rsh or another re
Android can/could... (Score:3)
Go take a look at the app "kid mode" for android. While not 100% security, if you make the "write here" zone small and out of the way enough, and make the patter harder than "Z", it aught to work well enough. Also you could modify ADW.Launcher or similar to only allow your app.
I've done this... (Score:2)
It was a kiosk style app to run on Android tablets - I had my programmer knock it up in a day.
He built a basic wrapper for the regular Android browser.
This app hid all the on-screen controls and went full screen. There was no address bar.
It had a pre-configured URL that the browser went to, and auto-refreshed to after xx minutes of inactivity.
There was a hidden way to get to the preferences where the URL could be changed.
It also had the ability to load web pages off internal flash storage so it didn't need
if it's windows based... (Score:2)
change the shell from explorer.exe to your own application -- iexplore.exe would work, so would mshta, or your hta file. I think you can also make it an hta file.
you can use .pac files to completely filter the internet by regular expression or any algorithm operating on the URL or filesystem, so you could wind up connecting to some internet sites if it becomes applicable.
you don't need a local server, an hta will work cleaner, with all of jscript to access anything on the system, including the file system,
Wrong application for a tablet-use something cheap (Score:4, Informative)
My kids have these Coby knockoffs [amazon.com] that they love and have no trouble using. They play video (in way more formats than most tablets) and PDF and picturse, and that's about it, no pesky browser or wireless networking to bother with. Best of all it isn't a 500 dollar item people will want to walk off with, and even if they do walk off with it, you are out 80 bucks instead of 500.
Of course if what you are trying to do is show that you can throw thousands of dollars into the waiting room, that won't really accomplish what you are trying to do.
Re: (Score:2)
The battery life is impressive, but otherwise, android tablets really aren't significantly more expensive than this thing, and can certainly play any video format under the sun once you load the right player app.
How about this one:
http://www.amazon.com/gp/aw/d/B005HUH88K/ref=mp_s_a_1?qid=1329192256&sr=8-1 [amazon.com]
This guy does not want a tablet.. (Score:4, Insightful)
...he wants a digital photo frame with Wifi
and for security... unplug the dam server from the internet! if it's only serving local file then no bloooooody net access is required. ^_^
Simples!!!
Re: (Score:2)
Re: (Score:2)
At least on some very popular models of tablets, it is unnecessarily difficult to restrict settings like DNS servers.
Something like this [stackoverflow.com] might be helpful though. Only run the Video client with the videos available locally.
Re: (Score:3)
Without DNSSec though, it's fairly easy to redirect any DNS traffic. Allow ports 80 and 53, redirect them to a local server, and block anything else.
Re: (Score:3)
Don't you think rerouting DNS, configuring your DNS server specifically for a handful of clients, and running a web server to stream video data over your local wireless network (noting that the OP had network security concerns already) that could easily be stored locally might be overkill if the device itself can be left running only the video app?
I don't want to deprive you of geek points, but sometimes there might be a simpler solution.
Re:DNS Hijacking (Score:4, Insightful)
.... Nah that would never work.
Re: (Score:2)
The gateway specified in the DHCP field would be enough to filter things, I'd say. Just have your named.conf give specific information to the tablet's MAC address. And then have all requests made to that gw go where you want them to. Or did I miss something?
Re:DNS Hijacking (Score:5, Insightful)
Re: (Score:2)
Delete the other applications, and replace the hosts file so that the unit can only point at one IP.
Re: (Score:3)
That's what I did with a restaurants self-ordering system recently - two iPads, a pinned web app and a secure fixed case which covered all buttons. Not yet had an issue.
Re: (Score:2)
... I walk out of the waiting room with the tablet in my jacket
maybe you are the one who missed something (I mean: the 50 persons who made that same comment before you)
Re: (Score:2)
The closest you could get on an iPad is with 10.7 server w/ Profile Manager.
I think this [apple.com] would be a better solution.