|
Sharp GX20 Question: msg#00137java.sun.kvm
Hi, has anyone here had any experience developing for the Sharp GX20? I've converted a game to the Sharp GX10 which works great, and am now trying to get it working on the GX20. However, any DeviceControl or MediaPlayer calls used stop the game working on the GX20 - it displays a "Discontinued" message. I've tried the game under the emulator I have for GX20 work (I'm not sure of the version - but the emujava.exe file is dated 22/04/2003) and it gets as far as a DeviceControl or MediaPlayer call, before throwing up an ALERT and exiting. In the case of using the following code: { DeviceControl dc; try { dc = DeviceControl.getDefaultDeviceControl(); dc.setDeviceActive(DeviceControl.BACK_LIGHT, true); } catch (Exception e) { System.out.println("DC error: " + e); } } it comes up with the following within the emulator: ALERT: Class com/vodafone/v10/system/device/DeviceControl is restricted to access. kvm_main return code = 123 ----- APP jkVmStopped callback begin. VM callback: appId = 1, event = jkVmStopped ----- APP jkVmStopped callback end. AMstartMidpApplication return code = -1 finish WINSOCK success. So even with the try-catch it is being stopped in both the phone and the emulator. This is the case for vibration and MediaPlayer methods as well. Does anyone know of a way to use the DeviceControl calls safely? Alternatively, am I using an old version of the GX20 class librarys (same date as the emulator - 22/04)? Cheers, Ian Manders =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: T610 Emulator Very SLOW ??, Joseph Bowbeer |
|---|---|
| Next by Date: | Re: Revenue sharing - Europe, VERGOUWEN Thomas FTRD/DMR/ISS |
| Previous by Thread: | Re: T610 Emulator Very SLOW ??, Joseph Bowbeer |
| Next by Thread: | Re: Sharp GX20 Question, Kim Daniel Arthur |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |