Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2007

    Application data access!


    I'm currently developing a MIDlet that reads and writes files into a mini SD memory card located in my Nokia 6131 phone.
    I've got a question related to the application data access. Here is the current situation:

    I deploy my MIDlet using the "Nokia Application Installer". I then need to go to the "App." menu of the phone, select my MIDlet, click on "Options", then go to "Application Access", then "Data access", then "Add and edit data". The "Add and edit data" menu allows to specify the data access rights:
    - Ask every time
    - Ask first time only
    - Always allowed
    - Not allowed

    I would need to select "Always allowed" so that I'll not be prompted by a message asking me if I should allow the "application to edit and add new data in: Memory card" but this item is greyed out and is not selectable. At the moment, the only items that can be selected are "Ask every time" and "Not allowed".

    Does someone know how to set this? Is it a setting somewhere when I build my source code? For information, I'm using Netbean 5.5.1 + Mobililty pack to develop my MIDlet.

    Thanks in advance for your help.

  2. #2
    Registered User
    Join Date
    Sep 2006

    Re: Application data access!

    I believe I actually know the answer to this one.

    First, have you signed the MIDlet that you created?

    If not, then you won't be able to ever turn off that prompt since it requires signing the MIDlet to be able to access those additional options.

    As it is, even when you do sign the midlet, the default is to always prompt the user - at least for the Nokia phones.

    Hope that helps.

  3. #3
    Registered User
    Join Date
    Jul 2007

    Re: Application data access!

    Thanks amielf! It helped me a lot!
    My MIDlet is now signed and I can now specify any of the application access attributes.

    To access the external mini SD card, the .jad file needs also to contain the following properties:

    MIDlet-Permissions: javax.microedition.io.Connector.file.read, javax.microedition.io.Connector.file.write

    Thanks again!


  4. #4
    Registered User
    Join Date
    Sep 2007

    Re: Application data access!

    how to enabling the autostart property of application access attributes in series40 3rd /5th version.

Similar Threads

  1. SIM access from J2ME (deploy SIM application)
    By scaram46 in forum Mobile Java General
    Replies: 11
    Last Post: 2009-03-23, 15:32
  2. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  3. Problem getting correct data on my Bluetooth application
    By lcw1982 in forum Mobile Java General
    Replies: 1
    Last Post: 2007-03-28, 14:21
  4. Editing Application Access in 6126
    By all_motorsi in forum General Development Questions
    Replies: 2
    Last Post: 2007-03-22, 19:23
  5. Sending data with application running in the background
    By wedoi in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-11-28, 21:36

Posting Permissions

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