Determine smart phone

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
shgeorge
Posts: 4
Joined: Fri Oct 26, 2012 12:13 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Determine smart phone

Postby shgeorge » Wed Jul 03, 2013 6:55 pm

How can I determine if a device is a Smart phone or not using the Java API? I cannot query the capability "is_smartphone" as it seems to be un-supported.
What are the capabilities that I should query to decide if the given device is a smart phone. I see that this functionality is supported in WURFL cloud service.

Appreciate your inputs.
Thanks

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Determine smart phone

Postby sm_support2 » Thu Jul 04, 2013 2:59 am

Hi George, API 1.5 will introduce this as a standard feature. At any rate, you can always create your own definition of smartphone based on your own unique requirements or use the one in 1.4.

This thread will also provide interesting reading:

http://www.scientiamobile.com/forum/vie ... f=12&t=237

Thanks

tabi213
Posts: 1
Joined: Fri Sep 27, 2013 8:03 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Determine smart phone

Postby tabi213 » Fri Sep 27, 2013 8:04 am

Thanks alot sharing good info!!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest