×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    8

    Question How to start a java application from Qt Symbian application using QProcess on S60

    I know using QProcess can start .jar from Qt Windows application, but here I want to start .jar from Qt Symbian application.
    As for Qt Windows application, we can using QProcess like:
    QProcess::execute("java -jar PATH_TO_JAR_FILE"); // PATH_TO_JAR_FILE means the path to the .jar file

    My question is in Symbian Qt application, how to use QProcess to start .jar/java application?
    Is there any command lines/"java -jar" on Symbian platform?

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: How to start a java application from Qt Symbian application using QProcess on S60

    Hi,

    I don't think it's possible to use QProcess to launch a java app in Symbian. You can, of course, use QDesktopServices to launch the .jar file, but that will actually launch the installation of the MIDlet.

    There are tricks you can do with Symbian APIs to dig out the UID that is assigned to the installed java app, and use that to launch it:
    http://wiki.forum.nokia.com/index.ph...60_3rd_Edition

Similar Threads

  1. Replies: 1
    Last Post: 2009-01-19, 08:58
  2. Replies: 8
    Last Post: 2008-11-26, 02:49
  3. Cannot start my Java application on S60
    By TheNobleK in forum Mobile Java General
    Replies: 8
    Last Post: 2008-01-23, 19:33
  4. Replies: 1
    Last Post: 2003-03-25, 11:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×