jsr75

Blackberry - Adding mp3 files to an sdcard folder from application resources

Hi My blackberry application has some mp3 files bundled with the application. I want to add these files from the app to a folder in the sdcard or a folder in my phone memory through program. How can I do this? Is it possible? Thanks. ...

Alternative ways to open a file for writing on J2ME?

I've inherited a bit of J2ME code where a single class has the following two methods in it: public DataOutputStream getOutputStream(String filePath) throws IOException { return Connector.openDataOutputStream(filePath); } public DataOutputStream createOutputStream(String filePath) throws IOException { FileConnection fc = (FileC...

J2ME/Blackberry - how to read/write text file?

hi, please give me a sample code for read/write text file in blackberry application. ...

File path for J2ME FileConnection?

Hi, I'm writing a MIDlet which needs to write file. I'm using FileConnection from JSR-75 to accomplish this. The intention is to have this MIDlet runnning on as much devices as possible (all MIDP 2.0 devices with JSR-75 support, ideally). On several emulators and an HTC Touch Pro2, I can perfectly use the following code to get the roo...

JSR-75 specific code on non JSR-75 devices?

What I'm trying to do I'm coding a J2ME midlet, and I want to use JSR-75 to write files. I also want to be able to run my app on device that don't have support for JSR-75. How I'm doing it I found a website that explains how to do this (forgot the URL, sorry): Create a public abstract class ("Service") that exposes all functionality...

J2ME: Crossplatform getting contacs with PIM

Hello, developers! I have to develop solution based on getting data from address book. Those data must be saved into text format. I coded it with Java™ Platform Micro Edition SDK 3.0. public void getAddrBook() throws Exception{ addrStr= new StringBuffer(""); pim = PIM.getInstance(); try{ contact...