Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Programmatically detecting device features

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Grow your own food... or this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic