You Are Here:

Community: Developer Discussion Boards

#1 Old can we read file from SD Memory card? - 2006-09-15, 06:12

Join Date: Aug 2006
Posts: 4
sherl0ck
Offline
Registered User
I am sorry if this question has been asked before.

Can Java program read a map file from SD Card? If yes, can it be several files?

thanks guys
Reply With Quote

#2 Old Re: can we read file from SD Memory card? - 2006-09-15, 08:15

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
If the device supports File Connection API (part of JSR 75) and the map files are stored in a directory the midlet has access to - yes (however as I do not exactly know what "map" files you mean, you have to be able to parse them too). If you are trying to read huge files, on some devices the midlet might run out of memory.

Please check the FileConnection example and document at
http://forum.nokia.com/info/sw.nokia..._v1_1.zip.html

Hartti
Reply With Quote

#3 Old Re: can we read file from SD Memory card? - 2006-09-15, 08:35

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
And to pick a little nit: No Nokia phone model supports SD cards. There's those that take miniSD and microSD, and there's MMC, RS-MMC, DV RS-MMC, too, but no actual full-size SD card.

In this case, the technically correct answer would be: No. No software - Java or otherwise - can read files from SD Cards on any Nokia device. ;)

There's also no CF card, SmartMedia or MemoryStick card support in Nokia devices today. :)

A more "generic" term would be to refer to these as just memory cards.

Once that's settled, Hartti's reply is the correct one; JSR-75 is the answer, if the phone model in question supports JSR-75 (depending on the device, restrictions may also apply on which directories/folders are visible to the program and which aren't).
Reply With Quote

#4 Old Re: can we read file from SD Memory card? - 2006-09-15, 08:38

Join Date: Aug 2006
Posts: 4
sherl0ck
Offline
Registered User
thanks guys, I appreciate that :)
Reply With Quote

#5 Old Re: can we read file from SD Memory card? - 2006-09-15, 13:21

Join Date: Apr 2004
Posts: 3
sbradley
Offline
Registered User
Quote:
Originally Posted by petrib
And to pick a little nit: No Nokia phone model supports SD cards. There's those that take miniSD and microSD, and there's MMC, RS-MMC, DV RS-MMC, too, but no actual full-size SD card.
Full-size SD cards are largely compatible with MMC, are they not? I think the 6230i, at least, should be able to read them. ;)
Reply With Quote

#6 Old Re: can we read file from SD Memory card? - 2006-09-15, 13:41

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
No. Full-size SD cards are thicker and have additional pins/connectors than MMC cards.

An SD card reader/device is compatible with MMC, but vice versa is not true (i.e., a device made for MMC cannot take/read/use SD cards; it won't even fit, if properly manufactured).
Reply With Quote

#7 Old Re: can we read file from SD Memory card? - 2006-09-15, 20:44

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Uuups, my bad, I did not read the question carefully enough. Missed the "SD" part as non-relevant. Thanks Petri for your hawk eyes!

Hartti
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia N80 Memory Card gets full - without beeing so?! thunder7553 General Discussion 0 2006-07-06 10:25
read string from text file problem sim.sim General Symbian C++ 9 2006-05-24 08:41
Using resource file memory directly without loading hluoto General Symbian C++ 0 2004-07-26 23:46
Can you read the file structure of a MMC card? jbasanese Symbian Tools & SDKs 1 2004-01-08 20:57
problem to install sis or jar on 3650 from the memory card jgillioz General Symbian C++ 0 2003-03-06 19:22

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia