×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    35

    Launchapp with cmdline

    Hi everybody,

    I'm trying to launch an application from my widget and to pass one parameter to it. However, the application always displays that there are no parameters in command line. I've tried to use both widget.openApplication and serviceObj.IAppManager.LaunchApp, with the same result. Could somebody give me a working example of javascript code?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: Launchapp with cmdline

    I would first check the applications side you are launching, and see that you are actually also trying to get the filename passed to it etc.

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    35

    Re: Launchapp with cmdline

    I'm trying to check if my C++ application works, so far I can tell it does work when I start it as an .exe with parameters, but I'm not sure if it can read parameters when invoked from launchapp.

    BTW, maybe there are some other, easier ways to pass information from widget to a C++ program?

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Launchapp with cmdline

    Hi uhm57,

    a way to check if your C++ app correctly receives and parse command-line parameters would be to log them somewhere (e.g.: by writing them to a file on the local filesystem).

    Pit

Similar Threads

  1. retrieve GSM cell id
    By ibec in forum Symbian Networking & Messaging (Closed)
    Replies: 312
    Last Post: 2012-06-10, 06:45
  2. WRT CmdLine help
    By Pheliox in forum Symbian
    Replies: 4
    Last Post: 2009-09-16, 19:47

Posting Permissions

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