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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:50:58+00:00 2026-06-17T12:50:58+00:00

i am starting GPS and then kept it on and make phone call within

  • 0

i am starting GPS and then kept it on and make phone call within application using openUrl and then come back to application again and try to stop that GPS by calling stopUpatingLocation but GPS didn’t stop.

Please give some solution to stop GPS.

Code

 app.locationManager.delegate=app;
 [app.locationManager startMonitoringSignificantLocationChanges];
 [app.locationManager startUpdatingLocation]; //start gps              

then call hangup using code [[UIApplication sharedApplication] tel:@"number"];

**Now after call hangup i need to stop that gps .... i have already written code below** 

[app.locationManager stopMonitoringSignificantLocationChanges];
[app.locationManager stopUpdatingLocation];
app.locationManager=nil;
[app.locationManager release];

Thanks in advance

  • 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-17T12:51:00+00:00Added an answer on June 17, 2026 at 12:51 pm

    I guess just make a release for the location manager object.also make it a nil.

    example::

    [locationManager release];
    locationManager=nil;
    

    write these two lines in your dealloc.
    Hope it helps

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

Sidebar

Related Questions

Starting using werkzeug, i try to map urls (from a file urls.py) to views
I want to make GPS app and I'm starting with this code which is
starting a new project and want to try using the storyboard feature of xcode
Starting to learn Canvas and have two classes so far (main one to call
When testing my GPS tracking application, there is a problem with another GPS tracking
I want to get location using GPS only. I don't want to use internet
I use cordova 1.6.1 and try to access the gps. But onSuccess function never
I am making a application that uses the GPS receiver. The application will work
I'm trying to create an application which gets my geo position via GPS and
I am trying to get the GPS location of my G1 using the following

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.