File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes How to bundle some file with jar? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to bundle some file with jar?" Watch "How to bundle some file with jar?" New topic

How to bundle some file with jar?

Ramender Mall
Ranch Hand

Joined: Sep 08, 2005
Posts: 311
Hi all,

Can we bundle a file with our jar application for one time use?
For instance, if i want to include a database file with my package, which contains a significantly large amount of data. And this file will then be used for creating a RMS by my application. But as soon as the RMS is created, i dont want to keep this file in device. (Because, of course that will be redundant as I have copied all the information in the RMS). Is there any possible way to achieve this? ( I dont want to use FileConnection apis here)


- Ramy
I agree. Here's the link:
subject: How to bundle some file with jar?
It's not a secret anymore!