×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    2

    Can you put an S60Qt app in the background?

    I would like to build a Qt-based background engine (No UI parts, just network IO).

    I would then like to have a foreground app that can be running or off, while the background engine keeps running. They also need to be able to communicate with eachother. Preferably via signals/slots, but could also hack up some sort of FIFO like thing on the filesystem if needed.

    Any ideas?

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Can you put an S60Qt app in the background?

    Yes, you can have a Qt-based background engine. Signals and slots can cross thread boundaries but not process boundaries as far as I'm aware (apart from using QtDBus - which is Unix only at the moment although I've heard it will also be ported to S60, I have no idea on the timescale).

    For now you could use sockets or pipes or some file system hack of your own devising to communicate between processes. Check if the functions provided by QProcess could work for you (engine launches the UI?).

    If you've got a longish timeframe to do this in mind then you could experiment with QtDBus on linux and port it to S60 later.

    Mark

Similar Threads

  1. App Background Wallpaper
    By diptendulkar in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2009-01-28, 04:18
  2. HttpConnection fails when app in background (onS60 phone) and WAP browser uses new AP
    By david_parry1976 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-02-22, 16:37
  3. Display InformationNote when app in background
    By abolfoooud in forum Symbian
    Replies: 2
    Last Post: 2007-01-09, 04:40
  4. how to put Permanent Background.
    By sanju in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-08-31, 11:42
  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
  •  
×