[
https://issues.apache.org/jira/browse/DMAP-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070336#comment-14070336
]
Reza Naghibi commented on DMAP-50:
----------------------------------
So here is the criteria:
browser - is_desktop=true. Any desktop browser running on os x, windows, or
linux. Browsers include Chrome, IE, Firefox, Opera, etc.
crawler - is_crawler=true. Any user-agent which hits a crawler pattern.
phone - is_wireless_device=true. This is pretty much any device minus the ones
above.
smartphone - inputDevices=touchscreen. If it supports touch, its a smartphone,
ie: android, ios, etc.
tablet - is_tablet=true. Its really upto the data maintainers to properly tag
tablets. In my opinion, large screen phones are not tablets.
So the definitions can be a bit blurry. Example, phones should pick up all
smartphones and tablets, but there are some devices which fall thru.
Smartphones should pick up all tablets, again, some corner cases fall thru.
So maybe we need to clean up the data a bit if these are the definitions we
agree on.
Also, we have high density screens... that creates a whole new class of the
above devices.
> Create convenience methods for quick classification
> ---------------------------------------------------
>
> Key: DMAP-50
> URL: https://issues.apache.org/jira/browse/DMAP-50
> Project: DeviceMap
> Issue Type: New Feature
> Components: .NET API, Java API
> Reporter: Reza Naghibi
> Assignee: Reza Naghibi
>
> Kind of like how the javascript api does it, make convenience methods which
> can quickly tell (boolean) if a device is:
> - browser
> - tablet
> - smartphone
> - phone
> - crawler
--
This message was sent by Atlassian JIRA
(v6.2#6252)