Results 1 to 4 of 4

Thread: App2App

  1. #1
    Senior Member
    Join Date
    Oct 2012
    Posts
    125

    App2App

    is it possible to call another App (openApp? spawnApp?) from one Lianja App and then return to the original App by continued its running? Is parameterized call possible? In this case, in which delegate can the parameters be received?

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,462
    Hi Strato,

    Yes, see the Lianja system object methods here: https://www.lianja.com/doc/index.php/Lianja#Methods

    Regards,

    Yvonne

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,972
    See sessionstorage also.

    https://www.lianja.com/doc/index.php...rage_in_Lianja

    An interesting use of sessionStorage is the ability to switch between Apps and maintain state or pass data between them.
    So, when building a large application which is built out of smaller Apps and each App is built out of pages, you can load Apps using Lianja.openApp("someappname") and in the "Ready" delegate read some data from sessionStorage that was set using Lianja.sessionStorage.setItem("mediate", "some JSON encoded object") in the parent App that loaded "someappname".
    This technique also works in the Web/Mobile client which also has Lianja.sessionStorage in the framework.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  4. #4
    Senior Member
    Join Date
    Apr 2012
    Location
    United Kingdom
    Posts
    516
    Hi Barry,

    That is awesome Barry and will be very useful.

    David

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us