hi,
I have been reading the android file storage and content provider
documentations and have few questions that was unanswered. I did a few
searches alternating around the words ' android file storage methods'
and can the only result that i find useful is the documentation that i
have been reading which is this.
http://code.google.com/android/devel/data.html
Here are my questions,
lets say that my application package is
com.organization.android.app.myapplication
1) Where is the file stored in android by default if I am to create a
new file named test.txt with this openFileOutput("test.txt",
MODE_WORLD_READABLE);
2) The documentation of the openFileOutput says that the name
parameter cannot contain path separators, so does that mean that I
cannot specify where to place my file in the application? Or is there
another way to specify where i want my files?
3) If i set the file mode to MODE_WORLD_READABLE, what is stopping an
outside application from using the path to read it?
4) sqlite3 supports byte data types (called blob) but the
contentprovider tutotial recommends that we store a string that
represents the path of the file instead, why is that?
Any answer or suggestion is greatly appreciated
Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---