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 6946775
In Process

The Archive Base Latest Questions

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

I am facing one problem regarding unlocking the device when Service launched activity when

  • 0

I am facing one problem regarding unlocking the device when Service launched activity when any alarm occurs.
Scenario is :

My application is having activities and service and all activities will get register with service when it gets launched.
Service will establish the connection to the server using WiFi, and when server will send any alarm my application has to launch one activity to update to the User that there is some alarm occurs, Now problem is when Device goes to sleep mode and screen becomes dark and device will get locked in that situation when any alarm generates then I have to unlock the screen and screen brightness should regain as it was in active state and then need to launch the activity, but i failed to unlock the screen as well as regain the brightness of the screen while launching the activity.

Please help me to solve this issue with proper code example.

Regards,
Piks

  • 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:36:32+00:00Added an answer on May 27, 2026 at 1:36 pm

    You should use PowerManager.WakeLock class

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

Sidebar

Related Questions

I am facing one problem regarding threading scenario. I have three threads in my
i am facing a problem regarding the thread. I am having a class which
I am new to winforms and facing one problem in my application. I am
I am facing one problem in AsyncTask in my application in Android. The problem
i am facing one problem.i have a class named ReportingService and it should be
When facing the problem of validating a property in a JSF2 application there are
I am facing some problem in iPhone application development for Reading PDF. I have
I am facing one problem ,that when the google map is loading then there
We are facing one problem in managing test data (xmls which is used to
hello every one i am facing a strange problem i my code i am

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.