I just stepped into the J2ME community, and I have a general question regarding the user agent string.
How do you get the device model from the user agent string? Do you have a parser to parse the user agent string or there is persistent storage to store the mapping between the device and all its user agent strings.
The disadvantage of the second way is that you have to enumerate all possible user agent strings for a specific device, and that is a time consuming process. So I think the first one may be better. But I have no idea where to start. Because the I did not fully understand the format of the user agent string, and it seems there is no standards for the user agent string, because these user agent strings look so different.
Thanks for help!!