Hello everyone, when I try to call getAllPkgUsageStats(); function of IUsageStats package I get this exception.
ERROR/AndroidRuntime(7413): java.lang.RuntimeException: Unable to create service org.gps.CPUusage: java.lang.SecurityException: Neither user 10081 nor current process has android.permission.PACKAGE_USAGE_STATS. But, I have included PACKAGE_USAGE_STATS permission in my manifest file. When I searched for the reason in forums, some said it is restricted permission. Can anyone please help me out with this issue. Thanks in advance thanks, sarath -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

