Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13225] BlackBerry: Use deviceinfo.h from the NDK to detect the device type.

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2013-07-16T18:17:56.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 14
ComponentsBlackBerry
Labelsn/a
ReporterRussell McMahon
AssigneePedro Enrique
Created2013-03-26T22:54:37.000+0000
Updated2014-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.

Comments

  1. Russell McMahon 2013-03-27

    I was thinking this would return phone or tablet to Alloy. I believe this is what the other platforms do.
  2. Tony Lukasavage 2013-03-27

    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.
  3. Russell McMahon 2013-07-16

    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/
  4. Tony Lukasavage 2013-07-16

    Thanks [~rmcmahon]. To be clear, isTablet can essentially be hard-coded to "false" then?
  5. Russell McMahon 2013-07-16

    Yes. I think that is the easiest thing to do for now.
  6. Lokesh Choudhary 2013-08-12

    Closing according to Russ's comment that BB is not gonna port BB10 apps on tablets.

JSON Source