How to detect Flash Lite version on S60 3rd FP1 phones?
I need to know how to detect version of FlashLite contained inside phone firmware. This problem relates to S60 3rd FP1 phones where old firmwares have FlashLite 2.0(or 2.1) included and newer ones have FlashLite 3.0.
I am looking for any other way than checking firmware version, and I need to do this from native C++ application.
Re: How to detect Flash Lite version on S60 3rd FP1 phones?
Run FlashLite, Options and About:)
Regards
Re: How to detect Flash Lite version on S60 3rd FP1 phones?
Idea of checking FlashLite version in menu works, but it's not useful for me - as I said I need to do this from inside of native C++ application :)
Re: How to detect Flash Lite version on S60 3rd FP1 phones?
Try this:
RLibrary library;
library.Load( _L("flash3ui.dll") )
if above returns no error, its FL3,
if "flash2ui.dll" is found, its FL2 phone.
if neither is found, you can check existence of player in general
(For FL1 above stub DLL loading doesn't work, because
FL1 phones don't have such dll at all.)
Re: How to detect Flash Lite version on S60 3rd FP1 phones?
Doesn't seem to work in some phones, as they have FL3 but stub DLL name is still flash2ui.dll..
Re: How to detect Flash Lite version on S60 3rd FP1 phones?
[QUOTE=Ooze;467517]I need to know how to detect version of FlashLite contained inside phone firmware. This problem relates to S60 3rd FP1 phones where old firmwares have FlashLite 2.0(or 2.1) included and newer ones have FlashLite 3.0.
I am looking for any other way than checking firmware version, and I need to do this from native C++ application.[/QUOTE]
I think you can easily detect the flash lite version by using :
[CODE]
var flashVersion:String = getVersion();// returns FL 8,1,53,1 for flash lite 3 and FL 7,2,201,0 for Flash Lite 2.1
//or
System.capabilities.version[/CODE]
in the actionscript of ur swf file. So , what u have to do is to launch the swf file by using Content Handler (i.e it open the flash file with default flash player) in ur symbian c++ stub.Moreover, Flash lite 2.0 applications work with FL 3.0 .Thus , it is good to make ur swf file in FL 2.0..Hope it helps u...
Best Regards,
SajiSoft
Re: How to detect Flash Lite version on S60 3rd FP1 phones?
Ciao,
another way is on delivery of the application from a mobile site using WURFL.
Not sure if it fits your scenario since you are dealing with C++.
Alessandro