Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Testing and Deployment

Reply
New Contributor
PJexpress
Posts: 7
Registered: 08-05-2011
My Carrier: T mobile

HELP: TOUCH vs. NON touch BBs in ALX

guys,

 

we have app for touch instructions and non touch instructions,I need to define ALX

is there any attribute in Device.xml (I could not find anyway) or any other way how to differ in alx file?

OS version att. does not work as some 7.0 are and are not touch]

Keyboard type as well not, because some devices are "Qwerty"

and listing all the "series" for touch and non touch file is not really comfortable as some device form 50 can be easily missed.

please help

Please use plain text.
BlackBerry Development Advisor
PBernhardt
Posts: 42
Registered: 12-16-2008
My Carrier: Rogers

Re: HELP: TOUCH vs. NON touch BBs in ALX

There is no ALX property that lets you directly determine if a device is touch or not. As long as you are building for 4.7+, you can build your app to handle both touch and trackpad navigation. That is the expected behavior on the devices with both of those input methods (such as the 9800 and 9900).

 

If your concern is more about providing an optimized experience for touch only devices/those with the longer screens (like the Torch line), you can use the KeyboardType property. "Virtual" would be the touch-only devices, and "QwertyVirtual" would get the Torches with the slide out physical keyboard.

Paul Bernhardt
Application Development Consultant
Research In Motion
Please use plain text.
New Contributor
PJexpress
Posts: 7
Registered: 08-05-2011
My Carrier: T mobile

Re: HELP: TOUCH vs. NON touch BBs in ALX

yeah this does not help beause some of the devices are qwerty virtual aka Torch so touch instructions are needed

some of them are qwerty type but has touch display aka 9790

some of them are qwerty type but do not have touch display, 

Please use plain text.
BlackBerry Development Advisor
PBernhardt
Posts: 42
Registered: 12-16-2008
My Carrier: Rogers

Re: HELP: TOUCH vs. NON touch BBs in ALX

A non-touch device running 4.7+ can still handle an app using touch methods, they will just never be called. A user on a touch device like the 9790 will still expect to be able to use your app with the trackpad, and you have to have code for that somewhere anyway to handle the non-touch devices. So why have separate builds?

 

I wrote a blog post a while ago expanding on this point, if you would like to read it: http://devblog.blackberry.com/2012/02/touchscreen-functionality/ 

Paul Bernhardt
Application Development Consultant
Research In Motion
Please use plain text.