Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

[j2me] How to access mobile's file system?

Thread view: 
Timo Nentwig - 05 Aug 2006 19:25 GMT
Hi!

As far as I found out there are two ways to access data on the device:
FileConnection and RecordStore. Apparently my xda mini S (or HTC
Wizard) doesn't support FileConnection as the MIDlet seems to crash
with this code (no, no exception).

I don't quite understand that RecordStore stuff and don't find no
information about how to simply access a file on my miniSD card.

Thanks for hints
Timo
Darryl L. Pierce - 06 Aug 2006 16:46 GMT
> Hi!
>
[quoted text clipped - 5 lines]
> I don't quite understand that RecordStore stuff and don't find no
> information about how to simply access a file on my miniSD card.

RecordStore can only be used to create new record stores and to access
previously created record stores. At that, it is constrained to only
accessing record stores that were created by the MIDlet suite using the
RecordStore object. Record stores cannot be used to access arbitrary
stores, hence the reason for the FileConnection GCF framework.

What is the device on which you're running your MIDlet?

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: <http://mcpierce.multiply.com>
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

--
Posted via a free Usenet account from http://www.teranews.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.