I am using S40 SDK to develop my application.My application requires to communicate with files stored on memory card.But I am helpless that how to put the files on memory card in SDK ? I am using Eclipse IDE for developing application.
Asked
Active
Viewed 1,940 times
3 Answers
3
I believe <SDK installation directory>\bin\Storage\<instance identifier>
is where the files are stored by the emulator.. Instance identifier is visible in the title area of the emulator application. It is a number that looks like a phone number.

Gorkem Ercan
- 3,220
- 1
- 18
- 26
1
You want to put files on the memory card within your application? You need to read about JSR75 FileConnection.

funkybro
- 8,432
- 6
- 39
- 52
-
No,As i am trying my application on S40 SDK,so where do i put my files on computer so that i can access them through the following link"file:///SDCard/",now don't answer that put them on memory card. – CuriousCase Feb 17 '11 at 16:09
-
1You can't hard code the file path for your desktop. You should use only whatever file paths are available, find this out using FileSystemRegistry.listRoots(). Perhaps the system property System.getProperty("fileconn.dir.memorycard") might help you too. – funkybro Feb 17 '11 at 16:21
1
Check the following links to get more info:
- FileConnection API
- File Connection Using J2ME api JSR 75
- Getting Started with the FileConnection APIs
One more info: Make sure your device supports the FileConnection API.

bharath
- 14,283
- 16
- 57
- 95