On Sun, Dec 11, 2011 at 7:06 PM, satahippy <[email protected]> wrote: > Rather, neither the first and second. This is like a test for a students on > Windows. That is, they cannot minimize or close the application etc. But > with permissions they can all of that.
This has nothing to do with permissions: it's a basic functionality of the Android that you can use more than one app in the system. What you really want to do is probably block all events that would take the user out of the test application. That means the home button, back button, etc... By the way, modifying the system isn't worth it for this, that is just a huge amount of difficult systems programming (for someone who's never done it before) for this simple thing. I think that what you probably want to do is to replace the home screen, that way if the user goes back to the home screen, you have control over it.. There is an example home app in the SDK demos.. Basically, your problem is that you're writing a test program which will run on Android devices, and you don't want people to be able to go out and actually "use" the device for anything other than your test system? kris -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

