×

Discussion Board

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

    Unhappy Challenging Ques:Adding files into the Installed Jar

    Hi All

    I have developed an application in java where I provide data files as well inside the Jar.
    Now for updating my application, I want to add files in that Data folder i.e. I want to add new files in that folder and all other things will remain same.

    Does anybody know how can I achieve this.

    Thanks in Advance,
    Manan

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

    Re: Challenging Ques:Adding files into the Installed Jar

    Hi Manan,

    AFAIK it's not possible to add files to your deployed JAR, unfortunately. I do not know which device you are using but if it implements the FileConnection API (JSR-75) you can use it to read new files from the filesystem...

    I hope it helps!

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

    Unhappy Re: Challenging Ques:Adding files into the Installed Jar

    But if the device does not have JSR-75 then does it mean that we cant add anything into that Jar.

    Means we cant provide update and hence we cant develop good application on J2ME.Are you trying to say this.................................

    Is there any Work Around without JSR-75???????

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

    Re: Challenging Ques:Adding files into the Installed Jar

    Hi Manan,

    In order to add new files without JSR-75 you'll need to package the application again including the new/modified files and redeploy it.

    You should consider a lot of strategies as workarounds, e.g, you can change your strategy and retrieve information from a backend database that gets updated as per your needs. Do think about other options if this one is not good for you, ok?

    BR,

    Juarez Jr

  5. #5
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Challenging Ques:Adding files into the Installed Jar

    Hi,

    http://discussion.forum.nokia.com/fo...ad.php?t=78909

    the think is that the whole application(jar file) will be updated.

    Regards,
    Wang

Similar Threads

  1. Cannot push jar files on my Nokia 6585
    By wananey in forum Mobile Java General
    Replies: 10
    Last Post: 2006-02-01, 01:46
  2. 6230 and JAR files above 64KB
    By samnova in forum Mobile Java General
    Replies: 0
    Last Post: 2004-06-11, 18:44
  3. WTK 2.0 jar files unusable?
    By ronald.vanschoren in forum Mobile Java General
    Replies: 1
    Last Post: 2004-01-08, 16:08
  4. About JAD and JAR files
    By simpleisgood in forum General Messaging
    Replies: 2
    Last Post: 2003-07-29, 02:31

Posting Permissions

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