Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User qtkui's Avatar
    Join Date
    Mar 2010
    Posts
    8
    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 treinio's Avatar
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329
    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. Start a Java ME application from Symbian C++ code?
    By turisten in forum Symbian C++
    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. How to start a symbian application from a J2ME application?
    By smallfish_ntu in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved