• Home
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • App Market Developer Platform
  • Clover GO
  • Ideas & Feedback
  • Semi-Integration
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
Skip to main content
  • Create
    • Ask a question
    • Post an idea
    • App Market Developer Platform
    • Clover GO
    • Ideas & Feedback
    • Semi-Integration
    • Topics
    • Questions
    • Articles
    • Ideas
  • Sign in
  • Home
  • App Market Developer Platform

question

mikec avatar image
mikec asked · Sep 09 at 05:55 PM

Lock Screen

Is there a way to programatically unlock the device? This post seems to say it was going to be added
https://community.clover.com/questions/14322/how-t...
but I can't find out if it was or wasn't.

thanks
Clover Android SDK
Comment
0
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Answers

· Write an Answer
  • Sort by Created Created
  • Sort by Oldest Oldest
  • Sort by Votes Votes
Jeffrey Blattman avatar image
Jeffrey Blattman answered · Sep 10 at 06:15 PM
https://github.com/clover/clover-android-sdk/blob/master/clover-android-sdk/src/main/java/com/clover/sdk/Lockscreen.java
· 2 comments · Share
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mikec avatar image mikec · Sep 11 at 03:32 PM

I'm getting a

java.lang.SecurityException

when I try this, is there a setting somewhere that will allow this to work? Will this wake the terminal up too if it's in sleep mode?

thank you

0 · ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ mikec · Sep 11 at 05:05 PM

Provide a pastebin link to the full logcat.

0 · ·
Jeffrey Blattman avatar image
Jeffrey Blattman answered · Sep 11 at 05:51 PM
Yes, that's a a bug (the security exception you listed above). I filed a an internal issue to get it fixed.
· 3 comments · Share
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mikec avatar image mikec · Sep 11 at 06:06 PM

How do I find out when it's been fixed?

0 · ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ mikec · Sep 12 at 11:41 PM

It'll be fixed in the next release of Clover Engine. When that makes it merchants is a complicated matter as we do staged rollouts. We're looking in the time frame of months.

Unfortunately we don't have any sort of external bug tracker where you can see these things.

0 · ·
ismdcf avatar image ismdcf Jeffrey Blattman ♦♦ · Oct 27 at 11:15 AM

Hi @Jeffrey Blattman

Please do let us know when this has been applied to sandbox or production. we are also facing the same issue. Also, let us know if there are any additional steps to be taken when using the Lockscreen class mentioned in the earlier reply.

0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community

question details

3 People are following this question.

mikec follows this question jeff follows this question ismdcf follows this question
Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers

Related Questions

Void Payment and Delete authorization through Android SDK 0 Answers

CloverSDK for Windows - Xamarin 1 Answer

Is it possible using Clover Android SDK I can reuse every funcntionality without interact with Rest API 1 Answer

Pending App Approval from a while - eatcube 3 Answers

Custom Tender app using HTML/CSS? 1 Answer

Answerhub Logo
  • About
  • ·
  • FAQ
  • ·
  • Privacy
  • ·
  • Copyright © 2010-19 DZone, Inc.