wood burning stoves 2.0*
The moose likes BlackBerry and the fly likes Programmatically detecting device features Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » BlackBerry
Bookmark "Programmatically detecting device features" Watch "Programmatically detecting device features" New topic
Author

Programmatically detecting device features

Nikhil Shravane
Greenhorn

Joined: Sep 22, 2010
Posts: 14
Hi Everyone,

Is there any way to detect programmatically the device features such as

1. whether the device is QWERTY or simple CLDC type
2. whether the device is full touch screen
3. whether the device is touch screen with QWERTY keypad

Any help would be greatly appreciated.

Best Regards.



Carol Hamer
author
Greenhorn

Joined: Sep 17, 2010
Posts: 26
Look in net.rim.device.api.ui.Keypad, especially getHardwareLayout()


Learn BlackBerry Games Development
Nikhil Shravane
Greenhorn

Joined: Sep 22, 2010
Posts: 14
Thanks Carol, I am sorry, I forgot to mention that I have not used RIM API to keep my midlet cross-platform. Regards.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

Please BeForthrightWhenCrossPostingToOtherSites.
http://forums.oracle.com/forums/thread.jspa?threadID=1665353


luck, db
There are no new questions, but there may be new answers.
Nikhil Shravane
Greenhorn

Joined: Sep 22, 2010
Posts: 14

Sorry db, Now I'll not cross-post the questions. I read the link you have provided me. I really don't understand the problem behind the cross-posting? I mean why it is not in a interest of those who are answering my question. Please can you clarify me bit more?

I though I can get response from at least any one forum to save the time, so I post it on multiple forums. And when I get the proper answer that worked for me, I post that answer on other un-answered thread in another forum, so that it may be helpful for other people over there.

Anyways, I'll not cross-post again.

But in case if I need urgent information, what should I do? Also, for example, I am using java MIDP API, so I post it on Java forums. And also I am having problems running my application on BlackBerry, so I post the same question on BlackBerry forum, so that I can get help who had same experience?

Best Regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Programmatically detecting device features