Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor akki123's Avatar
    Join Date
    Jul 2012
    Posts
    82
    I was following the example to retrive the location from the link :-
    http://www.developer.nokia.com/info/...n_Example.html

    But in this link when user put the command to retrieve the location it calls the function

    void CLocationExampleEngine::ActivateGpsL().

    After that in side this function

    we are initializing the pointer of CLocationExamplePositionRequestor.

    if (!iPositionRequestor)
    {
    iPositionRequestor = CLocationExamplePositionRequestor::NewL(KUpdateInterval,*this);
    SetEngineState(EScanningGps);
    }

    but here in this function when i am debugging i am getting error on the line

    if (!iPositionRequestor)

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    if you get errors, you should actually descripe the error in details, best would be if you can write the panic note shown when it crashes.

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    If you get KERN-EXEC 3 when accessing an innocent member variable, it may indicate that the object itself (CLocationExampleEngine) does not exist. It is possible to invoke any non-virtual methods on a null/invalid pointer, because the method bodies are present all the time. The leave/exception arises when member variables are getting accessed.
    But of course I still strongly disagree with your habit of not showing the error codes.

Similar Threads

  1. Retriving latitude & longitiude.
    By akki123 in forum Symbian C++
    Replies: 7
    Last Post: 2012-12-13, 08:55
  2. Replies: 3
    Last Post: 2012-11-22, 12:42
  3. JSR 179 -Getting Longitude Latitude Values of Current Location
    By satyarajasekhar in forum Geolocation and Navigation
    Replies: 11
    Last Post: 2011-11-16, 12:00
  4. Open google map site with current Longitude and Latitude
    By videoFx in forum [Archived] Flash Lite on Nokia Devices
    Replies: 3
    Last Post: 2009-04-06, 18:11
  5. problem in retriving single general number of position 2
    By divya_v in forum Mobile Java General
    Replies: 10
    Last Post: 2009-01-03, 01:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved