×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    151

    Red face Deleting a file from Program

    Hi All

    I have developed a Java application in which I have provided some data files.
    Now I want to delete those files from the program.

    Can anybody tell me how can I achieve this.

    Thanks in Advance,
    Manan

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Deleting a file from Program

    Do you want to remove files from inside the jar-file? You can do it manually, for example opening the jar-file with winzip (if you are using windows) and removing the files from there. There should be options to remove files (or not put them in the future versions) in your development tools too.

    Hartti

  3. #3
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    151

    Re: Deleting a file from Program

    No I want to delete files inside a Jar with my program.
    that is user should be able to delete file withing a program.

    Cheers,
    Manan

  4. #4
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Deleting a file from Program

    Hi Manan,

    It's not possible to remove files from your JAR file, using your application. Once again, do check the FileConnection API in case your target devices implement it.

    BR

Similar Threads

  1. Symbian1 : error PRJ0003 : Error spawning 'cl.exe'
    By ssaqibbukhari in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2006-04-15, 09:48
  2. How to reformat the file?
    By ryanfunghk in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-03-26, 17:43
  3. Replies: 0
    Last Post: 2005-03-08, 08:14
  4. Deleting file from mail system
    By mike.b in forum Symbian
    Replies: 1
    Last Post: 2005-02-01, 12:58
  5. Anvil Studio, Midi and Vibration
    By superfriik in forum Audio
    Replies: 1
    Last Post: 2003-10-12, 15:34

Posting Permissions

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