Java on mobile phones

Hey! I must admit I am not a specialist (as a matter a fact - just the opposite).. I've got one question though.. I downloaded this software nav4all - a worldwide navigation sys for mobile phones.. but it turns out that some phones do not support it because supposedly their Java engine is different. Can someone explain please? what are the differences?

J2ME ("Java 2, Micro Edition") has a bunch of different "profiles" for different levels of devices, and those profiles themselves have different versions. The more recent versions are a major improvement over earlier versions. It's possible that this software uses some of the features of the later versions.
It's like trying to install software for Windows XP on a computer running Windows 3.1.
My phone has a menu item that says what versions of these java profiles are available. I suspect that your phone does as well, probably in the "settings" area. Take a look, if it's there you can compare it against the requirements data for nav4all.

Similar Messages

  • How to design a java program to java supported mobile phone

    I need to know how to design a java program to java supported mobile phone and how to install it on mobile phone? also i need to know how to create a ".jar" file, because my mobile phone is require '.jar' files. if anyone know please let me know.

    I need to know how to design a java program to java
    supported mobile phone and how to install it on
    mobile phone? also i need to know how to create a
    ".jar" file, because my mobile phone is require
    '.jar' files. if anyone know please let me know.http://java.sun.com/j2me/index.jsp
    http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

  • Portal content in java enabled mobile phone browser

    Hi Experts,
    I havwe a requirement in which the portal webdynro application is to accesed through java mobile phones , but the portal is designed for computers(desktops).....
    my query is that how to reuse the same portal app for the mobile phone and can we have wrapper for mobile so that the mobile phone uses 'light' mode of portal
    regards,
    prakash

    Hi,
    Take a look at the following link [https://cw.sdn.sap.com/cw/groups/portal-on-device].
    Regards,
    Alex

  • Java-enabled mobile phone

    Can I get the list / specification of latest mobile phone with Java enabled, include all brands around the world. (Nokia, Samsung, Motorola... ...)
    Any good reference, or sites?
    Thanks in advance.

    Oh..the list is amazing, actually I am developing Midlet related software, it is hard for me now because I cannot know how much the storage/max jar size/heap size/memory for different phone, unlike Nokia, they did provide full details online, can I know the others, where someone already put the data online.
    Thanks again.

  • Java on mobile phones - where can I learn to programm for

    I have bought a new mobile phone that can run java applications.
    I can programm in Java but there are surely some restrictions and
    many other things you have to know.
    Where can I find a guide for java programming on mobile phones?
    please tell me if you know
    mvg Jakob

    http://wireless.java.sun.com/midp/articles/wtoolkit/
    Hope this helps
    hattan

  • I have Samsung C3222 which is Java-based mobile phone so can I still use Firefox on it?

    I recently bought Samsung C3222 which runs on Java. I want to use Firefox on my mobile. Is it compatible? I love using Firefox on my Asus laptop but I am not sure if it will work on my cell phone. Help.

    Hi TonyE,
    Thank you for quick reply. I will miss Firefox on my cell phone but no worries. I am still a BIG FAN of Firefox and always recommend it to my friends. Thank You.

  • JAVA enabled mobile phones

    I'm rather new in J2ME and want to develop applications using Sockets support. I know sockets are not supported in midp 1.0, but my Siemens Phone (M50) supports it as an added feature. I tested it uning Connector class and it works properly. But a doubt arise then.
    I'd like to develop compatible programs as far as possible. So I'd be very glad if someone could tell me :
    - Which mobiles support J2ME+midp 1.0+Socket ? (Or where could I find a list ?)
    - Which mobiles support J2ME+midp 2.0 ? (I suppose 2.0 supports Socket)
    - Is there any difference between midp 1 and midp 2 Socket programming ?
    Thanks in advance.
    Ignasi Villagrasa

    Hi,
    Javamobiles.com used to be a good resource, but seems to be outdated now. Try http://kissen.cs.uni-dortmund.de:8080/devicedb/index.html. It has a nice overview over different phones and devices, including API and connection type support.
    As far as MIDP 2.0 goes, I don't think there are any devices available yet.
    Regards,
    Arnt

  • Connecting Flash with Java inside a mobile phone

    Hello,
    I'm working on a TBOT project that is running on Java on
    mobile phones, and we have been pondering the possibilities of
    making the UI with Flash Lite 2.0. Currently we are thinking of
    using XML / textfiles to get the data to FL from the java, but
    sending data back to the Java client inside the mobile phone is
    something I have no experience of, and was wondering if it is
    possible even?
    Basically can a FL application connect with / contact other
    applications / services in the same mobile phone? EG. Sending data
    to somewhere in a mobile phone? Or can the Java somehow intercept
    stuff Flash lite sends out for example?
    Thank you for all your help.
    Cheers
    Niilo

    I think you will be happier if you go about it through Bluetooth. I had a dongle for my Ibook 1.2 and now my Ibook 1.33 is bluetooth enabled.
    I use Verizon and have a Motorola V710 (bluetooth) . The connection works perfect everytime! I am disappointed that this new model Verizon phone does not support Isync. To sync data from the computer to the phone. I did find that Verizon was not very helpful as they don't seem to know much about Macs. I had to find out on how to connect via Google. Good luck! Geof

  • How can we implement a j2me application on mobile phone

    Hello to All
    I am working on j2me and made a application that is online ticket booking for cinema hall. it is running on j2me wireless toolkit . Now i want to run this application on mobile. and how can be access this application by every the user who have java enabled mobile phone.i want to know that it may be access through internet suppose se have upload this application on our server.
    Thanks in advance
    Mukund

    I have been having problems in implementing a simple application that fetches information from a server to a mobile phone, then using OTA midlet capabilities.
    Have you got any code that you have tested on the device rather then on the emulator only?
    All the samples i have used from books and online sources didnt work with my server.
    The midlet simply asks for connection and then it gets stuck without displaying anything.
    Please gimme some hints :)

  • Uploading files from a mobile phone

    Hello.
    I'm trying to do a file uploader via an HTTP-Post Request to send files to a server from java enabled mobile phones using internet... is it possible?.. Some idea?
    Thanks in advance for any help, and sorry my English
    Daniele

    first of all not all the mobile phone support file system if you want to uplaod a file(in form of recordstore) contained within yourt jar file that
    will be created after the installation can be uplaoded just open the outputstream connection to server and sumbit it simple as that

  • Creating Folder and Accessing Files from Folders in mobile phone

    Hello Friends,
    I am doing my project where I need to create folders and accessing files from those folders in java enabled mobile phones.But I do not know the required tasks for this.Any type of help is highly appreciated.
    Greeting
    Saadi

    You have to get the classname of the Items you receive from getitems.
    There you have only to look for Folder.CLASS_NAME. Example:
    ifsFol sorted by names in ascending order (names of folders and files)
    String[] sort_attributes = {"NAME"};
    //sort will be ascending
    boolean [] sort_orders = {true};
    oracle.ifs.common.SortSpecification sort = new oracle.ifs.common.SortSpecification(sort_attributes, sort_orders);
    ifsFol.setSortSpecification(sort);
    PublicObject[] contents = ifsFol.getItems();
    System.out.println("Here are the names of the items in folder: ");
    for (int i=0; i < contents.length; i++) {
    if (contents.getClassname().equals(Folder.CLASS_NAME)) {
    System.out.println(contents[i].getName());
    null

  • New to Java. Want to write a simple applet for a mobile phone.

    Hello,
    I want to write a simple java applet for a mobile phone. currently I am in the stage of thinking about whether this is possible in a timeframe of about a month. I have very little java experience from a while back so I'm pretty much starting from scratch.
    All I want is an applet that lets you send 2 or 3 variables to an online server. The server will then reposition telescopes.
    All i'm concerned with is the mobile phone part, which doesn't have to be secure or impressive. Just a simple interface.
    Ideally it should work on my nokia 6070, which occording to the official specs has the following java technology:
    MIDP 2.0
    CLDC 1.1
    JSR 120 Wireless Messaging API
    JSR 135 Mobile Media API
    Nokia UI API
    (I don't know what any of this means but am a good learner).
    Can anyone offer me any advice? Is this possible in my timeframe? where should I start? I need a editor and compiler also (I'm using windows XP).
    Many thanks and kind regards,
    Jason

    Actually it is working on my phone now.
    I changed the target platform in the wireless toolkit settings to MIDP 1.0
    Now to create the fields coordinate fields etc. I don't have much of a clue really.
    Current I have:
    import java.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class AtmosMIDlet extends MIDlet implements CommandListener
    Form WelcomeForm = new Form("AtmosMIDlet");
    StringItem WelcomeMes = new StringItem(null, "Please enter coordinates:");
    TextField Longitude = new TextField("Longitude", "", 3, TextField.NUMERIC);
    TextField Lattitude = new TextField("Lattitude", "", 3, TextField.NUMERIC);
    public AtmosMIDlet()
    try
    ImageItem logo = new ImageItem(Image.createImage("/logo.png"));
    WelcomeForm.append(logo);
    catch (java.io.IOException x)
    throw new RuntimeException ("Image not found");
    WelcomeForm.append(WelcomeMes);
    WelcomeForm.append(Longitude);
    WelcomeForm.append(Lattitude);
    WelcomeForm.addCommand(new Command("Exit", Command.EXIT, 0));
    WelcomeForm.setCommandListener(this);
    public void startApp()
    Display.getDisplay(this).setCurrent(WelcomeForm);
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {}
    public void commandAction(Command c, Displayable s)
    notifyDestroyed();
    I'm trying to get the image logo.png to display at the top but I get the error:
    C:\WTK25\apps\AtmosSpec\src\AtmosMIDlet.java:19: cannot find symbol
    symbol : constructor ImageItem(javax.microedition.lcdui.Image)
    location: class javax.microedition.lcdui.ImageItem
    ImageItem logo = new ImageItem(Image.createImage("/logo.png"));
    ^
    1 error
    com.sun.kvem.ktools.ExecutionException
    Build failed
    When I try to build.. Any help would be great.
    Ideally the image would be on a seperate screen for a couple of seconds.

  • How to invoke Java file into Mobile phone

    hi
    I have one java file (as servlet to display WML content on mobile phone) but i don't know how to invoke it into mobile phone . Can you help me ?
    Give me your answer asap
    Thanks
    .

    Depends on the phone. Some let you send an app via IR or bluetooth, and others (like the sharp) make you do it via the wap browser.
    Suggest you investigate http://www.midlethosting.co.uk

  • Send short message from Java application on mobile phone to server; http

    Hello!
    My question is: can I send short message from Java application on mobile phone to server - with the use of SMS (WMA) or http connection?
    I found this topic http://forums.sun.com/thread.jspa?threadID=5405431 about: "how to send data from midlet to servlet using doPost method".
    There is also such topic http://forums.sun.com/thread.jspa?threadID=5408046&tstart=0 about: "CLDC and MIDP - sending SMS to server -> Wireless Messaging API (WMA)".
    Please, kindly help me.
    Code from the topic mentioned above, edited by me so that it can be read easily:
    //http://forums.sun.com/thread.jspa?threadID=5405431
    //CLDC and MIDP - Re: how to send data from midlet to servlet using doPost method
    I want to know how to pass the values .
    for examples : this is what i wrote for doGet
    String url = setting.getUrl().toString()"/testProServlet/servlet/UpdateCompanyProfile?userId="+loggedInUserId"&svComp="saveCompHex;
    userId and svComp has the data which is very long so i wanted to use doPost.
    Now i dont know how to do it.
    This is what i have done in doGet (midlet)
    public void saveCompanyProfile(String saveComp,int flag,String blankFieldNm)
         System.out.println("flag===" flag);
         if (flag==1)
              displayAlert("Company Profile Edit",blankFieldNm+" field cannot be blank.",AlertType.ERROR, edCmpRecForm, true);
         else
              String saveCompHex = helper.encodeHexString(saveComp);
              // String saveCompHex =saveComp;
              HttpConnection httpConn = null;
              serverSettings setting = new serverSettings();
              System.out.println("saveCompHex===" saveCompHex);
              String url = setting.getUrl().toString()"/testProServlet/servlet/UpdateCompanyProfile?userId="loggedInUserId"&svComp="saveCompHex;
              System.out.println("url of save company profile:: "+url);
              InputStream is = null;
              OutputStream os = null;
              try {
                   // Open an HTTP Connection object
                   httpConn = (HttpConnection) Connector.open(url);
                   System.out.println("urlMidlet1 save edited company data===::" url.length());
                   // Setup HTTP Request
                   httpConn.setRequestMethod(HttpConnection.POST);
                   httpConn.setRequestProperty("User-Agent","Profile/MIDP-1.0 Confirguration/CLDC-1.0");
                   System.out.println("urlMidlet2===" url);
                   int respCode = httpConn.getResponseCode();
                   System.out.println("respCode edit company profile=====" respCode);
                   if (respCode == httpConn.HTTP_OK)
                        StringBuffer sb = new StringBuffer();
                        os = httpConn.openOutputStream();
                        is = httpConn.openDataInputStream();
                        int chr;
                        while ((chr = is.read()) != -1)
                             sb.append((char) chr);
                        String sResultSvCompanyProfile= sb.toString();
                        System.out.println("+++++++++++++Company sResult+++++++++++++==="sResultSvCompanyProfile);
                        if (resultViewCompanyProfile.trim().equals(""))
                             System.out.println("++++++++++++++If++++++++++++++SaveCompanyProfile===");
                             displayAlert("Login Incorrect","Username and Password incorrect", AlertType.ERROR, mainForm, true);
                        else
                             System.out.println("++++++++++++++Else++++++++++++++SaveCompanyProfile===");
                             //companyProfile();
                             displayAlert1("Information","Company Profile edited successfully", AlertType.INFO, profileMenuScreen, true);
                   else
                        System.out.println("Error in opening HTTP Connection. Error#" respCode);
                        //the line below divided into two lines because it was too long
                        displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                        AlertType.ERROR, mainForm, false);
              catch(IOException e)
                   e.getMessage();
              finally {
                   if(is!= null)
                        try
                             is.close();
                        catch (IOException e)
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                             displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                             AlertType.ERROR, mainForm, false);
                   if(os != null)
                        try
                             os.close();
                        catch (IOException e)
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                             displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                             AlertType.ERROR, mainForm, false);
                   if(httpConn != null)
                        try
                             httpConn.close();
                        catch (IOException e)
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                             displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                             AlertType.ERROR, mainForm, false);
              } //end finally
         } //end else (?)
    } //end savecompany

    hi,
    SMS API(WMA) is an optional package. It is not a MIDP1.0 or MIDP2.0 api's.
    There are phones which has WMA api with MIDP1.0 support .... Nokia 3650
    Seimens has some phone with their own api's to send sms.Check out seimens site for more info
    BTW, What do you mean buy sending SMS to Server????
    If you want to send message to server you can do it with Http.
    HTH
    phani

  • BT and Java - Btl2Cap Connection (Mobile phone and Digital Pen)

    Hi!
    First a short Introduction:
    For a project I have to stream data from Maxell Penit DP201(4.1) to a mobile device (over a midlet). Data Connection is built up over Bluetooth.
    My Questions are: Is btl2cap the right method for connecting digital pen and mobile phone?
    If yes, is the btl2cap string correct?
    The pens device adress is 00-07-CF-56-05-5D
    Does anyone know a sample application like this I want to program?
    Structure;
    package /
    Midlet
    Class extending thread
    Here's the code:
    public void run() {
        //Bluetooth
        //String connString = "btspp://0007808303AA:1;master=false";
        String connString = "btl2cap://localhost:0007cf56055d;ReceiveMTU=512;TransmitMTU=512";
        System.out.println(connString);
        try {
                LocalDevice local = LocalDevice.getLocalDevice( ) ;
    // build ServiceRecord
                local.setDiscoverable(DiscoveryAgent.GIAC);
    L2CAPConnectionNotifier service = (L2CAPConnectionNotifier)
    Connector.open(connString);
    ServiceRecord sr = local.getRecord(service);
    // accept Connection
    L2CAPConnection connection = (L2CAPConnection ) service.acceptAndOpen( );
            } catch (Exception e) {
                e.printStackTrace();
            }Thanks to all who can help me to reach the next step in my project.
    Best regards

    Hi,
    The reason for the compilation error is that the IDE is not able to find the jar file where bluetooth api is packed. try to put the jar file in lib directory of the project. Some IDE generates class files even though there are some compilation errors in java file.
    So it is better to resolve compilation errors before putting it in the device.
    The reason why the app freezes in the device is that you have not used a seperate thread to do the inquiry, try to use a thread where the inquiry will be done so that the apps main thread will respond to the user input.
    Hope this help you.

Maybe you are looking for

  • Ipod mini battery help!

    I have an Ipod mini and I will listen to about two songs and it will tell me that it is out of battery power. But I charge it every night until it say charged and sometimes I leave it over night plugged in. Do I need a new battery? Any help would be

  • How to delete soundtrack?

    I have added -- and, I thought, taken off -- five or six soundtracks, trying to get the timing right. Now it looks like maybe all those soundtracks stayed on, because the Keynote file is too heavy to put on a thumbdrive. Can anyone please help me fig

  • Load balancing across DMZs - Revisited

    I know this question has been asked before and the answer is to have separate content switches per DMZ in order to maintain the security policy. There is an option to have the content switch in front of the firewall and then use only one content swit

  • Using EXTERNAL INSTRUMENT plug normally has latency BUT NOW FULLY SOLVED ???

    Hi, I use alot of outboard synths and I use the EXTERNAL INSTRUMENT plug from Logic9 for this.As MIDI destination I choose my synth (Elektron Monomachine) and as AUDIO INPUT 11-12 , nothing spectacular there. When I play this external instrument in L

  • Migration Accelerator: Replication Policy Option empty.

    Hi Team, I am trying to configure Protection for 1 windows VM, but the Replication policy appears empty on the MA portal instead of Replication Policy with Compression. How can I fix this? Thanks and Regards, Mohd Zaid