Question

I have a project in J2ME, writing in net beans 6.9.1 My project is about opening a mp3 file from with a string format file name that generates with a function (not browsing) and plays it.

I have created this program and it works in simulator. My problem is, how to send all these 300 files to mobile device?

It should be simple to send between users with Bluetooth in future. I want to know is there any way to package all files in one file and extract them when installing in mobile device? Or what is the correct way to to that?

Thanks a lot.

Was it helpful?

Solution

Just copy the files JAR and JAD from "project_dir/dist" into your mobile then install it.

OTHER TIPS

Packaging all those 300 mp3 files in your app will result in large jar file size. As you know most of the Java ME mobile phones have very less memory allocated for installing Java ME apps. It is better to provide an option to download all those files form server to SD card when a person use the app for first time.

As Sabin said, it is not a good solution to have all your audio files inside your application, assuming you are using Mobile RMS (Record Management System) which is very limited in size and capabilities; it is better to add a code to open them from your SD card or stream them from server.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top