×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    35

    How to start a background app

    I'm currently trying to figure out how to create an app that doesn't show up as a running program but simply waits for certain phone triggers. I read something about running it as a server app but I am still new to the Symbian SDK and I need a push in the right direction.

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

    Re: How to start a background app

    have a look into client-server examples, there you basically have a non-ui server running in the background, and you can control it with UI application. You could also look into the auto-starting possibilities, so you wouldn't need user interaction on running it.

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

    Re: How to start a background app

    I see, I'm currently looking for examples though I can't find any at the moment. I'm reading the wiki on Client-Server framework but there doesn't seem to be examples there.

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

    Re: How to start a background app

    one could be found from the basics self-study package at least: http://www.forum.nokia.com/info/sw.n..._1_en.zip.html

  5. #5
    Regular Contributor
    Join Date
    Dec 2007
    Location
    India
    Posts
    155

    Re: How to start a background app

    Hi try this for app launching

    RApaLsSession ls;
    CApaCommandLine *cmd = CApaCommandLine::NewLC();
    cmd->SetLibraryNameL(file path);
    cmd->SetTailEndL(KYourAppParameters);
    cmd->SetCommandL(EApaCommandRun);
    User::LeaveIfError(ls.StartApp(*cmd));

    Md.kashif

Similar Threads

  1. exe app to auto start (2ed)
    By shadow-2005 in forum Symbian
    Replies: 4
    Last Post: 2007-03-27, 10:04
  2. Replies: 3
    Last Post: 2005-11-24, 17:00
  3. hide call dialog box while the app in the background
    By B.H.M in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-11-22, 05:26
  4. running an app in the background
    By Olotech in forum Mobile Java General
    Replies: 2
    Last Post: 2004-07-26, 11:24
  5. how to bring inactive (or background) app into foreground?
    By nitinkumar in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-03-10, 07:31

Posting Permissions

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