Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

In BREW 3.1.5, One New App Start Flag, SSA_UNIQUE, be introduced. From the SDK, We can know its use is as below:

Normally, Only Single App instance Exist. When Start a running Applet(Top Visable, Suspended, or BG) again, No New App instance will be created, Only App State transition happened, such as change to top visable.

BUT, When Call IShell_StartAppletEx on a already running Applet with Flag SSA_UNIQUE, The New App Instance should be created and put in App Stack.

Then, Confusion arised!! Two App Instance exist in App Stack, But with the same CLSID. Then How BREW Treat them for below:

1. When Send/Post Event, Which App Instance will received the event and handle it
2. If the App Register Notify, Register MIME Type, Register Alarm....and All other operations which will lead to CLSID Binding. Then, When Things happen, which App instance be handled??
3. When Key pressed, Which App instance be received?

Thanks a lot

SSA_UNIQUE has been around for a long time. I did a quick search through the BREW source code, and I don't see any implementation for it.

SSA_UNIQUE has been around for a long time. I did a quick search through the BREW source code, and I don't see any implementation for it.

What do you mean?
Do you mean SSA_UNIQUE now is not implemented and We should not use it??

What do you mean?
Do you mean SSA_UNIQUE now is not implemented and We should not use it??

BUT if We do want to launch a new app instance, not just move the current App to top visable, How to Do??

BUT if We do want to launch a new app instance, not just move the current App to top visable, How to Do??

Anyone can help me?
How to start multi- instance for one app?
if multi-instance for one app exist, what's brew behaviour ?

Anyone can help me?
How to start multi- instance for one app?
if multi-instance for one app exist, what's brew behaviour ?

That's not currently possible.

That's not currently possible.