JSR 179 - GPS access - webApp?

If you have an GPS-phone with JSR-179 you can easily get the coordinates of where you are.
But if you dont want to get the coords when using a web-browser where you would like to input them, can you even do that?
(I am in control of the web page)

lalvs wrote:
Can we get the co-ordinates using JSR 179 in a mobile device(With out using GPS)? I mean using cell-ID?http://developers.sun.com/mobility/apis/articles/location/
spatial location can be expressed in the widely used latitude-longitude-altitude coordinate system. Latitude is expressed as 0-90 degrees north or south of the equator, and longitude as 0-180 degrees east or west of the prime meridian, which passes through Greenwich, England. Altitude is expressed in meters above sea level.
If so which are the phones supporting this feature.+JSR 179 requires the Connected Device Configuration (CDC) or version 1.1 of the Connected Limited Device Configuration (CLDC). CLDC 1.0 isn't adequate because it doesn't support floating-point numbers, which the API uses to represent coordinates and other measurements. The Location API doesn't depend on any particular profile -- it can be used with MIDP or the Personal Profile.
The hardware platform determines which location methods are supported. If it doesn't support at least one location provider, LBS won't be possible. Applications can request providers with particular characteristics, such as a minimum degree of accuracy. Some location methods may be free; others may entail service fees. The application should warn the user before any charges are incurred. +

Similar Messages

  • JSR-179 GPS

    Hi,
    I want to have a custom Location object with my custom lat/lon.
    How can I do this? is it possible?
    Thank you for your replies if any :)

    I got this email from Kevin Sally:
    Hi Shahar,
    The JSR179 spec/API is meant to be used on Mobile devices with an embedded GPS receiver. However, having said that, if you include the JSR 179 package in your JSE application for a PC, you can use the distance measurements etc that are packaged with the JSR179 package. It seems like overkill though, I am sure there are other open source packages out there that will provide the capability to measure distances between points, etc.
    Basically, you will have to use streaming NMEA data on your serial port to aquire the GPS coordinates as the JSR179 spec is not meant to aquire GPS coordinates from a serial port.
    I hope this helps.
    Regards,
    Kevin
    Kevin Sally, P.Eng
    Certified Senior IT Architect, IBM WebSphere Services
    03/RKN/8200/MKM
    email: [email protected]
    (905)413-5613
    t/l:969-5613

  • LocationProvider (JSR 179) implementation for GPS on PC

    Hello all,
    Can any one direct me please to a LocationProvider implementation for windows of the JSR-179 location api.
    it seems that each mobile device should have it's own implementation of the LocationProvider. what happens if my mobile device is an ordinary PC running Windows?
    for that matter in need also an implementation for linux...
    It seems so trivial, I just need an implementation that knows to read NMEA protocol out of a COM port....
    it should be simple I feel that I'm missing something... I'm trying to find something for that last 24h and come in vain.
    please help,
    tnx in advanced,
    Shahar Daniel

    I got this email from Kevin Sally:
    Hi Shahar,
    The JSR179 spec/API is meant to be used on Mobile devices with an embedded GPS receiver. However, having said that, if you include the JSR 179 package in your JSE application for a PC, you can use the distance measurements etc that are packaged with the JSR179 package. It seems like overkill though, I am sure there are other open source packages out there that will provide the capability to measure distances between points, etc.
    Basically, you will have to use streaming NMEA data on your serial port to aquire the GPS coordinates as the JSR179 spec is not meant to aquire GPS coordinates from a serial port.
    I hope this helps.
    Regards,
    Kevin
    Kevin Sally, P.Eng
    Certified Senior IT Architect, IBM WebSphere Services
    03/RKN/8200/MKM
    email: [email protected]
    (905)413-5613
    t/l:969-5613

  • NoClassDefFoundError in JSR-179 code

    Hello. I am testing some GPS capabilities on my 7100i Sprint/Nextel. Everytime I try to run my midlet on the device, I get the "NoClassDefFoundError". The 7100i is listed as implementing the JSR-179 spec, so I am at a loss.
    I have tried getting the result of the System.getProperty("microedition.location.version") and it returns "1.0" as it should according to the spec. I have explicitly enabled permissions in the midlet for the .Location class.
    The code I am using it coming directly from an example posted on BlackBerry's site ... http://www.blackberry.com/developers/journal/jan_2006/blackberry_gps.shtml?CPID=OTC-devfeb17
    Can anyone provide help on getting past this error?

    I kept poking around on this and found that the .jar file did not include the .class files from the JSR-179 implementation. I manually added these to the preverification and recompiled and re ran on the device. Now I am getting "...attempts to access a secure API". It seems from that now I have to use the Blackberry/RIM digital signing process to gain access to this. Any additional comments on these topics are very welcome!

  • Is there any j2me phone in india which supports jsr 179

    Hi everyone,
    Is there any j2me phone in india which supports jsr 179 ? I want to test gps application in India. If not supported the is there any other way to test GPS application in india ?
    Thanx in Advance
    Krishan

    hi
    just do visit
    http://www.nokia.co.in for phones available in india
    and for specification see
    http://forum.nokia.com
    hope information may help you
    regards & all the best,
    Vasco

  • Anyone with JSR-179 phone needed!

    Could anyone please try the example below on one of the phones listed here:
    http://developers.sun.com/techtopics/mobility/device/pub/device/list.do?page=2&apiId=125
    The example is pretty straightforward:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.location.*;
    public class LocationMidlet extends MIDlet implements CommandListener {
        Command Exit = new Command("Exit",Command.EXIT,0);
        public LocationMidlet() {}
        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.setPreferredPowerConsumption(Criteria.POWER_USAGE_LOW);
                LocationProvider lp=LocationProvider.getInstance(c);
                Location loc=lp.getLocation(60);
                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();
    }This example is from: http://www.java-tips.org/java-me-tips/midp/location-based-services-on-j2me-devices.html
    You would need the wireless toolkit 2.5
    It seems to be working in emulator but I don't have access to the proper device to test it and I have read that the mobile operator has to support this as well in order to work.
    Any help would be appreciated. Thanks to all.
    I just want ot check if using location API with jsr-179 enabled phones is possible and with which mobile operator have you tested it. Thanks!
    Message was edited by:
    kris_java

    <snip>
    Waiting...
    Finding for location...
    Exception: javax.microedition.location.LocationException: getLocation() method cannot be called from event thread
    </snip>
    That's what my BlackBerry 8800 says.
    martin[at]teambender.de

  • JSR 179 and GSM

    Can we get the co-ordinates using JSR 179 in a mobile device(With out using GPS)? I mean using cell-ID?
    If so which are the phones supporting this feature.

    lalvs wrote:
    Can we get the co-ordinates using JSR 179 in a mobile device(With out using GPS)? I mean using cell-ID?http://developers.sun.com/mobility/apis/articles/location/
    spatial location can be expressed in the widely used latitude-longitude-altitude coordinate system. Latitude is expressed as 0-90 degrees north or south of the equator, and longitude as 0-180 degrees east or west of the prime meridian, which passes through Greenwich, England. Altitude is expressed in meters above sea level.
    If so which are the phones supporting this feature.+JSR 179 requires the Connected Device Configuration (CDC) or version 1.1 of the Connected Limited Device Configuration (CLDC). CLDC 1.0 isn't adequate because it doesn't support floating-point numbers, which the API uses to represent coordinates and other measurements. The Location API doesn't depend on any particular profile -- it can be used with MIDP or the Personal Profile.
    The hardware platform determines which location methods are supported. If it doesn't support at least one location provider, LBS won't be possible. Applications can request providers with particular characteristics, such as a minimum degree of accuracy. Some location methods may be free; others may entail service fees. The application should warn the user before any charges are incurred. +

  • Use Location API (JSR 179)

    Hello everybody!
    I'm studying JavaME and its APIs, especially the API JSR 179 (Location). Until I found tutorials on the Internet, though, as I am beginner, I can not locate me in code.
    The code was to take pictures, and imbuing it the geographical location of latitude and longitude, and write to a specific folder. However, only that the program captures the Latitude, Longitude and Altitude, and throw in the display.
    I ask your help to solve this problem.
    Thanks
    PS = To determine the speed, the API Mobility would be better, right?

    following tutorial will help you.
    http://wiki.forum.nokia.com/index.php/Mini_App_With_Location_API_and_Google_Maps_in_Java_ME
    Edited by: 795848 on Nov 20, 2010 1:15 AM

  • JSR-179 and Mobile Operators

    Hello!
    Anybody knows of a Mobile Operator that currently supports the J2ME Location API (JSR-179)?
    I havent managed to find anyone so far.
    Any Kind of Info will be greatly appreciated
    regards
    Thanos

    It is very frustrating. From the info I have found so far, many operators do offer various APIs to get location information, but this works from a server application (passing the MSISDN to the network operator's location server), and not from the device itself. These require that you have some business relationship with that operator. For example, Orange provide a location API (http://www.orange.co.uk/thirdparty/location.html") , but you have to be an "Orange Partner premium member" and Orange have to approve your application. No word on whether they will migrate this service to support JSR-179.

  • Local portlet (jsr 168) in separate webapp possible?

    I have a running portal webapp with some portlets inside (from the tutorials).
    Now I want to add a jsr 168 portet to the portal. The portlet is to be in a separate webapp. I already have it as a war file, if possible I would like to drop the import the war in the portal as a local portlet. Is this possible?
    In pluto (running on tomcat) the portal webapp can "see" the local portlets in other webapps through the crossContext="true" setting for webapp contexts.
    It is not possible for me to pack multiple portlets in a single webapp, since:
    - if possible I would like to deploy already packed war files
    - I use JSF (the required bridge to JSR-168 is already part of the webapp) which uses webapp-wide context-params and also faces-config.xml and other resources, making it impossible to mix multiple JSF portlets inside a single webapp.
    Thanks in advance

    No - this does not go through WSRP. WLP does bypass web services, SOAP,
    HTTP etc when you are running in what is called a local proxy mode. This
    mode is like a method call from the portal web app to your portlet web
    app.
    Subbu
    Peter Mutsaers wrote:
    You mean you have to go through WSRP, even in the local VM? Is there no way to have a truely local portlet (JSR-168 directly without WSRP) in another webapp when running in the same WLS instance?

  • GPS Access to high precision time and time stamping WASAPI microphone captures

    I am interested in using multiple WPs to capture microphone WAV that is time stamped with high accuracy (sub millisecond), hopefully from the GPS system. The GPS hardware obviously has the capability to sub microsecond levels but I can't find an API for
    it.

    What I would like to do is get geo positional data, which has a defined statistical uncertainty but might be relatively better correlated and as accurate a time stamp as possible.  Latency isn't an issue but consistency is. GPS, of course, easily produces
    time information to sub microsecond though I don't know a way to access it in WP.  .1ms consistency would be all I really need but it's important that each phone in a cluster be able to capture and time stamp a sound (assume all phones are equidistant
    from a source) to within .1ms. I am thinking of a product that could be used, for one obvious example at weddings, to capture the proceedings and allow after the fact enjoyment by replaying the proceedings and shifting the focus on the bride/groom minister
    as they talk using beam forming dsp tech from the data. There are other ways but it occurs to me that the ubiquity of smart phones would really make this easy. Just have the guests download an app. It would be part of a wedding doc package along with videography
    and stills.

  • Create a view based off a query in Access WebApp

    I'm trying to create a summary view based on a query.  The query is being used to make a simple join two tables.  I don't have an issue creating a datasheet or list view off the query, but when I try to create a summary view, I'm unable to
    create it.
    From the desktop app, I'm able to click on the plus sign to add a new view, give it a name, choose the type and select my record source.  When I click on "Add New View" nothing happens.  I do not get any progress dialog box as I do for
    other views.  The popup for the "Add New View" simply disappears.  Is this the expected behavior?
    Based on this thread I don't think so.
    https://social.msdn.microsoft.com/Forums/en-US/a5e60abc-0061-429e-8ce8-2014626c42c2/access-web-app-open-a-subform-from-a-query-based-summary-view?forum=accessdev
    Again, this is a simple query table 1 has 8 colums, all of them are simple text except for one lookup column that includes the data with the table, one column stores the a primary key from the second table.  The second table is a simple table with
    3 columns. 
    Is this a limitation of the Access Web App?

    Hi,
    You should be able to create a new summary view off a saved query. The behavior you describe sounds very odd but I’m not able to repro this on my computer. Could
    you try something for me? Try and create a new summary view and use a table as its record source. Does that get created OK?
    Jeff Conrad - Access Junkie - MVP Alumnus
    Senior Content Developer - Modern Assistance and Support Experience - Microsoft Corporation
    Author - Microsoft Access 2013 Inside Out
    Author - Microsoft Access 2010 Inside Out
    Co-author - Microsoft Office Access 2007 Inside Out
    Access 2007/2010/2013 Info: http://www.AccessJunkie.com
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/en-us/legal/Copyright/Default.aspx

  • Location service fees (JSR-179)

    How do we determine costs associated with using the LocationProvider class? I'd like to have an idea during the design phase at the very least, and at most, be able to know at runtime so I can throttle requests based on costs of a particular user's service plan.
    Anyone?

    How do we determine costs associated with using the LocationProvider class? I'd like to have an idea during the design phase at the very least, and at most, be able to know at runtime so I can throttle requests based on costs of a particular user's service plan.
    Anyone?

  • How to access GPS from Nokia 5130 Xprssmusic?

    I have Downloaded one GPS app for my Nokia 5130 xpresmusic. But when i run the app; at staring, app shows one message that is, "No selected GPS receiver" and when I go to connect to GPS receiver manually, app automatically starts Bluetooth and again shows previous message. I am not getting what should I do now????? 
    Rahul More

    I don't know about GPS receiver.... According to some other expert suggestion, I need external GPS receiver which is one gadget which use to access GPS via Bluetooth of phone 
    I am developing a J2ME GPS based app & I am new in the GPS development field. For app testing purpose I want to connect my 5130 to GPS. I saw the specification of 5130 in that GPS & Location API(JSR 179) is absent that means my phone will not access GPS??
    Is there any possibility to add Location API or GPS in my phone?? 
    Rahul More

  • Any way to access params passed in URL  implementing JSR 168 on Oracle Appl

    I'm trying to access the params passed through URL like : http://hostname:7777/portal/page/portal/Wes%20store%20Sample/OnlyOnePortal
    webStoreId=100&Id=10000
    I have create a portlet with jsp implementing JSR 168 on Oracle Application Server 10g
    But unable to access them in either actionProcess() as well as render() using actionRequest and renderRequest as well.
    I wonder will this possible with JSR 168 to access params passed in URL in any way
    Can any body help me do this

    access params passed in URL  implementing JSR 168 on Oracle Application Ser

Maybe you are looking for