Well it says it's only on API Level 8 so I can't help you there. If
you know it works in another app, on Android 2.1 or below, you might
try decompiling that app, but I have no experience with that so I
can't say whether it is possible to find an undocumented API that
works.

On Jan 20, 2:35 pm, ashiq sayyad <ashiqsay...@gmail.com> wrote:
> Thanks.I will check that.
>
> One more is there any way to implement lock on earlier android
> versions(before 2.2)
>
> Thanks & Regards.
> Ashiq Sayyad
>
> On 20 January 2012 12:00, albnok <alb...@gmail.com> wrote:
>
>
>
>
>
>
>
> > You might have missed something in the implementation - it should
> > cause the Device Administrators window to pop up, and you need to
> > Activate your app as a Device Admin.
>
> > Then only isAdminActive() will return true.
>
> > On Jan 18, 2:58 pm, ashiq sayyad <ashiqsay...@gmail.com> wrote:
> > > I have checked the  lockNow implementation in API demos & tried the
> > > same thing in my app. But I am not able to lock the device(Google
> > > nexus)
>
> > > Is there any restriction on this API call for thrid party application?
> > > isAdminActive() method is returning me false...
>
> > > One more doubt,how to implement screen lock functionality for below
> > > 2.3 devices as there in no direct APIS  for tat..
>
> > > Awaiting for help
>
> > > Thanks & Regards,
> > > Ashiq Sayyad
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to