Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Anuja arathi
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was looking for Nokia 3650.Thanks David.
 
Fred Grott
Ranch Hand
Posts: 346
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no way using the MIDP profile on any device..sorry
 
Fred Grott
Ranch Hand
Posts: 346
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fred
could you please give us/me some more info what is "GCF on the MIDP profile" ?
Thank you
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic