Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6943647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:11:00+00:00 2026-05-27T13:11:00+00:00

I am making an application which will do something on receipt of a particular

  • 0

I am making an application which will do something on receipt of a particular SMS and after doing that something it will send an SMS back. Everything is fine but the SMS sending service is not working when there is some keyguard lock or any other lock. I need to disable all locks and then send SMS and then again lock the phone. How is it to be done. I had tried with

 mKeyGuardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
 mLock = mKeyGuardManager.newKeyguardLock("Locationlistener");
 mLock.disableKeyguard();

and then tried to reenable with

 mKeyGuardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
 mLock = mKeyGuardManager.newKeyguardLock("Locationlistener");
 mLock.reenableKeyguard();

but its unlocking the keyguard and then the keyguard never appear again. It is also not working for pattern lock.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:11:01+00:00Added an answer on May 27, 2026 at 1:11 pm

    What has keyguard lock to do with SMS sending? You need to have the correct permission for your application and you can send the SMS irrespective. I have not encountered such an issue in my application which works solely on SMS command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a php web application which stores user specific information that is not
I am making an application that does some custom image processing. The program will
I am making an application which has j2me in client side and dotnet on
I am making an application which is a user interface to access 2 types
I'm making an application which uses MANY images. The application gets the images from
I am making an application (iPhone app) which gets information (jokes) from an RSS
I am making an application in C# which uses a winform as the GUI
I am thinking of making an (initially) small Web Application, which would eventually have
As many developers will be I'm producing web based application that are using AJAX
So I'm making this android application, that needs to read data from user-provided CSV

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.