Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User DileepKumar's Avatar
    Join Date
    Nov 2011
    Posts
    66
    I develop one project in location based service . Already, i am find the current location (latitude and longitude) value in satellite based.
    Now, i want to find current location (latitude and longitude) value in Network based.(without native API) .

    How to do that?

    2.location.getLocationMethod(); this method return Assisted GPS. Now, i want set Location method in Location.MTE_CELLID . How to do?
    Please Help me..

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    I moved this to own thread, since it was not related to the original thread where you posted this in. Anyway, you might also want to still identify the actual technology used. I would assume its Java, but just to make certain, so people who want to answer you would know that before answering.

  3. #3
    Registered User DileepKumar's Avatar
    Join Date
    Nov 2011
    Posts
    66
    Now , i am writing code for find current location in network based .. but , it does not working well..
    I don't know the solution .
    Any one know then help me..


    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.location.*;

    public class Locate extends MIDlet implements CommandListener {

    Command Exit = new Command("Exit",Command.EXIT,0);
    public Locate() {}

    public void startApp() {
    Form f=new Form("Waiting...");
    f.append("Finding for location...");
    f.addCommand(Exit);
    f.setCommandListener(this);
    Display.getDisplay(this).setCurrent(f);
    try {
    Criteria c=new Criteria();
    c.setHorizontalAccuracy(1000);
    c.setVerticalAccuracy(1000);
    c.setCostAllowed(true);
    c.setPreferredPowerConsumption(Criteria.POWER_USAGE_LOW);

    LocationProvider lp=LocationProvider.getInstance(c);
    Location loc=lp.getLocation(200);
    QualifiedCoordinates qc=loc.getQualifiedCoordinates();
    f.append("Alt: "+qc.getAltitude());
    f.append("Lat: "+qc.getLatitude());
    f.append("Long: "+qc.getLongitude());

    } catch(Exception e) {
    f.append("Exception: "+e);
    }
    }

    public void pauseApp() {}

    public void destroyApp(boolean destroy) {}

    public void commandAction(Command c, Displayable s) {
    if (c == Exit) {
    destroyApp(true);
    notifyDestroyed();
    }
    }
    }

  4. #4
    Registered User DileepKumar's Avatar
    Join Date
    Nov 2011
    Posts
    66
    I am using nokia n95 mobile.

    network based positioning is possible or not using j2me standard library.

    please guide me...

  5. #5

Similar Threads

  1. Replies: 0
    Last Post: 2011-03-22, 10:47
  2. Problem getting network-based location
    By campbeltonian in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-05-04, 15:10
  3. Network Based Location discovery in J2ME
    By ascii23 in forum Geolocation and Navigation
    Replies: 0
    Last Post: 2009-06-19, 11:47
  4. E62 Location using Network Based
    By felipe.correa in forum Geolocation and Navigation
    Replies: 0
    Last Post: 2008-04-26, 16:32
  5. Network based location in Python?
    By miohtama in forum Python
    Replies: 4
    Last Post: 2007-12-31, 09:40

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