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. Download here library for reading/writing EXIF from your JPEG images

Thanks for this - very useful and works perfectly.

But it compiles to 300kb which doubles to 600kb for copy protected
apps.

Anyway to make a streamlined version of this app to just embed a gps
location in a jpeg file?

Alex




--~--~---------~--~----~------------~-------~--~----~

2. Do I need to protect my code from possible database create/upgrade race conditions?

I have an activity with 2 background threads accessing the same
database.  In each background thread I am using SQLiteOpenHelper to
open the database.  Do I need to worry about onCreate and onUpgrade
potentially being called on each thread?

--
Richard
--~--~---------~--~----~------------~-------~--~----~

3. Samsung Galaxy isn麓t working af ter update - whole system error!!!

4. sdcard mounted ok, but get "Unable to open trace file '/sdcard/x.trace", why?

5. onActivityResult() : delivering data problem

6. We do believe in Google !

7. Cursor.moveToPosition(0) is false even with content