(keitai-l) Re: tech- Getting brand & model in Java

From: Lieuwe Hummel <l.hummel_at_st.hanze.nl>
Date: 03/22/01
Message-ID: <000d01c0b2bb$c2f5efe0$3e00000a@lieuwe>
> 
> Not aware of any but would be interested in learning about it if you get
> the info.

(...snip...)
> Cheers
> Loic

Can somebody test the following code on a real x503i? I found something,
somewhere on the 'net

 public final static String[] PROPERTY={
     "microedition.platform",
     "microedition.encoding",
     "microedition.configuration",
     "microedition.profiles",
     "java.version",
     "java.vendor",
     "java.vendor.url",
     "java.home",
     "java.vm.specification.version",
     "java.vm.specification.vendor",
     "java.vm.specification.name",
     "java.vm.version",
     "java.vm.vendor",
     "java.vm.name",
     "java.specification.version",
     "java.specification.vendor",
     "java.specification.name",
     "java.class.version",
     "java.class.path",
     "java.ext.dirs",
     "os.name",
     "os.arch",
     "os.version",
     "file.separator",
     "path.separator",
     "line.separator",
     "user.name",
     "user.home",
     "user.dir"};

  for (int i=0;i<=PROPERTY.length-1;i++)
  {
   text=text+PROPERTY[i]+"="+System.getProperty(PROPERTY[i])+"\n";
  }

Please display the text and send the response. TIA.

Lieuwe



[ Did you check the archives?   http://www.appelsiini.net/keitai-l/ ]
Received on Fri Mar 23 12:24:47 2001