After seeing this running I almost, for a moment, considered replacing my K700i but then ...
After being handed a shiny new handset, I installed the PDADemo app from WTK 2.2. Only to find that I can browse the directories under c:/ but I cannot write anything. further more trying to create a directory for my MIDlet produces a securityException.
The MIDlet was signed and all the permissions were set to allow always. for both read and add / edit.
Does anyone know what directories the 6230i will allow write access using the jsr75 fileconnection API?
Also, an observation.
The MIDlet is not allocated a directory on install. implied by the API documentation on this very site.
System.getProperty( fileconn.dir.private) & System.getProperty(fileconn.dir.private.name ) both return null.
Now I know the docs say not to rely on these, but surely. If, in my permission I'm asking for write permission, (I would even specify how much space I want ) and the MIDlet is signed, why is a MIDlet directory not made available ?
A long shot...
I even tried to allocate the required space using MIDlet-Data-Size, I knew this was likely to fail but you never actually know until you try.

Reply With Quote


