dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by leazur 2 years 33 weeks ago

pic
 leazur
mobiForge Newbie
Posts: 2
Joined: 3 years ago
[offline]

Hi everyone,

I am green hand of DeviceAtlas database.

One question about UA strings from JSON database: How to retrieve all UA strings for a certian device? Because I notice there may be many UA strings for some model, such as iPhone. But I can not find any API or method can retrieve these strings. What shall I do to implement this requirement?

Thank you in advance.

Leazur

Posted by daniel.hunt 2 years ago

pic
 daniel.hunt
dotMobi logo
Mobile Grandmaster
Posts: 230
Joined: 4 years ago
[offline]

There's no way to retrieve this kind of data using DeviceAtlas. DeviceAtlas works, by returning device information when presented with device UA strings, but not the other way around.

We do list some of the UA strings we identify devices using, on the device pages on deviceatlas.com, but that's purely for informational purposes.

What is it you want this information for?

Daniel Hunt
dotMobi

Posted by leazur 2 years ago

pic
 leazur
mobiForge Newbie
Posts: 2
Joined: 3 years ago
[offline]

Thank Daniel's reply.

Yes I notice UA strings list in deviceatlas.com. In my app based on JSON data, I need to verify query function with all these UA strings as input. And how to collect all possible UA strings for a certain device is a big problem for me.

Is any realistic way to collect UA strings for devices? Thank you in advance.

Posted by atrasatti 2 years ago

pic
 atrasatti
dotMobi logo
Mobile Genius
Posts: 325
Joined: 5 years ago
[offline]

leazur wrote:
Thank Daniel's reply.

Yes I notice UA strings list in deviceatlas.com. In my app based on JSON data, I need to verify query function with all these UA strings as input. And how to collect all possible UA strings for a certain device is a big problem for me.

Is any realistic way to collect UA strings for devices? Thank you in advance.

Hi Leazur,
providing the User-Agent strings or HTTP request headers is not part of DeviceAtlas at this stage.

I am a bit lost on what exactly you need to test. If you want to test software functionality, then try with something like Firefox's user-agent switcher and then test on real devices (colleagues and friends are a great resource!).

As an alternative, you could look at your Web server's log files and find some mobile devices if you already have any mobile site.
Lastly, you can look on Google a lot of sites publish their logs, for example on the W3C site, http://www.w3.org/2007/03/mth/results?ts=cssmedia&showall=1

Posted by livingtech 2 years ago

pic
 livingtech
mobiForge Newbie
Posts: 3
Joined: 2 years ago
[offline]

But this should be a simple query! It seems to me that Device Atlas is trying very hard to provide the information in a way that is hard to use however we like. Don't you see that it is still a useful service for you to update this information, even if you make it all available?