/DUBwise/trunk/j2me/installer/bin/DUBwiseInstaller.jad |
---|
1,8 → 1,8 |
MIDlet-Jar-URL: DUBwiseInstaller.jar |
MIDlet-Jar-Size: 6626 |
MIDlet-Jar-Size: 6829 |
MIDlet-Name: DUBwiseInstaller |
MIDlet-Vendor: LiGi |
MIDlet-Version: 0.6 |
MIDlet-Version: 0.7 |
MIDlet-1: DUBwiseInstaller, i.png, DUBwiseInstaller |
MIDletX-No-Command: true |
MIDlet-Icon: i.png |
/DUBwise/trunk/j2me/installer/bin/DUBwiseInstaller.jar |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/DUBwise/trunk/j2me/installer/build.xml |
---|
3,7 → 3,7 |
<property name="project_name" value="DUBwiseInstaller"/> <!-- jar filename --> |
<property name="project_version" value="0.6"/> |
<property name="project_version" value="0.7"/> |
<property name="res_dir" location="res"/> |
<property name="build_dir" location="${basedir}/build/"/> |
/DUBwise/trunk/j2me/installer/src/DUBwiseInstaller.java |
---|
196,6 → 196,7 |
+"JSR-82:" + canvas.bluetooth + "\n" |
+"JSR-179:" + canvas.locationprovider + "\n" |
+"FileConn:" + canvas.fileapi + "\n" |
+"SensorAPI:" + canvas.sensorapi + "\n" |
+"DeviceControl:" + canvas.devicecontrol + "\n" |
+"comports:" + canvas.comports + "\n" |
/DUBwise/trunk/j2me/installer/src/DUBwiseInstallerCanvas.java |
---|
29,6 → 29,9 |
boolean cldc11; |
boolean fileapi; |
boolean sensorapi; |
String comports; |
String props; |
// end values to detect |
75,6 → 78,8 |
cldc11=try_class("java.lang.Math"); |
fileapi=try_class("javax.microedition.io.file.FileConnection"); |
comports=System.getProperty("microedition.commports")+"\n"; |
sensorapi=try_class("javax.microedition.sensor.SensorManager"); |
props="enc: " +System.getProperty("microedition.encoding")+"\n"; |
props+="platform: " +System.getProperty("microedition.platform")+"\n"; |
props+="locale: " +System.getProperty("microedition.locale")+"\n"; |
83,7 → 88,17 |
props+="hostname: " +System.getProperty("microedition.hostname")+"\n"; |
props+="loc-version: " +System.getProperty("microedition.location.version ")+"\n"; |
props+="sensor-api-version: " +System.getProperty("microedition.sensor.version")+"\n"; |
// test for symbian src: http://discussion.forum.nokia.com/forum/showthread.php?t=96615 |
try { |
Class.forName("com.symbian.gcf.NativeInputStream"); |
props+="symbian: true\n"; |
} |
catch (ClassNotFoundException e) { |
props+="symbian: false\n"; |
} |
root.quit(); |
} |