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 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 a combination of internal arrays > declared in the app itself and in a collection of html files in / > assets > > Robert > > On Mar 23, 1:48 am, Dianne Hackborn <hack...@android.com> wrote: > > 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 those items using the structure. > This > > is generally not a good description of a document. > > > > An XML file can work, but you will find it to be relatively inefficiently > > especially if you are going to start embedding images inside of it. Note > > that things like Microsoft's XML document format is actually a .zip file > > consisting of XML files holding the document and the images stored as > > separate entries in the .zip. > > > > On Tue, Mar 22, 2011 at 10:32 PM, harsh chandel <harshdchan...@gmail.com > >wrote: > > > > > > > > > > > > > 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 android platform "Hello, Android". > > > > > > He comes my questions: > > > > What is the best option for saving a well formatted document(a > > > > document with images) on a device? > > > > I know this can be done by saving to a XML file or on a database, but > > > > which of these > > > > two is the most preferable. > > > > > > Hope the question was clear. > > > > > > Thanks in advance. > > > > -Ernest > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them.- Hide quoted text - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en