Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old October 27th, 2011, 01:05 AM   #1 (permalink)
New Member
 
Join Date: Oct 2011
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need advise from developers here!

Hi fellow developers Im new to this community. I started developing my android app 2 months ago by using references from books such as beginning android 2 and pro android 2 but there are just so much stuff to learn as a beginner Im stuck at a part now and wish I can hear from experience developers here their view and suggestion!

Im working on an app that works with sql lite database which retrieve information from the database when user click on an item from the list view. Everything working fine now. I wish to implement a features which allow users to make comment ( sort of like how wikipedia works, user can update the article and its send to the admin to verify )

User download my app with a pre install client side database. When user is offline, any comment make by the user will be save somewhere until the app detected that the user have internet connection, which allow user to sync with the server database.

1) Firstly my question is, if im trying to code the user comment part, should I create fields and save the data in another table of sql database and sync with the server database or is there a better approach?

2) Secondly, im not so sure about the synchronising of the database, been searching in google and looking and demoapi but did not help much, any suggestions?
I welcome any suggestion from the friendly developers here!

Cheers!

Androidkan is offline  
Reply With Quote
Sponsors
Old October 27th, 2011, 04:36 PM   #2 (permalink)
Senior Member
 
Join Date: Jul 2010
Posts: 977
 
Device(s): Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Thanks: 52
Thanked 199 Times in 144 Posts
Default

The easiest approach would be to have the database located on the web server and use the HttpPost class and JSON to communicate with the database via a PHP file.
jonbonazza is online now  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Developer 101 User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 08:10 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo