×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    How create/write txt file with J2ME??

    Hi, I'm developing a mobile application. One of its funcionalities is export txt files. This file must be created and wrote.
    When I try create this file, in the mobile's memory or mobile's card, there is a problem: "Access denied".
    What can I do?

    I hope someone ask me.

    Thanks

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: How create/write txt file with J2ME??

    Hi,
    you can find the more details here,
    first of all read this out,
    http://developers.sun.com/mobility/a...ileconnection/
    and
    http://wiki.forum.nokia.com/index.ph...tion_&_PIM_API
    and
    http://www.java-tips.org/java-me-tip...nnectio-2.html
    these links can help you,
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Faridabad(Delhi NCR)
    Posts
    343

    Re: How create/write txt file with J2ME??

    there is many reason y ur getting this..
    1) change ur midlet suit setting .in phone and dere is an option read and write user data ....plz change it to ask evrytime or always alow

    2) may b u didn giv write permission to ur file connection
    if u didn do this
    connection = (FileConnection) Connector.open("file:///root1/anshu.jpg");
    connection.canWrite();


    plzzzz write ur code so we came to kno wats gona happen
    Anshu Chauhan
    J2me Developer

Similar Threads

  1. application error with 3gp file in J2ME
    By ruchig_iic in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2012-01-16, 21:40
  2. Replies: 2
    Last Post: 2007-01-24, 00:41
  3. File server: Compilation error in carbide.c++
    By justteam in forum Symbian
    Replies: 6
    Last Post: 2007-01-03, 23:44
  4. Help with displaying Chinese TXT in smil txt file attachment
    By alanskinner in forum General Messaging
    Replies: 3
    Last Post: 2004-01-21, 09:48
  5. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22

Posting Permissions

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