File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Is there any way to access the native file System using J2ME ? -- Please suggest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Is there any way to access the native file System using J2ME ? -- Please suggest" Watch "Is there any way to access the native file System using J2ME ? -- Please suggest" New topic
Author

Is there any way to access the native file System using J2ME ? -- Please suggest

Anuja arathi
Greenhorn

Joined: Oct 29, 2003
Posts: 7
Hi,
I am trying to save an audio file in a directory. The mobile has Symbian OS.
I want to know if there is any way to save the file either using J2ME API or Nokia Symbian API.
Please suggest,
Thanks,
Arathi
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
In Nokia's Symbian 'Series 60' phones (Nokia 7650, 3650, 3600,
6600, 3620, 3660 & N-Gage mobile game deck) there's no way for MIDlets to save to the native file system. (They can save data to MIDP 'record stores' which of course are implemented using the native file system, but that doesn't give you open access to the native file system). This capability will become available in future phones through the JSR-75 File API, but that's not implemented in the phones available today.
On the other hand, Symbian C++ programs running on those phones are able to access the local file system.
I assume these are the phones you're asking about. The 'communicator' phones (Nokia 9210, 9290, 9210i) have a different version of Java, 'Personal Java', with different capabilities. I expect (but don't know for sure, I'd have to check) that you can access the local file system from Personal Java applications on those phones.
[ December 01, 2003: Message edited by: David Price ]
Anuja arathi
Greenhorn

Joined: Oct 29, 2003
Posts: 7
I was looking for Nokia 3650.Thanks David.
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
no way using the MIDP profile on any device..sorry


MobileBytes blog - Sharing Technology - My Programming Knols
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
Ignore my last post.. I was wrong see the October articles lsited at wireless.java.sun.com homepage..

You can do it through using GCF on the MIDP profile
Pavlin Mihalev
Greenhorn

Joined: Apr 29, 2003
Posts: 28
Fred
could you please give us/me some more info what is "GCF on the MIDP profile" ?
Thank you


------<br />www.beiks.net
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
GCF is the "Generic Connection Framework". But I do not think you can access the "file system" using "file://" style URL on most devices. The "file://" style URL may be supported on some devices but it certainly not required by the MIDP.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there any way to access the native file System using J2ME ? -- Please suggest
 
Similar Threads
J2ME for Symbian OS platform
do u know what is this
how to drag the combo box and button in dinamically for Symbian in j2me?
How to begin
accessing photos from camera phone