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. +

Similar Messages

  • 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.

  • 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

  • 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

  • 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

  • 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!

  • 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. +

  • 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

  • Can i use cdma for internet and gsm for phone at a time in Iphone4s?

    Can i use cdma for internet and gsm for phone at a time in Iphone4s?

    No. Phones sold by GSM carriers can't access CDMA at all and phones sold by CDMA carriers can only access GSM if they are a) unlocked and b) in an area where there is not CDMA.
    Best of luck.

  • USB sync cable different for CDMA and GSM version phones?

    I recently ordered a USB sync cable for Iphone 4S from ebay. I want to know whether the USB sync cable for Iphone 4S is different for CDMA and GSM version phones? And if they are then what are the likely consequences if they are interchanged and used inadvertantly.

    All recent iDevices use the same type of connector/cable.
    Stedman

  • JSR 168 and Struts support sample error

    I'm trying to get the sample webapp for JSR 168 and Struts support working with
    WebLogic 8.1, and I'm having problems with the struts portlet. The other portlets
    seem to work fine, but the Struts portlet gives the following error after clicking
    "Save" on most of the forms:
    Page Flow Error - Action Not Found
    Page Flow: Global.app
    Action: html-setters.do
    Unable to find action html-setters.do.
    That error appears in the browser. At the same time, the following exception
    appears in the server window:
    <Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control
    :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
    page flow lookup for the given action [html-setters.do] in the given PageFlow:
    [struts/exercise-taglib].
    This exception is followed by hundreds of lines of the following:
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
    as well as several stack overflow errors.
    I believe I have installed the JSR168 and Struts support package according to
    the instructions, and have copied the required jars into the samples WEB-INF/lib
    directory. I also have tried to write my own Struts application in a portlet,
    and it gets the exact same errors when I try to submit a form to my actions.
    Any insight would be much appreciated!
    Thanks,
    Patrick

    Hi Brodi,
    I am having the same problem as Patrick. The problem is not in the struts portlet,
    but in the forms the portlet navigates to. After the struts portlet loads, I
    am able to use the html:links and navigate through the pages. Though when I try
    to submit a form I get the action not found error. For example the html-select
    page has a form. This page loads fine, but when I hit the save button I get the
    following error.
    <Aug 25, 2003 11:00:00 AM EDT> <Error> <netui> <BEA-420012> <There was an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for the contro
    l :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
    page flow lookup for the given action [html-select.do] in the given PageFlow:
    struts/exercise-taglib].
    The application appears to loose the struts context. It tries to find the localhost:7001/samples/html-select.do
    action instead of localhost:7001/samples/struts/exercise-taglib/html-select.do
    action. How do I keep the application from loosing context?
    Thank you,
    Karen
    "Brodi Beartusk" <[email protected]> wrote:
    >
    Patrick-
    I've seen similar things happen when the module name is either not specified
    correctly
    in the StrutsContent element in the portlet, or when the module is misconfigured,
    usually because of either a mising config file or a mis-named config
    file.
    Ensure that you have a the struts config file for the exercise-taglib
    module in
    WEB-INF, named jpf-struts-config-struts-exercise-taglib.xml.
    -Brodi Beartusk
    "Patrick Callis" <[email protected]> wrote:
    I'm trying to get the sample webapp for JSR 168 and Struts support working
    with
    WebLogic 8.1, and I'm having problems with the struts portlet. Theother
    portlets
    seem to work fine, but the Struts portlet gives the following errorafter
    clicking
    "Save" on most of the forms:
    Page Flow Error - Action Not Found
    Page Flow: Global.app
    Action: html-setters.do
    Unable to find action html-setters.do.
    That error appears in the browser. At the same time, the followingexception
    appears in the server window:
    <Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was
    an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for
    the control
    :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could
    not do
    page flow lookup for the given action [html-setters.do] in the given
    PageFlow:
    [struts/exercise-taglib].
    This exception is followed by hundreds of lines of the following:
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
    as well as several stack overflow errors.
    I believe I have installed the JSR168 and Struts support package according
    to
    the instructions, and have copied the required jars into the samples
    WEB-INF/lib
    directory. I also have tried to write my own Struts application ina
    portlet,
    and it gets the exact same errors when I try to submit a form to myactions.
    Any insight would be much appreciated!
    Thanks,
    Patrick

  • ADPCM and GSM to wav file with RAWCONVERTER

    Hi, is it possible to codify ADPCM and GSM in a .wav file with the RawAudioDataConverter(jsresources) or do they need a targetEncoding?. I have recorded GSM data in a wav file but I can't decode them.
    Example of my GSM coder and decoder
    AudioInputStream ais = null;
              AudioFormat.Encoding targetEncoding = null;
              AudioInputStream audioInputStream;
              File encodedFile = null;
    encodedFile = new File("gsm" + audioFile.getName());
                   try
                        ais = AudioSystem.getAudioInputStream(audioFile);
                   } catch (Exception e)
                        e.printStackTrace();
                   if (ais == null)
                        System.out.println("No se puede abrir el archivo");
                   AudioFormat sourceFormat = ais.getFormat();
                   if (!sourceFormat.getEncoding().equals(
                             AudioFormat.Encoding.PCM_SIGNED)
                             || sourceFormat.getSampleRate() != 8000.0F
                             || sourceFormat.getSampleSizeInBits() != 16
                             || sourceFormat.getChannels() != 1)
                        System.out
                                  .println("The format of the input data has to be PCM 8 kHz 16 bit mono");
                        System.exit(1);
                   AudioFormat.Encoding targetEncod = new AudioFormat.Encoding(
                             "GSM0610");
                   AudioInputStream gsmAIS = AudioSystem.getAudioInputStream(
                             targetEncod, ais);
                   AudioFileFormat.Type fileType = new AudioFileFormat.Type("GSM",
                             ".gsm");
                   int nWrittenFrames = 0;
                   try
                        nWrittenFrames = AudioSystem.write(gsmAIS, fileType,
                                  encodedFile);
                   } catch (IOException e)
                        e.printStackTrace();
                   }Example of my GSM decoder:
    private File decodificar(File FileIn)
              AudioInputStream ais = null;
              File in = new File(archivoCodificado.getName());
              File FileOut = new File("decod" + in.getName());
              try
                   ais = AudioSystem.getAudioInputStream(in);
              } catch (Exception e)
                   e.printStackTrace();
              if (ais == null)
                   System.out.println("cannot open input file");
              AudioFormat.Encoding targetEncoding = AudioFormat.Encoding.PCM_SIGNED;
              AudioInputStream pcmAIS = AudioSystem.getAudioInputStream(
                        targetEncoding, ais);
              AudioFileFormat.Type fileType = AudioFileFormat.Type.WAVE;
              int nWrittenBytes = 0;
              try
                   nWrittenBytes = AudioSystem.write(pcmAIS, fileType, FileOut);
                   System.out.println("AudioDecoder: written (bytes): "
                             + nWrittenBytes);
              } catch (IOException e)
                   e.printStackTrace();
              return FileOut;
         }I think that it might be well recorded but it doesn't works, giving and exception. I think that its all right because the number of byts in my GSM recorded file is about the tenth part of a PCM lineal file, and when I try to reproduce it with winamp for example it detects a sound track but it can't calculate the length of the GSM file(wav extension I mean)

    QuickTime Player X does not export WAV. You could use QuickTime Player 7, which if it's not in your Utilities folder already can be installed from the Optional Installs on the Snow Leopard install disk, but you'll need to purchase a QuickTime Pro key.
    Regards.

  • SAP Enterpirse Portal Development standards (JSR 168 and JSR 286)

    Hi
    I am working on SAP Entperprise Portal Assessment. I  heard SAP-EP not supporting JSR 168 and JSR 286 standards.
    Can anyone please let me know what JSR 186  and  JSR 286 standards are and impact in SAP development work.
    Thanks everyone.

    Hi Ravi,
    SAP EP is definitely not supporting JSR 168.
    The next release (Portal on NetWeaver 7.1) will support JSR 286.
    You have to consider that the huge amount of SAPs standard portlets / iViews (addressing Knowledge Management, Employee Self Service, Business Intelligence, etc.) will not be implementations of JSR 286 but so called portal applications or Web Dynpro applications.
    HTH,
    Carsten

  • Support for JSR 168 and WSRP

    Hi,
    does SAP EP 7.0 supports JSR 168 and WSRP standards?
    Regards,
    Ladislav

    Hi Ladislav,
    Here are a few pointers that might answer your question:
    - WSRP 1.0 is supported in NetWeaver 7.0 (see this [SAP Help Page|http://help.sap.com/saphelp_nw70/helpdata/en/43/23fb36cad10d23e10000000a1553f7/frameset.htm] for more information)
    - JSR 168 support for Netweaver 7.0 has been discussed often but never confirmed in SAP documentation (check this thread for a recent SAP unofficial comment about its upcoming availability). However, NetWeaver CE 7.1 already supports JSR 168 (see this [SAP Help Page|http://help.sap.com/saphelp_nwce10/helpdata/en/44/5b96b37b6f4de1e10000000a1553f7/frameset.htm])
    Hope this helps.
    Best Regards,
    Joseph

  • Conference bridging between VoIP and GSM calls

    Hello, Can E61/E62/E50/E70 do conference between one call that's running on GSM and second call running through SIP client on VoIP? Thanks, Bilal

    I tried to connect the GSM call to VOIP call on E72, but it has not happened.
    I presume this may be the case, also there may be a solution for this.
    VOIP Connection:
    For VOIP calls the network uses an existing external IP address to transfer the information from the a server.  The information received vide VOIP shall be transformed into voice which enables us to here the data conveyed by the server.
    GSM Connection:
    For GSM calls the network uses the intermediate service provider slot to convey the information as a signal throught the network. The signals are the direct output we hear as sound.
    By my observation, in my mobile, the two network actions (VOIP and GSM) can be performed instantaneously or simultaneously.
    The mobile needs a medium to convert either the GSM output signal (audio) to Internet packet data (bytes) and the VOIP software installed in mobile should recognize the same audio as an input and allow for a conference call.
    or
    VOIP call get converted into GSM signal.

Maybe you are looking for

  • Interactive reporting in a single client

    Hello, I want to implement the interactive reporting in the same client in which the CRM is running (I know that it is recommended to use a different client). When I come to the point where I have to create the source system, I get an error: I go to

  • Multiple Word Strings Using C++ in Xcode 2.2

    This is my first post and I'm happily a new member and hopefully a helpful one as well. I took a C++ programming class in school, decided to use Xcode and start doing programming again. However, I have this issue: I'm trying to use a string to read m

  • OS X 10.6.1, Canon Pixma MP600R, and wireless Airport Extreme Base Station

    I can't get my MacBook Pro on OS X 10.6.1 to recognise my Canon MP600R printer via my AEBS. There was no problem with its predecessor, an iBook on Tiger. As well as the MacBook I've got a PC on XP Home + SP3. The setup I'm aiming for is USB access to

  • My iMac shuts down unexpectedly

    I've got a iMac from I believe 2007 and it shuts down at least 15 minutes after boot up all the time. I've repartitioned the HD and reinstalled Mac OS X Lion. I ran an Apple Hardware Test from the original reinstall disks. I sthere any other way I ca

  • Problem in creating trip

    Hi, We created a custom application using web dynpro for abap to create a trip.We are using FM FITP_CREATE_TRIP_FROM_REQUEST to create a trip up to here every thing is fine and it is creating trip also.But when i am trying to create another trip in t