[TIMOB-13225] BlackBerry: Use deviceinfo.h from the NDK to detect the device type.
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-07-16T18:17:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 14 |
Components | BlackBerry |
Labels | n/a |
Reporter | Russell McMahon |
Assignee | Pedro Enrique |
Created | 2013-03-26T22:54:37.000+0000 |
Updated | 2014-06-19T12:44:27.000+0000 |
Description
Alloy has the awesome device query system that requires the device to tell Alloy if it's a tablet or phone.
I was thinking this would return phone or tablet to Alloy. I believe this is what the other platforms do.
I'd be happy if it did that. iOS I determine based on the osname of either iphone or ipad. Android reports the screen size in categories of small, medium, large, or xlarge. Any data from which I can draw a clear distinction between tablet and handheld works for me.
BlackBerry has publicly stated the there will be no port of BB 10 to the tablet so for now only phones are targeted. http://techcrunch.com/2013/06/28/blackberry-ceo-confirms-no-bb10-update-for-the-aging-playbook-tablet/
Thanks [~rmcmahon]. To be clear, isTablet can essentially be hard-coded to "false" then?
Yes. I think that is the easiest thing to do for now.
Closing according to Russ's comment that BB is not gonna port BB10 apps on tablets.