Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Chained application in QT

Chained application in QT

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cglolo
    wrote on last edited by
    #1

    Hi,

    on Symbian, i am currently using RAknAppServiceBase::ConnectChainedAppL().
    This is used to "Allow a server app client to connect to a new server app, which
    will be chained from the client app, giving it the appearance of being embedded within the client."

    For instance, if i want to open the application responsible for opening/viewing zip files (call it A),
    i can embed A within my own app, so i do not have to recode A myself.
    From the viewer point of view, only one app is opened, you cannot see application A opened even
    in the task list (on Nokia/Symbian devices).

    1. Is there similar functionality in QT ?
    2. I've read about QT Mobiilty Service framework. Is this the track to follow ?
    3. Is it possible to initialize GUI app (QApplication) within the Qt service Method ?

    From what I've read, you get a QObject from service framework as follows:
    @
    QServiceManager manager;
    QObject *obj = manager.loadInterface("com.myservice.myobject");
    if (obj)
    QMetaObject::invokeMethod(obj, "myFunction", Q_ARG(QString, "arg1"));
    @

    and myFunction looks like this:
    @
    Q_INVOKABLE void myFunction(QString arg1)
    {
    ... can QApplication be started here like standalone app ?
    ... so that this will appear as being embedded ?
    }
    @

    A further requirement is that i do not want the call to GUI app to freeze the calling app...

    I hope someone can help out there.

    Cheers
    [mark up code / Tobias Hunger]

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved