Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Dec 2004
    Location
    Manchester, UK
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java Midlet access permissions

    Hi,

    Does anybody know anything about writing java Midlets for mobile phones?

    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).

    Thanks to anybody who can help on this one

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    Depending on what phone you have, there might be other options.

    shmoove

  • #3
    Regular Coder
    Join Date
    Dec 2004
    Location
    Manchester, UK
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I had a feeling this may have been the case.

    The handset it primarily needs to be run on is a 3G phone... the Motorola C975.

    Thanks for your help

  • #4
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    With that phone you might be in luck. Looking at the Developer Guide pdf from the phone's spec sheet, it seems to support file connections.

    shmoove

  • #5
    Regular Coder
    Join Date
    Dec 2004
    Location
    Manchester, UK
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hmmm.... it's a pretty new model like

    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).

    Thanks very much

  • #6
    Regular Coder
    Join Date
    Dec 2004
    Location
    Manchester, UK
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Does this relate to pJava?

  • #7
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    And no, this is MIDP, which is slightly different from pJava.

    shmoove


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •