Hi guys how to detect all the browsers that are installed in a system.By using Flex
+2
A:
You cannot do that from Flex or, as far as I can tell, from any web application. A web app being able to go through the list of installed applications on client machine is bad from a privacy and security point of view.
Maximum you can do is to read the user agent string from the HTTP headers (which can be easily modified and hence need not be accurate) to check what's the current browser being used to access your application. Even this, you can't do from Flex, you'll have to do it using some server script and send the information to the Flex app.
Amarghosh
2010-06-16 13:20:40
A:
@Amargosh, while you do have to go through the server page to get client information, you can simply get browser information by executing Javascript from Flex:
var result:String = ExternalInterface.call("eval", "navigator.userAgent");
This will do the trick.
adamcodes
2010-06-16 14:12:02
That might give you access to the userAgent of the current browser; but will not provide the SWF any information about other browsers installed on the system.
www.Flextras.com
2010-06-16 14:14:37
I know. I was referencing part of Amargosh's reply. I guess I should have commented instead.
adamcodes
2010-06-16 14:19:55
Ya, you're right.
Amarghosh
2010-06-17 03:53:57