dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by Pilot 3 years 7 weeks ago

pic
 Pilot
mobiForge Enthusiast
Posts: 13
Joined: 4 years ago
[offline]

Can someone point me to some code that shows how to detect mobileDevice true/false using deviceAtlas?

Thanks

Posted by Pilot 3 years ago

pic
 Pilot
mobiForge Enthusiast
Posts: 13
Joined: 4 years ago
[offline]

I'm able to pull the vendor and displayWidth, but can't seem to get the mobileDevice

Posted by atrasatti 3 years ago

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

Did you see our ASP.NET tutorial?

mobileDevice should not be any different from any other property. What user-agent are you using for testing? Do you get an exception?

Posted by Milind 2 years ago

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

Hi

I am using DA personal webservice and i want information about vendor & model of mobile device, how can i pull that info from this webservice.

Any help will be appreciated.

Thanks in advance.

Posted by stevenland 2 years ago

pic
 stevenland
mobiForge Newbie
Posts: 1
Joined: 2 years ago
[offline]

I'm just getting started with using DeviceAtlas, but so far this seems to be working:

Boolean blnIsMobileDevice = false;
blnIsMobileDevice = Api.GetPropertyAsBoolean(Tree, UA, "mobileDevice");

if (blnIsMobileDevice == true)
{
Response.Write("MobileDevice = TRUE");
}