Regarding database for an app

rakzat

New member
Nov 30, 2013
2
0
0
Hi I'm new to android ... I have planned to develop an app can anyone suggest me which one to use for the database part... SQLiter or server(php)... which one is better to update the features for the app.. (planning to develop an app lock)... so pls help me out of this..
 
@rakzat: It depends on how your apps works. If you want to make your apps workable offline then you have to use the database in your application. Because using a web service always requires an Internet connection so that you can query data from your server. Remember to query the data asynchronously from database so that it won't freeze your app. For example like this article Android – Sqlite database with ContentProvider and LoaderManager | HintDesk , it uses combination of contentprovider and loadermanager to make query to database.
 

Trending Posts

Forum statistics

Threads
956,380
Messages
6,967,896
Members
3,163,525
Latest member
Twousay