• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was looking for Nokia 3650.Thanks David.
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no way using the MIDP profile on any device..sorry
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fred
could you please give us/me some more info what is "GCF on the MIDP profile" ?
Thank you
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic