Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User stylofogg's Avatar
    Join Date
    Sep 2010
    Posts
    11
    I am able to get latitude and longitude values using this

    void CLBSSampleAppView1::GetGPSInfoL()
    {
    // create CGpsPositionRequest object and put it into cleanup stack;
    // pass application name as argument
    CGpsPositionRequest* request = CGpsPositionRequest::NewL(
    _L("LBS_0xEA962394"));

    CleanupStack::PushL( request );
    // get current location (this operation can be long up to 30 seconds);
    // progress dialog is shown to user during this time
    TBool result = request->FetchCurrentPostionL(latitude, longitude);

    // delete request object
    CleanupStack::PopAndDestroy(request);

    if(result)
    {
    // Setup a file in the filesystem to download the map
    SetupFileDownload();
    // send HtTp request to download map
    SendHTTPRequestL();



    }


    }


    How to display it on the appview using normal draw method.....


    Thanks,
    Stylofogg

  2. #2
    Registered User kis_spn's Avatar
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128
    Hi,

    you can display latitude and longitude use of DrawText Function in Draw function of AppView... or Download GEoTagging example...
    http://wiki.forum.nokia.com/index.ph...ng_Example.zip

Similar Threads

  1. 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
  2. Dynamically provide latitude and longitude values
    By joy.mca in forum Symbian C++
    Replies: 4
    Last Post: 2009-07-23, 07:06
  3. not able to get Latitude & Longitude values
    By smita.pawar in forum Symbian C++
    Replies: 7
    Last Post: 2008-10-08, 11:05
  4. Latitude/Longitude on map
    By piterr1410 in forum Mobile Java General
    Replies: 10
    Last Post: 2008-07-08, 16:55

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