J2ME WITH NMEA

I would like to know, who knows, how i can make a connection J2ME with NMEA protocol(GPS), somebody can give me a source code example? Thanks !!

You can find a very nice tutorial on http://servlet.java.sun.com/javaone/sf2002/conf/sessions/18-introductory-expanded.en.jsp
You should have found this if you had googled "j2me nmea", it was on the third place ;)
And now that you know this, can you write a GPS-spy program for me, because I'm a total newbe in this kind of stuff. (just kidding :)

Similar Messages

  • J2me with mysql

    hello everyone,
    can we anyone help me with small example, how to connect j2me with mysql.

    Put all your Database transactions in server side, using Connection framework in J2ME, access that URL by your device. Here is a snap to access a URL to get the message returned by that URL.
    public String getMessage(String url)
         HttpConnection hc = (HttpConnection)Connector.open( url, Connector.READ_WRITE );
         hc.setRequestMethod( HttpConnection.POST );
         InputStream in=hc.openInputStream();
         DataInputStream dis=new DataInputStream(in);
         int ch;
         String msg="";
         while((ch=dis.read())!= -1)
              msg=""+msg+(char)ch;
         reutrn msg;
    }

  • Sample configuration of IME 7.0 with NME-IPS-K9 and How to get licence for NME-IPS-K9?

    Dear all,
    I already installed NME-IPS-K9 with Cisco Router 2821 series successfully and I used IME(Cisco IPS Manager Express 7.0.1) to configure NME-IPS-K9 but I never try with this before. I have some issue need everyone help:
    1. Could you share the sameple for configuring IME with NME-IPS-K9 to monitor and manage all network traffice or package that attack to NME-IPS-K9?
    2. Could you show me how to get licence for NME-IPS-K9?
    Thanks everyone for your time to help me and share your great ideas.
    I am really appreciated and  looking for forward to hearing response from you all.
    With my warm regards,
    Sarem Phy
    H/P:092562530

    CPU 100% on the NME-IPS module is normal. It will always show 100%. CPU on IPS is not related to the inspection load.
    To check if the IPS module is overloaded, please check the "Inspection Load" speedometer.

  • 3845 Router do not work with NME-X23ES-1GP Interface card

    Need help!
    I Trying install interface card NME-X 23ES-1GP on 3845 Router. I installed this card in slot 4, but router could not communicate with this card.
    IOS version in Router 12.3
    Here is results show diag command:
    Slot 4:
    Unknown (type 1187) Port adapter
    Port adapter is disabled deactivated
    Port adapter insertion time unknown
    EEPROM contents at hardware discovery:
    Hardware Revision : 1.0
    Top Assy. Part Number : 800-25011-01
    Board Revision : A0
    Deviation Number : 0-0
    Fab Version : 03
    PCB Serial Number : FOC090009VC
    RMA Test History : 00
    RMA Number : 0-0-0-0
    RMA History : 00
    Product (FRU) Number : NME-X-23ES-1G-P
    Version Identifier : V01
    Base MAC Address : 0013.8088.9f80
    MAC Address block size : 128
    EEPROM format version 4
    EEPROM contents (hex):
    Possibly IOS release too old?

    Thank you for link. I read all information on this link. But I can't solve the problem.
    Commands "show version" and "show flash:" show my the IOS image file version on Router (but not on interface modules). Here is Routers IOS image:
    c3845-advipservicesk9-mz.123-11.T5.bin
    I Can't connect to and open a session on the interface module. Command service-module interface slot/port session don't work.
    What I should do next?
    May is ncessarily upgrade Software on router?
    Here is results show version and show flash:
    BIG1#show flash:
    -#- --length-- -----date/time------ path
    1 29801400 Jun 28 2005 04:47:46 +00:00 c3845-advipservicesk9-mz.123-11.T5.bin
    2 1651 Jun 28 2005 04:55:18 +00:00 sdmconfig-38xx.cfg
    3 3085312 Jun 28 2005 04:55:40 +00:00 sdm.tar
    4 763392 Jun 28 2005 04:55:56 +00:00 es.tar
    5 820224 Jun 28 2005 04:56:10 +00:00 common.tar
    6 1038 Jun 28 2005 04:56:24 +00:00 home.shtml
    7 113152 Jun 28 2005 04:56:36 +00:00 home.tar
    8 749101 Jun 28 2005 04:56:52 +00:00 256MB.sdf
    9 1208320 Jun 28 2005 04:57:08 +00:00 ips.tar
    27451392 bytes available (36560896 bytes used)
    BIG1#show version
    Cisco IOS Software, 3800 Software (C3845-ADVIPSERVICESK9-M), Version 12.3(11)T5, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2005 by Cisco Systems, Inc.
    Compiled Sat 02-Apr-05 15:14 by yiyan
    ROM: System Bootstrap, Version 12.3(11r)T2, RELEASE SOFTWARE (fc1)
    BIG1 uptime is 57 minutes
    System returned to ROM by reload at 07:11:45 UTC Tue Jul 12 2005
    System image file is "flash:c3845-advipservicesk9-mz.123-11.T5.bin"
    Cisco 3845 (revision 1.0) with 223232K/38912K bytes of memory.
    Processor board ID FCZ0927714C
    2 Gigabit Ethernet interfaces
    1 Virtual Private Network (VPN) Module
    4 Voice FXS interfaces
    DRAM configuration is 64 bits wide with parity enabled.
    479K bytes of NVRAM.
    62720K bytes of ATA System CompactFlash (Read/Write)
    Configuration register is 0x2102

  • J2ME WITH TOMCAT

    Hello Guyzz
    i want to create an j2me application where it connects to the webserver like tomcat . .
    i can do it in j2me wireless toolkit emulator but when i deployed that jar file in real device it was not working .
    i want to build this application using private ip address but not with public ip address no problem if we use
    datacable or bluetooth connection instead of GPRS . . .
    Let me know if any one have idea about this . .
    Thnx in advance

    Thanks for your reply but i am not sure that i understood ! Do you suggest to connect another mobile phone to my pc and use it like a wap gateway or something and then call it from my j2me phone the same way i call my wap provider?
    Why not connecting my phone directly to the pc?
    thank you very much!!
    Sorry if i am saying something completely wrong !!!

  • J2me with jsp

    hi
    i want to call a servlet program into a j2me program for data base connectivity with ms access.
    how can i do it

    This is an example reported in the MIDP API documentation :
    This example use POST method to require the Html (or servlet page), you can adapt it to your needs.
    void postViaHttpConnection(String url) throws IOException {
    HttpConnection c = null;
    InputStream is = null;
    OutputStream os = null;
    try {
    c = (HttpConnection)Connector.open(url);
    // Set the request method and headers
    c.setRequestMethod(HttpConnection.POST);
    c.setRequestProperty("If-Modified-Since",
    "29 Oct 1999 19:43:31 GMT");
    c.setRequestProperty("User-Agent",
    "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    c.setRequestProperty("Content-Language", "en-US");
    // Getting the output stream may flush the headers
    os = c.openOutputStream();
    os.write("LIST games\n".getBytes());
    os.flush(); // Optional, openInputStream will flush
    // Opening the InputStream will open the connection
    // and read the HTTP headers. They are stored until
    // requested.
    is = c.openInputStream();
    // Get the ContentType
    String type = c.getType();
    processType(type);
    // Get the length and process the data
    int len = (int)c.getLength();
    if (len > 0) {
    byte[] data = new byte[len];
    int actual = is.read(data);
    process(data);
    } else {
    int ch;
    while ((ch = is.read()) != -1) {
    process((byte)ch);
    } finally {
    if (is != null)
    is.close();
    if (os != null)
    os.close();
    if (c != null)
    c.close();

  • How to create JDBC connection in J2ME with MS-SQL server?

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

  • J2ME with camera Resolution of 640x480

    Does anyone know how to direct access the camera on your mobile phone. My camera supports 640x480 and 320x240.
    I have the camera program working already but that only takes a snapshot of the size of the phone display. Need the J2ME to take a picture with higher resolution.
    Does anyone know if J2ME can do this. any little snippets of code.
    Thanks
    Martin

    Sorry for the delay in getting back. I was looking on the internet for tht code.But i heard somewhere that code only works for nokia phones. What phone do you have currently that this piece of code works on. When i run it on my motorola phone with a vga camera it just says could not create image. I use that code and put it contents into a byte[] array.Then try and make an nimage from that.
    this bit of code works for me but it only gives me a 172x144 resolution
    videoControl.getSnapshot();when i put this code in it cannot take a picture.
    videoControl.getSnapshot("encoding=jpeg&width=640&height=480");the highest resolution on my phone is 640x480 and it is vga. Maybe that is a problem.i need to get a phone with a higher megapixel.
    what phone are you using at the moment that this code works on.Does it have bluetooth also.
    thanks
    Martin
    Edited by: martinnaughton on Mar 2, 2008 5:03 AM
    Edited by: martinnaughton on Mar 2, 2008 5:03 AM

  • Impossible to send SMS through J2ME with a HTC which OS is Windows Mobile

    Hello,
    I've developed a J2ME application with possibilty to send a SMS.
    This works fine on some mobiles like Nokia 6300, but doesn't work on a HTC equipped with Windows Mobile.
    Precisely, in the case of my HTC, the variable supportedSms below is allways null.
    Can someone tell me how to solve this matter please?
                String supportedSms = System.getProperty("wireless.messaging.sms.smsc"); 
                if(supportedSms == null){
                        //this means the mobile can't send a sms through j2me code
                }else{
                        //this means the mobile can send a sms through j2me code
                }Regards

    Sorry, for digging up this topic, but has anybody found a solution to the problem? My sms sending application seems to work on SE's, Nokias, Motorolas etc. but not on Windows Mobile. I am testing it on a HTC s710 with Windows Mobile v. 6.0.
    Regards
    Martin

  • J2ME with JDEVELOPER

    Hello
    I want to try j2me applications with my jdeveloper
    what I must to do
    For example Must I download some libraries or something else ??
    Is jdeveloper sufficient for developing j2me applications.
    thanks for your support.
    best regards
    kivanc.

    You need the wireless extension to JDeveloper.
    Check out
    http://otn.oracle.com/tech/wireless/appdev/jdeveloper.html
    and http://otn.oracle.com/tech/wireless/index.html
    for more details

  • J2me with ejb

    can ejb with j2me so that my j2me application can communicate with database on server side to retrive data from it. If so please let me know about this as if its not possible the is there any other means to do so
    thanks
    viron

    If EJB like RIM? I'd guess not, you would have to have a HTTP/servlet go between.

  • J2ME with ODBC/mySQL/JDBC

    hi all,
    is there anyway to make a connection to a MSAccess file?
    then from there, getting info from it and returning the inputs to the file?
    above queries are for usage on J2ME.
    T.N. J2ME has a language limited to javax.microedition.*
    regards and thanks in advance,
    Nicky

    Have you tried using a JDBC-ODBC bridge driver??i'm a newbie to J2ME,.. and everything else except basic java.
    can u kindly explain and guide me thru it?
    one more thing is, can it work with J2ME??
    Nicky.

  • Cisco 3800 with NME-XD-48ES-2S-P module

    I have a (Cisco) 3800 series router. It has a "NME-XD-48ES-2S-P" module (48 Ethernet ports). When issuing the command "#sh int brief" all is see is gigabit Ethernet or serial interfaces. I do not see any fast Ethernet ports. Can someone please guide me on how to see these ports...Thanks

    Hey,
    Use the command "service-module session g x/y session" to enter the service module. As its an independent module and run its own IOS. The port g x/y will be visible in router with 'sh ip int br' command.
    HTH.
    Regards,
    RS

  • WAAS- WCCP config on ISR with NME

    Is the "ip wccp redirect exclude in" command needed under the "interface Integrated-Service-Engine for the NME"? I am not running inline.

    Jeff,
    The 502 and the 512 are definitely different size boxes.
    NME-502 can handle up to 500 Optimized TCP connections and has a 120 GB hard drive with 1 GB of RAM.
    WAE-512-1GB can handle up to 750 Optimized TCP connections and has a 250 GB hard drive (optional RAID 1) with 1 GB of RAM.
    WAE-512-2GB can handle up to 1500 Optimized TCP connections and has a 250 GB hard drive (optional RAID 1) with 2 GB of RAM.
    So they should be directed at different size of sites as there is more processing power as well as disk cache space on the WAE-512. The NME-522 can handle roughly the same number of connections as the WAE-512, however it still doesn't have as much disk space for cache.
    Hope that helps,
    Dan

  • J2me with servlet

    hello experts
    Sir i want to call a servlet program in a j2me program i have found a program related to my requirment on
    net. But there is a problem that when i run as it is program according to net i give url="http://www.mycgiserver.com/servlet/corej2me.WebsiteDemo_CallServletGET"on my toolkit it is runing correct,
    but when i give url according to my system for servlet like "http://localhost:8000/servlets/CallServletGET"
    when i click submit button for calling to servlet
    then its it is giving error that "Unable to read data" . my coding is like this
    if (http.getResponseCode() == HttpConnection.HTTP_OK)
    iStrm = http.openInputStream();
    // 2) Get header information - none
    // 3) Get body (data)
    int length = (int) http.getLength();
    if (length > 0)
    byte servletData[] = new byte[length];
    iStrm.read(servletData);
    // Update the string item on the display
    fmMain.append("You passed to the servlet: \n" + new String(servletData));
    else
    fmMain.append("Unable to read data");

    When you post code, please use[code] and [/code] tags as described in Formatting Help on the message entry page. It makes it much easier to read.
    Please post the full error. If this is running on an emulator, please post the stack trace ( throwable.printStackTrace() ).
    Which phone is it running on? (Suns WTK, Nokia, etc?)
    Is the Servlet being called (as some debug lines into the servlet ([url http://java.sun.com/j2se/1.5.0/docs/api/java/util/logging/package-frame.html]java.util.logging ). )

Maybe you are looking for

  • Break implementation of Sales&Distribution FROM Production into phases

    I have found this forum very helpful and responsive.  Thanks for all the help. Due to the requirement of getting the ecommerce site up fast, is it possible to just implement: Sales Distribution side of business one 2007A APART From the Production MRP

  • How do you get to the firefox safe mode?

    The example show what to do when you get to safe mode but it does not show the step of how to get to safe mode. In order to get to the safe mode how do you get there? The steps are not clear, I guess what I am asking is what are the step by step inst

  • Rename Images after uploading in BDS_businessDocument_CreateF

    hi, i want to rename my images that i upload on a difrent trensaccion with the funciont BDS_BUSINESSDOCUMENT_CREATEF,  some co-worker, recomends me to use the function BDS_BUSINESSDOCUMENT_DELETE_P but this erase  the image,  and after this the user

  • Random wallpaper change greatly slows down my compoter?

    Hey everyone I'm using the random wallpaper changer built into the Mac 10.5 operating system. But the problem seems that it's taking a LOT of the computer power/resources to change the wallpaper. So if it's changing while I'm in the process of watchi

  • Bug Report: Hotzone navigation does not work at the end of a flattened article

    I was writing about this earlier but I think it did not catch on. I experience problems when using Hot zones in my custom viewer together with flatteened articles. when I reach the end of a flattened article, tapping the hotzone does not advance to t