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

  • Home
  • SEARCH
  • 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 6898917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:21:22+00:00 2026-05-27T07:21:22+00:00

I am having a serious issue with my app. I use the permission android.permission.ACCESS_COARSE_LOCATION

  • 0

I am having a serious issue with my app. I use the permission android.permission.ACCESS_COARSE_LOCATION in a broadcast receiver and it runs perfectly.

However after a certain amount of time (this seems to be random) the app crashes with the following output:

SecurityException neither user 10086 nor current process has permission android.permission.ACCESS_COARSE_LOCATION

I have included the permission in the Manifest using <uses-permission etc /> and as a attempt to make it more specific when I sendOrderedBroadcast I broadcast the permission as well and have given the permission to the broadcast receiver so that it can receive the broadcast which is does.

But like I say after a while the SecurityException is thrown at the second line of code:

TelephonyManager Tel = (TelephonyManager) vb.getPsrC()
            .getSystemService(Activity.TELEPHONY_SERVICE);
GsmCellLocation cellLocation = (GsmCellLocation) Tel.getCellLocation();

This crash seems to only occur on a test device running Froyo.

On a device running Gingerbread, the app just restarts the service using less memory and does nothing. are these problems related or is the Security Exception mutually exclusive to the app crashing.

  • 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-27T07:21:22+00:00Added an answer on May 27, 2026 at 7:21 am

    Ok, so turns out the culprit is a memory leak. When GREF reached 2001 it crashed and basically emptied it (for lack of a better phrase) causing the app to think that the permission was not given. I fixed it moving the phonelistener into the service.

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

Sidebar

Related Questions

I am having some serious problem with some e-mail issue. in short: loading a
I'm having serious trouble figuring out what is making certain function calls ambiguous and
I am new to ios development. I am having a very serious issue now.
I am having serious issues trying to use the Javascript API for facebook. I
I'm having a serious issue with Internet Explorer caching results from a JQuery Ajax
I am having some serious issue while loading Staging Table from Data Store. My
I am having a serious issue I can not figure out. I am trying
I'm having a serious issue when trying to display a FlareCanvas within my application.
I am having a serious issue with one application developed in CI. Currently my
I am having a serious issue with UITableView reloadData method. I have a UIViewController

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.