leopardus2,
have you read Developer Guide? Possible there is answer there...
http://www.motocoder.com/motorola/do...df/DG_E680.pdf
vc
Hello,
I am playing with the J2ME Wireless toolkit and my Moto phones but it seems that the JSR75 optional API that allows to read and write files on the device isn't implemented (getProperty("microedition.io.file.FileConnection.version" ) returns null).
Please, tell me that I'm wrong...
Thanks
Rick
leopardus2,
have you read Developer Guide? Possible there is answer there...
http://www.motocoder.com/motorola/do...df/DG_E680.pdf
vc
In addition to a missing JSR75, the phone is also missing JSR82- the API for bluetooth interfacing. This really gets me 'cause the phone has Java, the phone has Bluetooth and Motorola is actually the company responssible for specifying JSR82, but they did not include it (In fact, the Motorola building I work next to in champaign, il did most of the work for the JSR-82 specification as well as did the bluetooth testing/sign-off for the phone, and even though they are less than 100 yards away, I cannot get a straigt answer out of them as to why the API was not included.)Originally Posted by leopardus2
I guess that's all the more reason to get the Qt/Embedded development working properly, maybe we could even re-compile the java kvm to include the API's that Motorola didn't.....
So you actually confirm it is missing the JSR75?? What a pity!!!!Originally Posted by rpconnect
Plenty of storage and file systems and no way to use them from Java... blahhhhhh!!!!!!!!!
But in the device's security policy file I have seen some com.motorola classes for file system access. Any idea where to find docs about them?
Are them for internal use only???
Thanks,
Rick
Here's the policy file for the A780 (I guess the E680 will be similar if not the same). In the trusted domain there are two motorola methods,Originally Posted by leopardus2
com.motorola.file.readaccess and com.motorola.file.writeaccess.
I am a J2ME newbie, so maybe someone could explain me how to
find where these methods are (which class) and how to find out how to use them?
I guess then it would just be a matter of including these methods in the list of allowed classes/methods for untrusted apps...
domain: untrusted
type: 4
oneshot: com.motorola.phonebook, com.motorola.phone, javax.microedition.io.Conne
ctor.sms, javax.wireless.messaging.sms.send, javax.wireless.messaging.sms.receiv
e, javax.microedition.io.Connector.cbs, javax.wireless.messaging.cbs.receive
session(oneshot): javax.microedition.io.Connector.http, javax.microedition.io.Co
nnector.socket, javax.microedition.io.Connector.https, javax.microedition.io.Con
nector.ssl, javax.microedition.io.Connector.datagram, javax.microedition.io.Conn
ector.serversocket, javax.microedition.io.Connector.datagramreceiver, javax.micr
oedition.io.Connector.comm, javax.microedition.io.PushRegistry
domain: MotorolaE2E
type: 0
allow: javax.microedition.io.Connector.http, javax.microedition.io.Connector.soc
ket, javax.microedition.io.Connector.https, javax.microedition.io.Connector.ssl,
javax.microedition.io.Connector.serversocket, javax.microedition.io.Connector.d
atagram, javax.microedition.io.Connector.datagramreceiver, javax.microedition.io
.Connector.comm, javax.microedition.io.PushRegistry, javax.microedition.io.Conne
ctor.sms, javax.microedition.media.control.RecordControl, javax.microedition.med
ia.control.VideoControl.getSnapshot, javax.wireless.messaging.sms.send, javax.wi
reless.messaging.sms.receive, javax.microedition.io.Connector.cbs, javax.wireles
s.messaging.cbs.receive, javax.microedition.location.Location, javax.microeditio
n.location.Orientation, javax.microedition.location.ProximityListener, javax.mic
roedition.location.LandmarkStore.read, javax.microedition.location.LandmarkStore
.write, javax.microedition.location.LandmarkStore.category, javax.microedition.l
ocation.LandmarkStore.management, javax.microedition.io.Connector.mms, javax.wir
eless.messaging.mms.send, javax.wireless.messaging.mms.receive, com.motorola.pho
nebook.readaccess, com.motorola.phonebook.writeaccess, com.motorola.phone, com.m
otorola.file.readaccess, com.motorola.file.writeaccess
rootcert: MIIDRzCCAi+gAwIBAgIRANrL+Ky1YwJTT/lWX87XGCUwDQYJKoZIhvcNAQEFBQAwVjELMA
kGA1UEBhMCQ04xETAPBgNVBAoMCE1vdG9yb2xhMRQwEgYDVQQLDAtQQ1MsRTJFQXNpYTEeMBwGA1UEAw
wVTW90b3JvbGEgSjJNRSBSb290IENBMB4XDTAwMDEwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowVjELMA
kGA1UEBhMCQ04xETAPBgNVBAoMCE1vdG9yb2xhMRQwEgYDVQQLDAtQQ1MsRTJFQXNpYTEeMBwGA1UEAw
wVTW90b3JvbGEgSjJNRSBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5WycsY
vuRjr9BoVRCm+n/MiFORNv3NqSWOe9jgOUaRV3SwIzufOuubR42Q5o4WHuz9pWThODYOAApbIppXiQlH
0Njex1FihXlTGWn5VRWgxvRLCnL+lgUt2MrUgRd0lQUQ5I4JpT9mn9olzEQnpokgXvrL1sePyzmbCDXF
YsX1/dXPvpIC7anxq6G8Jdv84KRP5V0TddYsyeDtZH0pdtfqb2iAks4HwI5XqeEIgLCSeZjTMfAFx+aI
kt/1dF5OKjX3J8UNN6G/3IBMPj/01ZsczbHM95fnnmrgbhqdl36WrTGCaFkVOSpWL2HuJBAGHCuLm+vU
EL5FwIuWKgQms8GQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQA15eSHwA
8wqKvurOeXFv5DEC/lEwZbnYxG3xGO04azDHTjQGCBqfb/TBxCQoWVOVOxkm4HbukaI5dq948LzTes21
iNmyn78A481lViv+BPGC+SOtODbDgVKmKO75Up0VIevJJ1+2fl3LB5P5QGfIS3I3hXbg0FaBgKCpjYhr
ycxYEKPhqy5JvA1n8dtqMtueh0pP8RGH3alLbB80jR7R0qG7o82ZCz+k2k4JdYE4pYtOREPeUW2ykR1D
8WROVMAuT6JNlMfRbGU3PWK3r8/vgc5nHA6niiKNK+Xv03mg4hvXsTDdxE8T8Ai6d+SyxG09Y60li2HY
VMRBMj6LBo0NWl
Thanks,
Rick
You can use my Ator-Classes to access files. They maps the calls to javax or com.motorala classes.
http://www.penguinpower.de/ator/index.en.htm