You should not be getting either of these from an Android SDK application that is properly using PowerManager. If you are experimenting with the source code, please visit http://source.android.com for assistance.
On Thu, Dec 1, 2011 at 3:30 AM, Siva Prasad <[email protected]> wrote: > Hi, > > I'm new to Android. > Could you please let us know the reasons for the below errors? > > a. While getting the system Service. > Parcel : **** enforceInterface() expected 'android.os.IPowerManager' > but read ' ' > > b. Succesfully got the system service, while trying to call one of the > interface. > AndroidRuntime: java.lang.SecurityException: Binder invocation to an > incorrect interface > > Thanks, > Siva > > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

