Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Programmatically detecting device features

 
Nikhil Shravane
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in net.rim.device.api.ui.Keypad, especially getHardwareLayout()
 
Nikhil Shravane
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites.
http://forums.oracle.com/forums/thread.jspa?threadID=1665353
 
Nikhil Shravane
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Please BeForthrightWhenCrossPostingToOtherSites.
http://forums.oracle.com/forums/thread.jspa?threadID=1665353

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic