Java Fx in mobile

Hi,
I am a newbie at JavaFx.
I want to know - How can a Java Fx app be deployed in an actual mobile....not an emulator.
Also, how to integrate J2ME app with features of JavaFx.
Thanks in advance.

The JavaFX 1.2 Mobile runtime for Windows Mobile is available for download (for development purposes only) on the javafx.com web site http://javafx.com/downloads/. The installation instructions will tell you how to install the FX runtime as well as any JavaFX Mobile apps (via USB cable usually)

Similar Messages

  • 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

  • Can I get the Java version of mobile tv with the r...

    I would like to know how to get the Java version of mobile tv with the removed mobile tv application, so I can view the Sky EPG programme guide on my E90.
    Can anyone tell me how I can get it please. The version from sky will not work but reading other posts on here suggests that the java version might.
    Please help.
    Solved!
    Go to Solution.

    Sky have made it near impossible to get this application on current phones.
    Luckily for you the java version is available for download as part of this useful guide.
    The instructions are for the N95 but should work on an E90. I've got it working on an N82 and N96 at the moment.
    Just a note about the java app: It says it's for a sony but it works perfectly on a nokia. Not sure how it will look on the E90's big screen so if it doesn't work try the front screen.
    Message Edited by psychomania on 14-Nov-2008 10:42 AM

  • Java programing for Mobile devices on OS X

    im completly new to java, and very interseted in getting started with developing for mobile devices..
    i have experience with other languages (C#.NET, a little VB.NET, BaSH, Ruby, Python...)
    but i dont really know were to start..
    what do i need to create, compile, and use java aps on mobile devices
    Also, im using OS X 10.4, so i would need someting mac compatible...
    (i have an HTC S710 with Windows Mobile 6.0)
    Message was edited by:
    maxtors

    Hi java is platform independent , so dont worry about support on MAC etc.
    what i would suggest is before thinking of coding for mobiles learn core java. Install editors like netbeans,eclipse and understand the languages.
    The folowing links will help you
    http://java.sun.com/docs/books/tutorial/
    FYI java has Java ME platform for developing application on mobiles
    Vijay

  • 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

  • Java on Windows Mobile 5.0

    Good morning,
    I am working ona project for a client, which involves an application to be coded for a PDA running Windows Mobile 5.0. The PDA in question is the Dell AximTM X51v. Will J2SE run on this platform, and if not, where can I find a runtime environment for that platform?
    Thanks!
    Dave

    Q1
    Will Java run on win Mobile 5.x - I have bought aYes, and no. You can get JME for PPC, and some editions of J2SE. But they are not all free.
    http://www.comp.lancs.ac.uk/~fittond/ppcjava.html
    If Java will run can I use Swing etc or will I have
    to use one of the mobile versions of Java - if so
    which one ?Some do, some don't.
    Assuming there is a positive answer to Q1 is there an
    Emulator for the Axiom 640 x 480 ?What kind of Emulator do you want? I have had a C64, Amiga and Gameboy emulators on my HTC Wizard.
    If you are only targeting you device, I recomend learning C#, and using .NET CE.

  • Installing java on Windows Mobile 6.1

    Hi,
    I'm trying to install jre on windows mobile to execute some midlets. I had to install CLDC emulation on a Windows Mobile Device but It can't execute my Midlets.
    What's wrong? Exist another way to execute Java ME programs on Windows Mobile?
    Please, I need some help.

    reuber wrote:
    Hi,
    I'm trying to install jre on windows mobile to execute some midlets. I had to install CLDC emulation on a Windows Mobile Device but It can't execute my Midlets.
    What's wrong? Exist another way to execute Java ME programs on Windows Mobile?Unless the mobile phone vendor delivers a proper JME runtime itself, there is not.

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

  • 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 to get Java on my mobile device.

    I pretty much only have one use for Java. I go to a game site that needs Java to run the game, but I don't know what Java program to put on my phone to make it work.
    I have a Palm Treo 700wx with Windows 6. The site I go to is http://wild.ffiends.com/DCourt/Game.stm
    To make that display on my phone's internet what is the best program? J2ME? And how to get it.
    Thanks up front.

    Hi,
    I would ask does the phone have an App for getting IMs ?
    Is the setting to Forward IMs to the Phone set in iChat > Preferences > Accounts ?
    Does your Phone Service support IMs from outside their Network ?
    I presume though that you are sending text to a number (+1234567890) rather than forwarding ?
    The UK T-Mobile site has this page But needs a teelphone number to run the tool and does not answer FAQs as such
    The FAQ Page is here (UK Site)
    I would also be looking for any settings on the my account page (if I had one) to see if Accepting IMs has to be set there (And costings)
    8:41 PM Thursday; April 2, 2009

  • Java of windows mobile PocketPC 3.0 (PPC6700)

    I have a Sprint
    Operating System Windows Mobile 5.0
    Manufacturer UTStarcom
    Processor Type Intel PXA 270 Processor
    Processor Speed 416 MHz
    Memory 64 MB RAM, 128 MB ROM
    Display Type 2.8" Color TFT Touch Screen
    Display Resolution 240 x 320
    Dimensions 4.25 x 2.32 x .93 in.
    Weight 6.07 ounces
    Battery Talk time: >4.7 hr / Standby time: >200 hr, Type: Removable/Rechargeable 1350 mAh Lithium Ion
    Built-in Expansions MiniSD
    Add-on Expansions N/A
    Synchronization Included: MiniUSB, Bluetooth, Wifi
    who can I get javascript bases web buttons to work?
    Does PersonalJava Runtime Environment work for this phone?

    Hello, I am also in tthe same problem in a way.
    I just got mine today, in the specs at the sprint website it says it is java enabled, but I do not see any java on the phone, what gives?

  • Java Speech API / Mobile Media API ?

    Does anyone know whether its possible to use JSAPI or MMAPI in mobile phones currently in the market?
    If it aint then I am really surprised because the sound manipulation possible is very useful.

    Hey guys, surely some of you folks must have used it...

  • How do I install Java on my Windows Mobile?

    Hi there, I'm trying to install Java on my Mobile Phone but can't find the right file and don't know how to install it.
    This seems perfect but the link is way out of date and the file doesn't seem to exist anymore
    http://www.makeuseof.com/tag/install-java-windows-mobile/
    Does anyone know where I can get Java for my mobile phone? I have a m88 MiPhone with Windos Mobile 6.1 if that helps.
    Cheers

    If your phone vendor doesn't deliver a runtime with the phone or for download on their website, there is little chance you are going to get one.
    There are a few third party runtimes you can Google for, but most if not all viable ones are not free.

  • 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

  • Java Applications runs on Mobile

    Dear Digital Dreamers
    I would like to know how to load Simple Java Applciations in Mobile. S0 that it runs in Mobile.

    hi!,
    First you have to go through these link which is given by sun.
    http://developers.sun.com/techtopics/mobility/getstart/
    and for this
    http://developers.sun.com/techtopics/mobility/midp/articles/wtoolkit/
    here you get the code of HelloMIDlet class follow the instruction they said in document.
    in j2me wireless toolkit there is option : project -> run via ota .you have click on this after build your app. It makes a html ,jad , jar and manifest file in bin directory of you app package.now you have to change/edit the html file where the full path is written like link
    connect your mobile through data cable and copy the bin folder in you mobile and open the html file in browser.it ask to click on link after that it install the application.
    bye

Maybe you are looking for