I update the list of Nokia Flash Lite enabled phones.
hello, sorry for this question if it sounds stupid, but, even after reading the Introduction_to_User_Agent_Profile pdf from Nokia, I don’t see the use of this file for Flash Lite development ?
I mean, other than to have a real description of each device capabilities…but in this case, why a XML (or perhaps there is a specific reader for it…before i write it!)
Nokia’s PDF explains it is used for easy content adaptation…but not automatically I assume…
or perhaps with the fscommand2(”GetDevice”, “devicename”) ?
again, sorry for this question, I’m starting Flash Lite development
the development scenario is the following.
You setup a mobile site, and you want to detect the phone model and it’s Flash Lite player version. Currently there is no way to do that other then creating an XML file. This is the same idea of the WURFL but just specific to what I need. You can use it for example to distribute your FL content to only the phones that you want.
I have done it for myself and just made it public.
oh yes! it rings a bell…I already read something like this…
thanks, I don’t test mobile site…yet (but bookmarked your post about it on Nokia forum)
Can you give an example or a link to how you have done this please?
I will put together an example but is pretty easy.
You need to have a mobile site that detects the User Agent of the mobile phone browser. Then you compare that User Agent with the one contained in the FLUAProfile, if they match you know that the phone has flash lite and which version and implementation supports.
So you can create your specific FLUAProfile, for example, only for Flash Lite 1.1 phones with a specific screen resolution. So when you do the match, you will detect only the phone you want to support.
I personnaly found this
I assume I have two way
- pass the $user_agent to my flash to know which device is watching it (and parse the FLUAProfile) but I don’t think it’s the way to do
- handle the $user_agent in my asp/php/… page with your FLUAProfile and XMLDOM to redirect to an ‘Unsupported device’ if needed or load the (correct) flash
not that hard, need to test it
thanks again for the explanation which let me go further.
Mail (will not be published) (required)
Characters in the image above (required)