Neither user nor current process has android.permission.SET_PREFERRED_APPLICATIONS

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


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




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
resolver.

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.

-Dan


On Mar 3, 11:38am, MakeMobile <makemobileinnovati...@gmail.com>


> 


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
call-log
application because one would have to re-implement the entire phone
application,
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
application?







> > >



Other Threads

1. Streaming Sensor Data from Device to a server

i m sure there r many ways to do this... the easiest way i wud do it
is through sockets. Having the Client write everything to a file and
the server pulling this information every few seconds.

Abhi




-- 

2. uri for viewing or editing calendar events

hello ...

is there a way to view or edit a calendar event with a uri.
like content://contacts/people/3 works to view/edit a contact

thnks

-- 

3. Damaged SDcard with microsSD32GB with nexusone amd droid with android2.0 or higher version only

4. How to prevent animation when starting new task?

5. Using mapquest

6. Eclair Browser Plugin Help

7. GsmCellLocation.getCid() format