The hint for needing permission in the manifest is whenever using system calls. I agree w/ you that missing the documentation in the SDK for required permission at class level make it less useful or just plain annoying.
On Oct 8, 4:13 am, Chris <[email protected]> wrote: > I am trying to see if some of the classes I am using require any > permissions to be set on the manifest. How can I tell if a given > Class requires a permission. Example I know PowerManager.WakeLock > needs the WAKE_LOCK permission but the documentation on > PowerManager.WakeLock makes no reference to any permissions required. > How would I have found this with out the example code I found telling > me? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

