so why i got this message?? [2011-06-09 14:06:19 - Screen] ERROR: Application requires API version 8. Device API version is 7 (Android 2.1-update1). [2011-06-09 14:06:19 - Screen] Launch canceled!
And when i try this in an AVD 2.2, it work?? On Jun 9, 1:34 pm, Kostya Vasilyev <[email protected]> wrote: > According to the documentation, both are "since API level 1"..... > > -- Kostya > > 2011/6/9 souissi haythem <[email protected]> > > > Hi > > > i need to use the two broadcast in the title. The problem is that to > > use it, we require API version8 (android 2.2). And my program need to > > work in Android 2.1 > > > I wanna know if there is other tools in android 2.1 that it can do the > > work of detecting screen on or off. > > I have found isScreenOn() which test if the screen is on or off, but > > it is not why i need. I need to detect automatic when the screen is on > > so i lunch my service . > > > Thanks > > > -- > > 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 -- 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

