Subversion Repositories Projects

Rev

Rev 290 | Rev 316 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 290 Rev 291
Line 10... Line 10...
10
 
10
 
11
 
11
 
Line -... Line 12...
-
 
12
import javax.microedition.lcdui.*;
-
 
13
import javax.microedition.midlet.*;
12
import javax.microedition.lcdui.*;
14
 
13
import javax.microedition.midlet.*;
15
import javax.microedition.rms.*;
14
 
16
 
15
public class DUBwiseInstaller
17
public class DUBwiseInstaller
16
    extends MIDlet
18
    extends MIDlet
Line 175... Line 177...
175
    }
177
    }
Line 176... Line 178...
176
   
178
   
177
 
179
 
-
 
180
    public String description_str()
-
 
181
    {
-
 
182
 
-
 
183
        int rms_avail=0;
-
 
184
        try {
-
 
185
            RecordStore recStore = RecordStore.openRecordStore("test", true );
-
 
186
            rms_avail=recStore.getSizeAvailable();
178
    public String description_str()
187
            }
179
    {
188
        catch ( Exception e) {}
180
        System.gc();
189
        System.gc();
181
        return
190
        return
182
            "Screenwidth:" + canvas.canvas_width + "\n"
191
            "Screenwidth:" + canvas.canvas_width + "\n"
Line 190... Line 199...
190
            +"DeviceControl:" + canvas.devicecontrol + "\n"
199
            +"DeviceControl:" + canvas.devicecontrol + "\n"
191
            +"comports:" + canvas.comports + "\n"
200
            +"comports:" + canvas.comports + "\n"
Line 192... Line 201...
192
 
201
 
193
            +"freeMemory:" + Runtime.getRuntime().freeMemory()+ "\n"
202
            +"freeMemory:" + Runtime.getRuntime().freeMemory()+ "\n"
194
            +"totalMemory:" + Runtime.getRuntime().totalMemory()+ "\n"
-
 
-
 
203
            +"totalMemory:" + Runtime.getRuntime().totalMemory()+ "\n"
195
 
204
            +"RMSAvail:" +  rms_avail+ "\n"
196
            +"Download URL:" + getURL() + "\n"
205
            +"Download URL:" + getURL() + "\n"
Line 197... Line 206...
197
            +canvas.props;
206
            +canvas.props;