Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

by MakeMobile » Wed, 04 Mar 2009 00:38:50 GMT

Sponsored Links
I'd like to revisit a topic that was previously posted, but never

Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

by DanM » Fri, 06 Mar 2009 00:54:11 GMT

 I'd also like to point out that there is a bug in the android system
when handling intents for subactivities.

I created an application that responds to the same intent as the call-
log portion of the phone application (the intent that is started when
the call-log tab is selected within that app). Normally, the activity
that is started via this intent runs inside the call-log tab of the
phone application, but if the activity resolver runs, the activity
started thereafter runs as a regular full-screen activity and not
inside of the call-log tab of the phone application. This happens no
matter which activity you choose to start with the resolver, even if
you select the default activity that usually runs with the phone
application. It seems to me this has to be a problem with the activity

The problem with SET_PREFERRED_APPLICATIONS may be related to this. It
happens if you select the "use by default for this action" check box,
and then select one of the activities. The application then crashes
with the error above.


On Mar 3, 11:38am, MakeMobile <>


Sponsored Links

Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

by MakeMobile » Fri, 06 Mar 2009 05:15:07 GMT

 What do you mean by not supported? Do you mean that you should not be
able to do this
for any TabActivity class? What is to stop other developers from
falling into the
same trap?

Also, if this is the case, it seems to be impossible to create a new
application because one would have to re-implement the entire phone
which would be Ok if that were possible. But, looking at the code it
seems that the
phone application has access to privileged code, making writing a 3rd
party phone app
imposible. So it is impossible to completely replace the default phone

> > >

Other Threads

1. How to find permissions required

I am trying to see if some of the classes I am using require any
permissions to be set on the manifest.  How can I tell if a given
Class requires a permission.  Example I know PowerManager.WakeLock
needs the WAKE_LOCK permission but the documentation on
PowerManager.WakeLock makes no reference to any permissions required.
How would I have found this with out the example code I found telling

2. Wallpapers for Android

Buat yg mau download bisa lihat disini:


  pushed via Indosat

Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group, please visit the following page:

3. GPS-Tracking application and telephone call

4. Cara rubah Magic jadi Hero

5. Android 1.6 camera gui

6. is there a way to put entire folder from "assets" to sdcard? not just individual files.

7. setting indosat M2 di G1