nitemovz wrote:Would you be kind enough to post your whole project's source code? I am trying to work on a program that will update every launch with new content that is loaded in an [syntax="xml"] file on a web server. Your project would seem to be exactly what I need. I will also give you developer credits in my info page.
nitemovz wrote:I got it to work the way I wanted. It downloads the XML file, and parses it to a TextView.
I need a better way to parse it to a ListView. I am still trying to figure out hashTables, and hashMaps. Maybe those will work for me. I don't think they will, but I must give them a try.
I am trying to figure out if my best bet would be to use the download of the XML file, and parse that into a database, and then from there, use a database to populate the rest of the app. I am going to be creating a repository for the development of the application. Hopefully by posting it as an open source project, and getting other users input and development on it, I will be able to produce it faster, and get more out of it.
Would you like to be part of the development team?
nitemovz wrote:Sorry for my bad wording.
I meant download the XML, parse it, and display it as a list view. I am beginning to think that downloadingthe content and placing it in a database is going to be my best bet. Have the application perform a check every couple of launches or even every launch when the splash screen is shown. Have it check for version updates on the XML file and then compare to the version in the database.
I just don't want it to overrite all of the database each time. Basically have it only download the new content when it "updates".
Basically perform a simple check on a variable set in a settings XML file on the phone for the application.
There are other features that I would like to eventually implement, but my tasks must start with simple first. Once I get the information to come out of the XML file and into database, I will be on my way. From the database I need the information to be pulled out and formatted into a ListView and then depending on what item is selected, change the contents of the ListView to show other bits of information.
Once again, I apologize for my terrible wording of things. If you need more clarification, please do not be afraid to ask.
Users browsing this forum: No registered users and 8 guests