If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Java Midlet access permissions

I'm wondering if it's possible to write an app which can browse the directories on the phone's memory and also on a transflash card in the phone then copy and paste files, rename folders etc? Kinda like a mini windows explorer but without any frilly bits

Perhaps it's already been done... if so could you let me know where I might find a compiled version of the App. Or maybe Java does not have permission to probe the phone's storage device in this way?

I basicaly need an app which can copy files from the transflash onto the phone's storage device (for user's who do not own a datcable for transferring files to the phone's storage - including myself).

Do you have any specific phone in mind. In general, MIDP devices don't have access to the phone's file system for security reasons. Recently a JSR has been proposed and accepted that would give MIDlets access to the file system (JSR-75), but the number of devices that actually support this out on the market is very small.

I've never used Java (or any other compilable language) but as a new starter would you say that this would a complex app to write?

I'll have a go myself if nobody will be able to help but it may be a bit of nightmare to a newcomer. Then again I suppose I only need to learn a few opertions (copy file, rename file, paste file (or folder)) that's it really.

I can pick up new languages pretty fast if I learn the basics and then sit with a book while I work (but so far I've only done JavaScript, Perl and PHP - relatively simple languages compared to Java).

It's a rather simple application so it's just a matter of getting acquainted with the a few functions from the API. But if you don't know Java to begin with then a couple of tutorials surely wouldn't help.