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

Developer

Forums

Forums:

Hi Ruben,
I know that you would be the best person to explain the flash lite. Here are some questions, concerns and suggestions.

1.Can we have one list of step by step process for developing a flash based BREW application. I know there are links in adobe, forums, and blogs etc.,. But still, inorder to publish this new technology to most of the BREW developers, it has to be explained in simple terms, steps and titles.
If you can explain with small example then it will be easy for everybody.

##########################################
2. Right now I am trying to create a demo application using flash-8. So the first thing I did is
a)Downloaded the flashlite_2_1 7.2.101.4 extension as well the sample application(usingbrewsaplayer).
b)Took only WIN folder of both and created under examples folder in its own names(as in mif/dll).
c)While running i got "unable to start application". I hope this is from application itself.

Also please clarify the following that I saw in extranet. Why do we have 2 different versions with same version number and targetted to LG8300 only. Are these used for different purpose?(I thought brewsaplayer is the FLASHLITE named olden days.?)

brewsaplayer 7.2.101.4 - Adobe Systems Incorporated Flash Lite 2.1 for BREW Devices.Flash Lite 2.1 extends the capabilities of the BREW platform to run Flash-based content for applications.

VS

flashlite_2_1 7.2.101.4 - Adobe Systems Incorporated Flash Lite 2.1 for BREW Devices.Flash Lite 2.1 extends the capabilities of the BREW platform to run Flash-based content for applications.

Note:The description are same for all the version avilable there, atleast if it has some unique info as to why is it released, then it will be easy to pick the right one from there.
###########################################

I would like to continue this topic till I finish my demo app. So I am requesting you very much to support me till completing this. This will also be very helpful for everybody.

I know deploying BREW application made of flashlite is a costliest strategy. But still there are many companies would like to take that path as it has lot of advantages.

The sample application is running in the simulator. Now I understand one thing that "we have to have .mif under example folder".
But this is not the case for the regular brew apps, because I can specify the MIF location inside the proj folder. This helps reducing the navigation to launch any app under example(where I have 15,20 projects).
The second thing I noticed is that, "flashlite_2_1 7.2.101.4" link from extra net has two .zip file, out of which one is extension and other one is sample app. Now to run the "usingbrewsaplayer.dll" player i need to download another .zip file which is 'brewsaplayer.dll' from the version "brewsaplayer 7.2.101.4".
Finally I need all the 3 dll/mod files [a)flaslite_2_1.dll/mod, b)brewsaplayer.dll/mod and c)usingbrewsaplayer.dll/mod] to run the sample application.
Here again I have question
1)What is flashlite_2_1 and what is brewsaplayer?
2)What is residing on the handsets other than these extension?(becuase when the info says supported devices are LG9800,V3C/V3M,LG8300, then some engine is preloaded to those devices?)
3)Why are we not able to use other devices if we need just these 2 extensions?
4)Why can't we use just any one extension to create,run the flash-brew app.
5)Can we omit any one , if so what functionality exist in the first and second.
6)I have not yet registered to Adobe to download CDK, why do I need CDK? dont I just use flash-8 to develop the flash and create mif,mod using flash postprocessor?
7)Where do I get detailed document for flashlite like BREW API document.
Each of these are time taking process...

The sample application is running in the simulator. Now I understand one thing that "we have to have .mif under example folder".
But this is not the case for the regular brew apps, because I can specify the MIF location inside the proj folder. This helps reducing the navigation to launch any app under example(where I have 15,20 projects).
The second thing I noticed is that, "flashlite_2_1 7.2.101.4" link from extra net has two .zip file, out of which one is extension and other one is sample app. Now to run the "usingbrewsaplayer.dll" player i need to download another .zip file which is 'brewsaplayer.dll' from the version "brewsaplayer 7.2.101.4".
Finally I need all the 3 dll/mod files [a)flaslite_2_1.dll/mod, b)brewsaplayer.dll/mod and c)usingbrewsaplayer.dll/mod] to run the sample application.
Here again I have question
1)What is flashlite_2_1 and what is brewsaplayer?
2)What is residing on the handsets other than these extension?(becuase when the info says supported devices are LG9800,V3C/V3M,LG8300, then some engine is preloaded to those devices?)
3)Why are we not able to use other devices if we need just these 2 extensions?
4)Why can't we use just any one extension to create,run the flash-brew app.
5)Can we omit any one , if so what functionality exist in the first and second.
6)I have not yet registered to Adobe to download CDK, why do I need CDK? dont I just use flash-8 to develop the flash and create mif,mod using flash postprocessor?
7)Where do I get detailed document for flashlite like BREW API document.
Each of these are time taking process...

Getting FlashLite working in your phone shouldn't take any more than 15 minutes. There are detailed documentation on how to use it. But in summary:
1. Need to have Flash Authoring tool in your PC.
2. Install the FlashLite BREW publisher from Adobe website, available for download (no charge for that).
3. From the BREW extranet get the "brewsaplayer" and "flashlite_2_1" extensions for emulator and device (be sure to get the correct version).
4. Install or copy the "brewsaplayer" and "flashlite_2_1" extensions to your target phone.
5. From the Flash authoring tool create your test swf and publish it (during publish time from the publish setting select the using publisher for BREW from the post processor drop down menu).
6. Now Flash authoring tool would create your application MOD and MIF file.
7. Copy them to your phone, reboot and you are ready to use it.
8. By the way for doing you test development you don't have to pay anything to Adobe, other than the authoring tool.
regards
Ruben

Getting FlashLite working in your phone shouldn't take any more than 15 minutes. There are detailed documentation on how to use it. But in summary:
1. Need to have Flash Authoring tool in your PC.
2. Install the FlashLite BREW publisher from Adobe website, available for download (no charge for that).
3. From the BREW extranet get the "brewsaplayer" and "flashlite_2_1" extensions for emulator and device (be sure to get the correct version).
4. Install or copy the "brewsaplayer" and "flashlite_2_1" extensions to your target phone.
5. From the Flash authoring tool create your test swf and publish it (during publish time from the publish setting select the using publisher for BREW from the post processor drop down menu).
6. Now Flash authoring tool would create your application MOD and MIF file.
7. Copy them to your phone, reboot and you are ready to use it.
8. By the way for doing you test development you don't have to pay anything to Adobe, other than the authoring tool.
regards
Ruben

Answering your questions in details:
Before you begin what you need:
1. Need to have Flash 8 profession authoring tool.
2. Install Flashlite 2.1 authoring tool support from
http://download.macromedia.com/pub/flash/updates/8/flashlite2/fl8_flashl...
For more information on this please visit http://www.adobe.com/support/flash/downloads.html#flash8pro
3. Now install FlashLite publisher for BREW, can be found from
http://www.adobe.com/devnet/devices/index.html?tab:downloads=1
4. All FAQ and other information are available at
http://www.adobe.com/devnet/devices/brew.html
5. For information on content development please visit and dowload CDK (Content development Kit)
http://www.adobe.com/devnet/devices/verizon.html
Answer to your specific questions:
1)What is flashlite_2_1 and what is brewsaplayer?
>>> You need only "flashlite_2_1" and "brewsaplayer", you don't need get/download "usingbrewsaplayer", that is just sample application that Adobe had to submit for extension certification.
flashlite_2_1: is the extension that contains core rendering engine and actionscript virtual machine.
brewsaplayer: is the extension that contains everything else like the support for sound, video, events, http, socket etc.
You need both of them to run it correctly.
2)What is residing on the handsets other than these extension?(becuase when the info says supported devices are LG9800,V3C/V3M,LG8300, then some engine is preloaded to those devices?)
>>> you would be installing "brewsaplayer", and "flashlite_2_1" in the phone, and you would be installing your swf application that gets generated from your authoring tool.
3)Why are we not able to use other devices if we need just these 2 extensions?
>>> In theory, you should be able to use it on any devices that is BREW 2.1.3 or above. For example we haven't certified for Motorola E816, but one of our partner company is using it for development purpose.
However we as a company we need to certify for all the phone that we say we support, so for the certified phones we fix any additional handset specific issues that we find. In addition we also need to document any handset specific known issue.
4)Why can't we use just any one extension to create,run the flash-brew app.
>>> As mentioned earlier both of them are necessary.
5)Can we omit any one , if so what functionality exist in the first and second.
>>> No that is not possible.
6)I have not yet registered to Adobe to download CDK, why do I need CDK? dont I just use flash-8 to develop the flash and create mif,mod using flash postprocessor?
>>> CDK is for Flashlite content development. It tells you all the features of the FlashLite, specific actionscript extension. In addition it provides you documentation, samples etc. In addition from Flash authoring tool you can press F1 to get the help and you will find information on flashlite specific actionscript.
7)Where do I get detailed document for flashlite like BREW API document.
>>> See the answer above.
If you have difficulties, please post your question here.

Answering your questions in details:
Before you begin what you need:
1. Need to have Flash 8 profession authoring tool.
2. Install Flashlite 2.1 authoring tool support from
http://download.macromedia.com/pub/flash/updates/8/flashlite2/fl8_flashl...
For more information on this please visit http://www.adobe.com/support/flash/downloads.html#flash8pro
3. Now install FlashLite publisher for BREW, can be found from
http://www.adobe.com/devnet/devices/index.html?tab:downloads=1
4. All FAQ and other information are available at
http://www.adobe.com/devnet/devices/brew.html
5. For information on content development please visit and dowload CDK (Content development Kit)
http://www.adobe.com/devnet/devices/verizon.html
Answer to your specific questions:
1)What is flashlite_2_1 and what is brewsaplayer?
>>> You need only "flashlite_2_1" and "brewsaplayer", you don't need get/download "usingbrewsaplayer", that is just sample application that Adobe had to submit for extension certification.
flashlite_2_1: is the extension that contains core rendering engine and actionscript virtual machine.
brewsaplayer: is the extension that contains everything else like the support for sound, video, events, http, socket etc.
You need both of them to run it correctly.
2)What is residing on the handsets other than these extension?(becuase when the info says supported devices are LG9800,V3C/V3M,LG8300, then some engine is preloaded to those devices?)
>>> you would be installing "brewsaplayer", and "flashlite_2_1" in the phone, and you would be installing your swf application that gets generated from your authoring tool.
3)Why are we not able to use other devices if we need just these 2 extensions?
>>> In theory, you should be able to use it on any devices that is BREW 2.1.3 or above. For example we haven't certified for Motorola E816, but one of our partner company is using it for development purpose.
However we as a company we need to certify for all the phone that we say we support, so for the certified phones we fix any additional handset specific issues that we find. In addition we also need to document any handset specific known issue.
4)Why can't we use just any one extension to create,run the flash-brew app.
>>> As mentioned earlier both of them are necessary.
5)Can we omit any one , if so what functionality exist in the first and second.
>>> No that is not possible.
6)I have not yet registered to Adobe to download CDK, why do I need CDK? dont I just use flash-8 to develop the flash and create mif,mod using flash postprocessor?
>>> CDK is for Flashlite content development. It tells you all the features of the FlashLite, specific actionscript extension. In addition it provides you documentation, samples etc. In addition from Flash authoring tool you can press F1 to get the help and you will find information on flashlite specific actionscript.
7)Where do I get detailed document for flashlite like BREW API document.
>>> See the answer above.
If you have difficulties, please post your question here.

Ruben,
This answeres lot of my basic question quickly.
One pricing question
1)Regarding the usage of extension- still have question, because the price model for 2 extension will be more, than for just 1. So If the handset itself is embedded with Flashlite_2.1 engine in it, then we dont need to use/refer, so that we reduce our total expense the our app interms of revenue share?
I am excited to use the Flash to create a BREW application. Infact with existing images I did develop 1 screen with 4+3 menu item invoking animation in 3-4 hours. All I did is 10-20 line of coding(action script). (Ofcourse Help & usingbrewsaplayer app helped me to identify lot of things)
Few more question -
1)I am not sure when do I need to (use/write) Flashlite 2.1 Action Script , ver 2.0 and Regular Action Script 1.0 & 2.0. Can we use mix all or are these handset dependant?
2)Some of the actions need the flash to be converted to lower verion like 6 or 5. I am using Flash-8 now. I dont know why are we going backward (though some of the features are from 2.1 AS.
3)I did make the sample as FL2.1, and when I tried publishing the Flash as MOD for BREW 2.1.3, it did not make it. So I changed that to FL2.0, then it completed.(Dont know why, is it FL2.1=BREW 3.x, FL2.0=BREW2.x?).
Thanks for your time.

Ruben,
This answeres lot of my basic question quickly.
One pricing question
1)Regarding the usage of extension- still have question, because the price model for 2 extension will be more, than for just 1. So If the handset itself is embedded with Flashlite_2.1 engine in it, then we dont need to use/refer, so that we reduce our total expense the our app interms of revenue share?
I am excited to use the Flash to create a BREW application. Infact with existing images I did develop 1 screen with 4+3 menu item invoking animation in 3-4 hours. All I did is 10-20 line of coding(action script). (Ofcourse Help & usingbrewsaplayer app helped me to identify lot of things)
Few more question -
1)I am not sure when do I need to (use/write) Flashlite 2.1 Action Script , ver 2.0 and Regular Action Script 1.0 & 2.0. Can we use mix all or are these handset dependant?
2)Some of the actions need the flash to be converted to lower verion like 6 or 5. I am using Flash-8 now. I dont know why are we going backward (though some of the features are from 2.1 AS.
3)I did make the sample as FL2.1, and when I tried publishing the Flash as MOD for BREW 2.1.3, it did not make it. So I changed that to FL2.0, then it completed.(Dont know why, is it FL2.1=BREW 3.x, FL2.0=BREW2.x?).
Thanks for your time.

1. Even if there are two extensions (just code organization), you get charged only once for one extension (you can think of two extension as one extension), don't get charged twice.
2. In terms of actionscript version mix and match you can do anything you want (please note that you can't use any actionscript stuff that is flash 8.0 or flash 9.0) that is limited within the Flash 7.0.
Please note that FlashLite 2.1 (version of the FlashLite for BREW) doesn't support all Flash 7.0 actionscript capabilities, in addition FlashLite provides quite a few phone specific actionscript. In the Flash 8.0 authoring tool help and CDK documentation lists all the available actionscript for FlashLite.
3. FlashLite player, like desktop player is backword compatible, you can even write Flash 4.0 actionscript and run in the FlashLite BREW player. So 5 or 6 version should be okay too.
4. Did you install Flashlite 2.1 authoring tool updater from
http://download.macromedia.com/pub/...e2_1_update.exe
That is necessary for FlashLite for BREW publishing.

1. Even if there are two extensions (just code organization), you get charged only once for one extension (you can think of two extension as one extension), don't get charged twice.
2. In terms of actionscript version mix and match you can do anything you want (please note that you can't use any actionscript stuff that is flash 8.0 or flash 9.0) that is limited within the Flash 7.0.
Please note that FlashLite 2.1 (version of the FlashLite for BREW) doesn't support all Flash 7.0 actionscript capabilities, in addition FlashLite provides quite a few phone specific actionscript. In the Flash 8.0 authoring tool help and CDK documentation lists all the available actionscript for FlashLite.
3. FlashLite player, like desktop player is backword compatible, you can even write Flash 4.0 actionscript and run in the FlashLite BREW player. So 5 or 6 version should be okay too.
4. Did you install Flashlite 2.1 authoring tool updater from
http://download.macromedia.com/pub/...e2_1_update.exe
That is necessary for FlashLite for BREW publishing.

Ruben,
You know that without having post processor we can't create MOD/MIF file for FL. So I did installed and created the MOD/MIFs.
When we specify the authoring tool, i guess we need to state them clearly that it is not a new tool but it is "Adobe's FLASH" application and it takes the plugins like the flash lite player and flash lite postprocessor for computer version(i am not sure why is it called as "update" as if something old version is exist).
I do see some interesting forum going in adobe's site regarding Flash Lite.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=68&c...
But there aren't many threads are going on there. It is very important to have resource on both BREW & ADOBE forums with knowledge of both of the skillsets to explain the methodology,techniques as well solution for issues.
Also these will arise when new applications gets developed. I know there are some applications out there in the market with Flash Lite.
Here are more question.
1.Can I get some flash content developed for WAP sites, so that a flash content can be played when a link is invoked thru the WAP? If so how can we do this.
2.If this feature is not exist, then is there a Road Map including this or any thought process going on at all..?
I do see some limitations with the FL. Majority of the application needs a server-client communication, where we send request and receive some data and represent it in Graphic Rich GUI like this Flash Lite. But I dont find a way to send the request and receive like a HTML page.
The reason is , that If I want to send the response data as a html content, then it is a complex process to parse and lay the data. I am not sure what kind of solution we can have in this scenario.

Ruben,
You know that without having post processor we can't create MOD/MIF file for FL. So I did installed and created the MOD/MIFs.
When we specify the authoring tool, i guess we need to state them clearly that it is not a new tool but it is "Adobe's FLASH" application and it takes the plugins like the flash lite player and flash lite postprocessor for computer version(i am not sure why is it called as "update" as if something old version is exist).
I do see some interesting forum going in adobe's site regarding Flash Lite.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=68&c...
But there aren't many threads are going on there. It is very important to have resource on both BREW & ADOBE forums with knowledge of both of the skillsets to explain the methodology,techniques as well solution for issues.
Also these will arise when new applications gets developed. I know there are some applications out there in the market with Flash Lite.
Here are more question.
1.Can I get some flash content developed for WAP sites, so that a flash content can be played when a link is invoked thru the WAP? If so how can we do this.
2.If this feature is not exist, then is there a Road Map including this or any thought process going on at all..?
I do see some limitations with the FL. Majority of the application needs a server-client communication, where we send request and receive some data and represent it in Graphic Rich GUI like this Flash Lite. But I dont find a way to send the request and receive like a HTML page.
The reason is , that If I want to send the response data as a html content, then it is a complex process to parse and lay the data. I am not sure what kind of solution we can have in this scenario.

two more important question
1)Can we embed C/C++ file that has components/functions written for BREW? because the BREW APIs are not exposed to FL at all. Also FL is generating the complete mod where in the user could never touch any of the BREW related code to make it flexible.
2)Or is there any intension to prvoid some interface for utilising these BREW managers some way near future?
Note: I did find some info on XML data that can be parsed in flashlite.

two more important question
1)Can we embed C/C++ file that has components/functions written for BREW? because the BREW APIs are not exposed to FL at all. Also FL is generating the complete mod where in the user could never touch any of the BREW related code to make it flexible.
2)Or is there any intension to prvoid some interface for utilising these BREW managers some way near future?
Note: I did find some info on XML data that can be parsed in flashlite.

Yes, you need to install post processor.
There was a presentation on Flashlite on BREW on BREW 2006 conference. Material can be found at
http://brew.qualcomm.com/brew_bnry/pdf/events/brew_2006/tech501_chanda_c...
For FlashLite development forums please see
http://www.adobe.com/cfusion/webforums/forum/index.cfm?NoCookies=Yes
http://www.flashmobilegroup.org/
1.Can I get some flash content developed for WAP sites, so that a flash content can be played when a link is invoked thru the WAP? If so how can we do this.
>>> No not in the BREW phone, this is not because of FlashLite limitation but OEM and browser providers integration issue. For now browser integration functionalities are available only for Symbian and Windows Mobile system. By the way you can run same FlashLite content in BREW, Symbian and Windows Mobile.
2.If this feature is not exist, then is there a Road Map including this or any thought process going on at all..?
>>> We are working with OEM vendor and browser provider on many issues including this.
3. Can we embed C/C++ file that has components/functions written for BREW? because the BREW APIs are not exposed to FL at all. Also FL is generating the complete mod where in the user could never touch any of the BREW related code to make it flexible.
>>> For now we don't have this functionalities however we are aware of this.
4. Or is there any intension to prvoid some interface for utilising these BREW managers some way near future?
>>> Yes we have many internal engineering activities going on.
5. Please note that if you would like to create your own BREW application and use FlashLite UI components then you can request Adobe for the FlashLite BREW extension header (you need to submit your request via Adobe website, and it wouldn't cost you any additional money) so that you can create C/C++ based BREW application that uses Flash.
You can load XML data and parse them via XMLSocket.
Hope this helps.

Yes, you need to install post processor.
There was a presentation on Flashlite on BREW on BREW 2006 conference. Material can be found at
http://brew.qualcomm.com/brew_bnry/pdf/events/brew_2006/tech501_chanda_c...
For FlashLite development forums please see
http://www.adobe.com/cfusion/webforums/forum/index.cfm?NoCookies=Yes
http://www.flashmobilegroup.org/
1.Can I get some flash content developed for WAP sites, so that a flash content can be played when a link is invoked thru the WAP? If so how can we do this.
>>> No not in the BREW phone, this is not because of FlashLite limitation but OEM and browser providers integration issue. For now browser integration functionalities are available only for Symbian and Windows Mobile system. By the way you can run same FlashLite content in BREW, Symbian and Windows Mobile.
2.If this feature is not exist, then is there a Road Map including this or any thought process going on at all..?
>>> We are working with OEM vendor and browser provider on many issues including this.
3. Can we embed C/C++ file that has components/functions written for BREW? because the BREW APIs are not exposed to FL at all. Also FL is generating the complete mod where in the user could never touch any of the BREW related code to make it flexible.
>>> For now we don't have this functionalities however we are aware of this.
4. Or is there any intension to prvoid some interface for utilising these BREW managers some way near future?
>>> Yes we have many internal engineering activities going on.
5. Please note that if you would like to create your own BREW application and use FlashLite UI components then you can request Adobe for the FlashLite BREW extension header (you need to submit your request via Adobe website, and it wouldn't cost you any additional money) so that you can create C/C++ based BREW application that uses Flash.
You can load XML data and parse them via XMLSocket.
Hope this helps.

"Please note that if you would like to create your own BREW application and use FlashLite UI components then you can request Adobe for the FlashLite BREW extension header (you need to submit your request via Adobe website, and it wouldn't cost you any additional money) so that you can create C/C++ based BREW application that uses Flash."
Can you elaborate more on this please?

"Please note that if you would like to create your own BREW application and use FlashLite UI components then you can request Adobe for the FlashLite BREW extension header (you need to submit your request via Adobe website, and it wouldn't cost you any additional money) so that you can create C/C++ based BREW application that uses Flash."
Can you elaborate more on this please?