×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Hybrid View

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    5

    devices supporting jsr 179

    Are there any devices that currently support JSR 179? I've tried searching but can't find any so I'm guessing none? When are devices excpected to support the api?

    Can someone list all other available location apis? I know Motorola has one for java. I'm eager to start development on an LBS app I have in mind and I don't think I can wait until the majority of devices begin to support JSR 179.

    Thanks.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    to the best of my knowledge none of the device supports JSR-179 at the moment..and if making an application that runs on a large number of phones..then go in for a Symbian C++ application ...as it would give u the location API's and can be used on most of the phones..with a lil bit of customisation for each of the platforms.
    ciao

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    5

    Symbian C++ location api

    Thanks for the reply. I was about to go with the Parlay/OSA java location api. Do you have a link or more on information on where I can go to find more about the Symbian C++ location api? I've tried looking but haven't been able to find anything.

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    please check the Symbian forum and also the newlc.com..u might be able to find something worthwhile there,i will look for some links and if i have any..i will let u know..
    ciao

  5. #5
    Registered User
    Join Date
    Sep 2003
    Location
    Fort Collins Colorado
    Posts
    31

    Where's the Beef?

    A lot of people in this forum asking about the implementation (as opposed to the specification) of JSR179, but no answer from Nokia, why?

    Do *ANY* Nokia phones support JSR179? Seems like a simple question...

    I know the RI for emulation is available, but what's the point if there are no phones that support it?

    What are the details of Nokia's (planned?) implementation, what phones will support it?

    Anyone that has information about an actual implementation of JSR179 on a real phone please let us know too.

    Any information is appreciated, if you don't want to post please email to me at kburgess@redhensystems.com

    Thanks,
    Ken

  6. #6
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    second quater of 2005 is the possible time frame when the new Nokia phones would have support for the same.The Series 60 Feature Pack 2 enabled phones will be having this support.More information can be had from www.Nokia.Com/events..there u will find presentations where Nokia is talking about all this i suppose
    ciao

  7. #7
    Registered User
    Join Date
    May 2004
    Posts
    5

    C++ locationa api

    Do you have any more information on the C++ location api? So far I've only been able to find code that allows you to retrieve the CellID of the phone but I was expecting something more like JSR179 where you're provided with a getLocation method.

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    u can get the Cellid with the C++ API for the location name..if that what u looking for..the shortnetworkname() is being used..for that the implementation is non-trivial..i.e. u wont find it in the SDK doc..but there is a way to do it..and there is one class also for that..i dont quite recall which one..i will let u know if i recall it..otherwise the other way would be to request the service provider for that information but then it would cost.
    ciao

  9. #9
    Registered User
    Join Date
    Mar 2003
    Location
    Bremen, Germany
    Posts
    106
    I don't know of any Nokia phone supporting the Location API (JSR 179) so far, but there are some phones out there:

    http://www.j2mepolish.org/devices/de...cationapi.html


    Best regards,
    Robert

  10. #10
    Super Contributor
    Join Date
    Feb 2004
    Location
    Dallas
    Posts
    605
    Thanks Enough...........

    Actually Nokia guys Talk about Series 60 Platform 2 eature Pack 3 will have support for Location API

  11. #11
    Registered User
    Join Date
    May 2004
    Posts
    5

    feature pack 3

    Do you have any links to more information on feature pack 3's support for the location api?
    I've been able to find info on feature pack 3 but I haven't found anything saying that it will support the location api.

  12. #12
    Super Contributor
    Join Date
    Feb 2004
    Location
    Dallas
    Posts
    605
    Feature Pack 3 has not been announced as yet .
    May be in 2005 they will introduce it

  13. #13
    Registered User
    Join Date
    Nov 2004
    Location
    Gothenburg, Sweden
    Posts
    5
    In Series60 version 2 feature pack 2 there is C++ Location API available.

    There is also example application and documentation.

  14. #14
    Registered User
    Join Date
    Sep 2011
    Posts
    18

    Re: devices supporting jsr 179

    i have one code as follow
    it is working fine in emulator but not on mobile phones
    this is related to jsr-179
    pls kindly help me
    thank you

    import java.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.util.Enumeration;
    import java.util.Hashtable;
    import javax.microedition.location.*;

    public class Location extends MIDlet
    {
    String error = "";
    private static Display display = null;


    protected void startApp() throws MIDletStateChangeException
    {
    display = Display.getDisplay(this);
    System.out.println("loading");

    LocationProvider lp=null;
    javax.microedition.location.Location location=null;
    Criteria cr= new Criteria();
    cr.setHorizontalAccuracy(5000);
    cr.setVerticalAccuracy(5000);;

    try
    {
    lp= LocationProvider.getInstance(cr);
    }
    catch(LocationException e)
    {
    addError(e);
    }

    try
    {
    //timeout
    location = lp.getLocation(20);
    }
    catch(LocationException e)
    {
    addError(e);
    }
    catch(InterruptedException e)
    {
    addError(e);
    }

    String res="[RESULTS]\n";
    try{

    Coordinates coordinates = location.getQualifiedCoordinates();

    res+="Altitude:"+coordinates.getAltitude()+"\n";
    res+="Latitude:"+coordinates.getLatitude()+"\n";
    res+="Longitude:"+coordinates.getLongitude()+"\n";

    }catch(Exception e){
    addError(e);
    }


    Form f = new Form("Results");

    f.append(res);
    f.append(error);

    display.setCurrent(f);


    }

    void addError(Exception e){
    e.printStackTrace();
    error+=e.getMessage()+"\n";

    }

    protected void pauseApp()
    {
    }

    protected void destroyApp(boolean unconditional)
    throws MIDletStateChangeException
    {
    }


    public static Display getDisplay()
    {
    return display;
    }



    }


    plz rply fast
    i live in india, mumbai
    write suggation abt service provider if any,
    Last edited by siddhesh304; 2011-09-20 at 23:02. Reason: updating

  15. #15
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: devices supporting jsr 179

    siddhesh304,

    1. Don't post a new question in a 7 year old thread, but start a new thread instead.

    2. Don't post the same question in multiple threads.

    3. Use CODE tags in your posts for code (makes it more readable as it keeps the intendation intact).

    4. Tell us which phone model you've tried this on (and if it has a built-in GPS receiver, whether it is enabled/on or not).

    5. Tell us which network operator you are using (whose SIM card you have).

    6. If the phone does not have GPS, call your network operator, and ask them if they support network based location services or not. If not, there's no chance whatsoever that your app will get the location on their network.

    7. Tell us how the program does not work in the phone you've tried it on. Does it install? Does it return any errors? Does it return unexpected location info? What?

    8. Try it also on a phone with built-in GPS, and which has the GPS enabled (verify it with, e.g., a maps application).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×