100town wrote:
> I did it. The same problem.

I just tried modifying one of my book samples to read and write .lrc
files, and I ran into no trouble, using the same algorithm that I linked
to in my previous reply. I tested this on an Android 1.6 emulator and a
T-Mobile G1 running Android 1.6.

The only difference is that I store my file in app-private local storage
(openFileInput(), openFileOutput()) rather than on the SD card.

Since .lrc files have meaning to media players, perhaps there is
something in your device or emulator that is watching for .lrc files in
the SD card and has some sort of write lock on it.

You might consider putting your file not in the root of the SD card, but
in a dot-prefixed directory (e.g., /sdcard/.something/your.lrc). That is
standard trick on Linux to lightly hide things. In particular, I know
that the media scanner in Android does not scan inside such directories.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to