Re: [android-developers] Re: Application works after reboot the phone

2010-07-29 Thread Dianne Hackborn
That is not a stack crawl. On Sun, Jul 25, 2010 at 8:50 PM, mike wrote: > this is the exact exception i'm getting > > java.lang.SecurityException: Permission Denial: reading > com.android.providers.downloads.DownloadProvider uri > content://downloads/download > from pid=249, uid=10003 requires >

[android-developers] Re: Application works after reboot the phone

2010-07-25 Thread mike
this is the exact exception i'm getting java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/download from pid=249, uid=10003 requires android.permission.ACCESS_DOWNLOAD_MANAGER but when i run the same code in other andr

Re: [android-developers] Re: Application works after reboot the phone

2010-07-25 Thread Dianne Hackborn
Btw please post at least a stack crawl for error messages; you have not supplied nearly enough information for anyone to help you. On Sun, Jul 25, 2010 at 11:53 AM, Dianne Hackborn wrote: > There is no public API for the download manager, so you should not be doing > anything that requires that p

Re: [android-developers] Re: Application works after reboot the phone

2010-07-25 Thread Dianne Hackborn
There is no public API for the download manager, so you should not be doing anything that requires that permission. On Sun, Jul 25, 2010 at 6:23 AM, mike wrote: > Hi Joseph, > > this is the security exception i'm getting > > android.permission.ACCESS_DOWNLOAD_MANAGER > regards, > Mike > > -- > Y

[android-developers] Re: Application works after reboot the phone

2010-07-25 Thread mike
Hi Joseph, this is the security exception i'm getting android.permission.ACCESS_DOWNLOAD_MANAGER regards, Mike -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To uns

[android-developers] Re: Application works after reboot the phone

2010-07-25 Thread mike
hi Joseph, i'm getting a security exception regarding the permissions regarding the download manager or like that. any way the permission is not listed in the manifest file. so after researching i found you need to have android.permission.ACCOUNT_MANAGER in the manifest. don't know whether thats t

[android-developers] Re: Application works after reboot the phone

2010-07-25 Thread Joseph Earl
Do you have any errors in Logcat / DDMS when your application fails to launch? On Jul 25, 7:18 am, mike wrote: > hi guys, > > i have found out a strange behavior. My application works only after > phone reboots. after rebooting the phone first time application works > fine. from there onwards it'