how to create a BMP app and extension which can in user process | developer.brewmp.com how to create a BMP app and extension which can in user process | developer.brewmp.com

Developer

how to create a BMP app and extension which can in user process

Forums:

Hi,

We are planning to create flash app with extensions for BMP.
Can any one please tell me how to make the app and extensions which can in user process instead of legacy BREW Shell( Brew Thread )?

thank you

-Krishna

Hi,
We are planning to create a flash app (with extensions) for BMP.
Can any one please tell me how to make app and extensions which can run in user process instead of legacy BREW Shell( Brew Thread )?
( I am not sure whether this is supported in the latest BMP)
thank you
-Krishna

Hi,
We are planning to create a flash app (with extensions) for BMP.
Can any one please tell me how to make app and extensions which can run in user process instead of legacy BREW Shell( Brew Thread )?
( I am not sure whether this is supported in the latest BMP)
thank you
-Krishna

Full user mode support will not be realized until BMP 1.1, which should be sometime early next year.
Thanks
-Tony

Full user mode support will not be realized until BMP 1.1, which should be sometime early next year.
Thanks
-Tony

Thank you Tony.
How to make an app run in user mode( even though it is not a full user mode )?
I think we need to do some settings in CIF file and then generate the MIF file.
Should we change the 'Host ID' to some specific value to make the app run in user mode?
The resource manager Help doesn't say any thing on this.

Thank you Tony.
How to make an app run in user mode( even though it is not a full user mode )?
I think we need to do some settings in CIF file and then generate the MIF file.
Should we change the 'Host ID' to some specific value to make the app run in user mode?
The resource manager Help doesn't say any thing on this.

You'll need to do the following:
1. Generate a unique host ID on the Developer Extranet in the same way that an
application ClassID is generated. This is required to ensure that the host ID is not used
by other applications.
2. In the Applet declaration in the application's CIF, change the value of applethostid to the
generated host ID.
Applet{
...
applethostid = 0x1234abcd, -- unique host ID generated from the DX
...

3. Include the AppletHost declaration in the application's CIF
AppletHost{
applethostid = 0x1234abcd, -- unique host ID generated from the DX
programname = "BREWServerHost",
}
Please be very clear that before BMP 1.1, user mode support is very limited and you will be using it at your own risk since there are APIs that will not work for apps that are running in the user process.
-Tony

You'll need to do the following:
1. Generate a unique host ID on the Developer Extranet in the same way that an
application ClassID is generated. This is required to ensure that the host ID is not used
by other applications.
2. In the Applet declaration in the application's CIF, change the value of applethostid to the
generated host ID.
Applet{
...
applethostid = 0x1234abcd, -- unique host ID generated from the DX
...

3. Include the AppletHost declaration in the application's CIF
AppletHost{
applethostid = 0x1234abcd, -- unique host ID generated from the DX
programname = "BREWServerHost",
}
Please be very clear that before BMP 1.1, user mode support is very limited and you will be using it at your own risk since there are APIs that will not work for apps that are running in the user process.
-Tony

How do I know it is really running in User Mode? Is there some way to validate?
Thanks

How do I know it is really running in User Mode? Is there some way to validate?
Thanks

For usemode then, the AppletID and the AppletHostID should be the same?
Applet {
resbaseid =20,
appletid =0x92314567,
type =0,
flags =16,
applethostid = 0x92314567,
privs ={AEEPRIVID_PLFile, AEEPRIVID_PLDownload, }

For usemode then, the AppletID and the AppletHostID should be the same?
Applet {
resbaseid =20,
appletid =0x92314567,
type =0,
flags =16,
applethostid = 0x92314567,
privs ={AEEPRIVID_PLFile, AEEPRIVID_PLDownload, }