The CONTROL_LOCATION_UPDATES permission has: android:protectionLevel="signature", which means only applications built into the system image can have this permission.
Mike On Thu, Apr 9, 2009 at 2:17 PM, alexdonnini <alessdonn...@gmail.com> wrote: > > Hello, > > Although the manifest file in my application contains > > <uses-permission > android:name="android.permission.CONTROL_LOCATION_UPDATES" /> > > the operation, > > mTelephonyManager.enableLocationUpdates(); > > fails with > > 04-09 14:01:01.754: WARN/System.err(5495): > java.lang.SecurityException: Neither user 10026 nor current process > has android.permission.CONTROL_LOCATION_UPDATES. > > Could anyone help me understand where I am making a mistake, and how > to correct it? > > Thanks. > > Alex Donnini > > > -- Mike Lockwood Google android team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---