Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 07-13-2010, 05:07 PM   #1
New Member
 
Join Date: Jul 2010
Posts: 1
Friends: 0
View RavenJade's Profile   View RavenJade's Photo Album   View RavenJade's Blog   View Social Groups
So after doing a lot of research, I am still at a loss. I am trying to figure out the best way to handle an aspect of an app I am building. Essentially what I need is a way to "store" LOTS of data like a database to be called upon from the application.

Originally I was going to do this through XML but it would seem that this is not possible. That XML is only for the layout aspect? I am not sure if I am right on this but if I am can someone direct me to another way to do this? Or if it is possible can someone point in me in the direction of the best way to implement a "database" in an application?

Thanks!

Raven
RavenJade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 07-22-2010, 09:11 PM   #2
New Member
 
Join Date: May 2009
Posts: 8
Friends: 0
View James McMurray's Profile   View James McMurray's Photo Album   View James McMurray's Blog   View Social Groups
I forgot to ask: what's the data and what will it be used for? That goes a long way towards figuring out the best way to represent it.

edit: odd, I posted to the thread twice, but the first one said it needed moderator approval (presumably because I had links in it).

If it takes a while for the approval to happen, try the following google search phrases:

"android notepad tutorial": this is a sample app from Google that is a good way to learn about creating and using a database in android.

"android data storage": One of the first links should be to the android developers website and give a rundown of the various data storage methods including databases, shared preferences, and file storage.

"Working with XML on Android" one of the first links should be to an article on ibm.com with a great explanation of how to create, parse, and modify XML files using Java on Android.

Last edited by James McMurray; 07-22-2010 at 09:14 PM..
James McMurray is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes




Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 05:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.