On 9 March 2011 15:41, andrew_esh <[email protected]> wrote:
> Is there a way to gain CALL_PHONE permission when the program runs?
> For instance, could this app get CALL_PHONE when it happens to be
> running on a phone, and when it's on the XOOM, it does not provide the
> feature set that requires CALL_PHONE? If that decision can't be made
> at runtime, then two separate apps would have to be developed.
You may delegate calling to external app ("add-on" app you create -
you can hide its icon from launcher to not confuse users), so your app
will no longer need CALL_PHONE permission. Users with phones will
install this add-on and your app will check for its presence and fire
intenet to make add on do the reall call.
--
Regards,
Marcin Orlowski
--
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