views:

58

answers:

1

Hi all,

I asked this a while back and didn't get anything useful. I'm hoping now that Android has advanced a few releases, that there will be more options. Here are the things I'm trying to accomplish:

  1. Prompt for a PIN when you uninstall a particular app. This would have been set at install time by the user.
  2. Disable certain services (text, phone). What would be even better is if I could be selective about it instead of just turning the radios off. For example:

a. intercept outgoing call, is it to one of a few allowed numbers?, yes => allow it, no => deny

b. intercept incoming call, is it from one of a few allowed numbers, yes => allow it, no => to voicemail

c. intercept incoming text, is it from one of a few allowed numbers, yes => allow it, no => queue up for later delivery

d. intercept outgoing text, is it to one of a few allowed numbers, yes => allow it, no => deny

Is this sort of thing possible using Android? I thought I would ask on her for advice prior to going digging around in the SDK since I don't know much about Android in general. How about with iPhone OS?

This is for an app that a parent would install on their child's phone to limit functionality in certain scenarios.

Thank you,

Tom

A: 
  • 1, 2b, and 2d would have to be implemented on a custom firmware-level, as Falmarri pointed out.

  • 2a is definitely possible with the proper permission (called PROCESS_OUTGOING_CALLS), the Google Voice app does it

  • 2c should be possible with the RECEIVE_SMS permission

Nick
@Nick: 2c is not possible, in terms of the "queue up for later delivery" part.
CommonsWare
You're right, I didn't see that!
Nick