• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

System.getProperty(String key)

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Fellas
I got a NOKIA 6600 and I would like to know where i can find all the keys the phone have for using the method System.getProperty(String key).
In the MIDP System class doesn�t have the method System.getProperties() for capturing the keys .
thanks,
BuGzill
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should support all keys in JDK 1.3 plus microedition.locale and microedition.profiles. But they are not always implemented correctly ...
In MIDP, you can also use custom properties via MIDlet.getAppProperty(). The key/value pair is anything you put into the JAD and manifest file.
 
Rodolfo Machado
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thaks Michael,
but there are some keys to discover if the phone implements some APIs, like Bluetoth, Media, etc..
Do you know this keys?
thanks,
BuGZill
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not think so. But I may be wrong. Anyway, Nokia 6600 implements both the bluetooth and MMAPI.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Many of the optional package APIs define that their version (and therfore presence) can be discovered checking a system property
For instance the JSR-82 Bluetooth API defines several properties including "bluetoth.api.version" which if exists indicates that the API is implemented in the device.
Similar properties are defined for the PIM API, File Connection API, etc...
Regards
 
Rodolfo Machado
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That�s the point
Is there any list showing some useful properties keys?
Thanks.
[ January 28, 2004: Message edited by: Rodolfo Machado ]
 
Carlos Quiroz
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Those properties are described in each API specification. You can get them going to the correct jcp page, for example for JSR-82 it is http://www.jcp.org/en/jsr/detail?id=82 and so on...
 
reply
    Bookmark Topic Watch Topic
  • New Topic