Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
Posts: 4
Registered: ‎12-15-2012
My Device: playbook
My Carrier: non-BB user
Accepted Solution

Is it possible to launch one app more than one time simultaneously?

[ Edited ]

I'm thinking about making "widget like" app which main functionality is when it's run in minified (thumbnail) version.

What should I do in settings/code to allow user to launch several instances of that app?

(It will enable user to have different widget settings for different launches)

Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: Is it possible to launch one app more than one time simultaneously?

using InvocationFramework your app can be opened multiple times,

but there's always only one app visible - this means: you can OPEN an App only one time

 

but you can provide functionality from your App using Cards (InvocationFramework) -

then there can be multiple instances running (invisible)

OS manages how many instances are running using a pool where your Cards are cached

 

so for your widget-like apps:

if these apps are different apps invoking functionality from your "main" app using cards - best in this usecase a bound invocation - all your widgets have access to the same app and also (through the cards) to same data from app-sandbox

 

I'm sure you can solve your requirements ... and you'll like the Cards

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
New Developer
Posts: 4
Registered: ‎12-15-2012
My Device: playbook
My Carrier: non-BB user

Re: Is it possible to launch one app more than one time simultaneously?

Thanks! I'll look into this "Cards" thing