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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:32:38+00:00 2026-06-05T07:32:38+00:00

I am developing an Android application that relies heavily on the accelerometer. Because of

  • 0

I am developing an Android application that relies heavily on the accelerometer. Because of this, I really need to make sure that the onResume and onPause events are handled correctly.

My application works perfectly when WidgetLocker is disabled, but after I lock the screen and return to the application when WidgetLocker is enabled, the application freezes, and I have to kill the process before it responds again.

My assumption is that one of the events, onPause, or onResume is not being run so the accelerometer is being registered twice, or unregistered twice.

Is there a way to make sure that the events will be hit, or program for a case when they are not hit? I have not had any trouble with other application and WidgetLocker, so I assume that I am doing something wrong.

  • 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-06-05T07:32:39+00:00Added an answer on June 5, 2026 at 7:32 am

    I was doing nothing wrong.

    There are other documented cases of issues with WidgetLocker. For development I just disable the lockscreen. The issue described above is hardware dependent and caused by the lockscreen. Similar issues exist on my phone (HTC EVO Design 4g) when I’m playing numerous games, some professional.

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

Sidebar

Related Questions

I'm developing an android application that contain many custom buttons. Do I need to
I'm developing an Android application that might be used at night. Therefor, I need
I have an android application that I'm developing, and the application really just a
I'm developing an Android application that uses native code. I need to add an
I am developing an android application that can send email. This following code lets
The Plan: I'm developing an android application that is heavily database driven (as in,
I'm developing an android application that sends an sms message from a window (Activity)
I'm currently developing an Android application that fetches images using http requests. It would
I'm currently developing an android application that uses sockets to connect to a local
I'm developing an Android 3.1 application that uses USB Host mode to communicate with

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.