Is there an efficient way to programatically generate a list of supported devices based on a set of required capabilities using the WURFL APIs?
For example I have two versions of an application; one that runs on Nokia Series60 version 2 handsets (Symbian 7/8) and a different version that runs on Nokia Series60 version 3 handsets (Symbian 9). I need to get all such handset from the WURFL to present as on a 'supported handsets' page as well as check UAs of users who attempt to download so I can pass them the correct version of the application.
Conceptually I think I am looking for something like this:
return all devices that have capabilities := device_os == Symbian OS && nokia_series == 60 && (nokia_edition == 2 || nokia_edition == 3)
I am looking to do this in Java.
I suggest using the new Java WURFL API to load and trawl through the capabilities database. It's pretty flexible that way, you should be able to implement your pseudo-code pretty quickly.