Your data is always on internal storage. Moving to SD card only moves your
.apk to the SD card.
On Wed, Mar 23, 2011 at 2:09 PM, Robert rcope...@gmail.com wrote:
Hmmm I've been thinking about using a database to store a lot of
data (several MB in text format). Is the sqlite db moved to
Well, you can't put images in XML.
If this is really a formatted document in one single byte stream the
most logical choice would be a flat file.
On Mar 22, 4:46 am, -Ernest kisskam...@gmail.com wrote:
Hello guys,
Thanks for making android a wonderful platform.
Me and my mate are writing a
Um, no. A database doesn't have anything to do with security. An XML file
is not intrinsically tied to The Internet.
You probably do not want to use a database. A database is good for
situations where you have structured data with relatively lots of items
where you want to do queries against
That's not entirely true, one could base64 encode the image bytestream
and store it in xml, alternatively one could store the image files
themselves and just store their path in the xml file.
Jonathan
On Mar 23, 3:59 am, DanH danhi...@ieee.org wrote:
Well, you can't put images in XML.
If
Hmmm I've been thinking about using a database to store a lot of
data (several MB in text format). Is the sqlite db moved to the SD
card when the app is moved or is it always on the internal memory?
I'd rather not leave a big table on the phone's internal memory.
Right now I have this data in
Yes, but then you're not storing an image. And whatever you are doing
you're doing rather inefficiently.
(And if XML would work, JSON would be a better choice in about 95% of
cases.)
On Mar 23, 3:18 pm, Jonathan Foley jonefo...@gmail.com wrote:
That's not entirely true, one could base64 encode
Initially the database stays in main flash memory when you decide to move
the application to SD card, as the (writable) database is considered part of
the data. However nothing stops you from manually moving the database to SD
card, independent of what the user decides for the program
Thanks Dianne and lbendlin. Hmmm.. how would I manually move it? The
move would have to be under app control since I could not expect that the
typical person using the program would be able to do it at the filesystem
level. SInce the APK moves then that probably includes any asset files so
my
you move it with a standard file copy operation. Like you already do when
you copy the db from the (read only-ish) apk to the working flash.
on the SD card there's a preferred place to put that kind of stuff ,
/Android/Data/your package/files , but you can put it whereever you want
--
You
you could save the images to database blobs, but why go through the effort?
Keep the images in a image folder, and only store the reference in the XML
or the database.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
database if security is invloved
if on xml on internet
On Mar 22, 2:46 pm, -Ernest kisskam...@gmail.com wrote:
Hello guys,
Thanks for making android a wonderful platform.
Me and my mate are writing a project and its an android app.
Yesterday i finish my third book about programing for
the
11 matches
Mail list logo