dcsimg
Any way to retrieve hardware information using J2ME?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, June 7, 2004 03:09 PM

Is there any way that I can retrieve hardware information such as screen
size/resolution, CPU speed, memory size from mobile devices using J2ME? I found
that JNI may be able to do that but I am not sure whether J2ME supports JNI
or not.


Thank you very much for your consideration.


Best Regards,


Boonlit Adipat

Re: Any way to retrieve hardware information using J2ME?

Posted By:   Brian_Glodde  
Posted On:   Wednesday, June 9, 2004 09:00 PM

Screen size

Canvas.getHeight()

Canvas.getWidth()


Screen Resolution

Display.isColor()

Display.numColors()


Memory Size

Runtime.freeMemory()

Runtime.totalMemory()


Other

RecordStore.getSizeAvailable()


I'm not aware of any way to get processor speed.

About | Sitemap | Contact