SQL or Firebase for Android application [closed] - android

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
it's my first post on Stack and i need to have a database to store some information in a server and i don't know what is the best approach to use, i have the choice beetween SQL DB and Firebase. which one will you advice me? keep in mind that maybe i gonna need to send some request like "SELECT * FROM s INNER JOIN s1 WHERE c.."
thanks

look at this
and look at this too
The Firebase database does not have the equivalent of SQL's WHERE id IN (1,2,3). In the case of selecting by ID, Firebase's way of retrieving items is equally fast.
In Firebase you must write little bit hard code. And you will get and send data in realTime.
But in SQL if you are not using sockets or etc. you must make call to get data.
For your case , as I see you are beginner, use simple SQL database. Loopj or Volley library. Make practices with JSON.
Hope I helped you.

Related

How to store data for a to-do list app? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am new to android programming and I'm currently working on a todo list app. I would like to store the name of the task and if it is completed or not. Later I might add things like priority or a date when the task has to be finished. I'm just unsure which method of storage i should use. Would SQL, JSON, XML or maybe something else like a CVS file be best fitted for the task?
You don't have to show me how to implement that method, I am just curious which method would be best suited.
Tanks for all answers
As for me, if you want some addition scalability from your app in future - it's better to use database. Preferences are not for storing large amount of data, but maybe they take less time for implementation. Don't store in xml/json if you are going to increase stored fields count, it would be a mess after some time.
If it's some kind of self educational project maybe you would like to use firebase or maybe realm, but it's only if you want to get something new. SQLite would be enough too.
This is more of a pref. Question. But, XML is pretty much the standard.

Database for Android App [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
How and where I can maintain my DB for my android app. I know we can use sqlite DB for android apps but, I don't have any idea of Storing the DB at some other location and then accessing it on the app.
Example Structure:
I want to know, where and how we can have DB at some different point of location, Do I need to buy space or rent? Or there are any other ways (Having DB Server at my own Desktop and accessing it via IP address. Will there be any difficulties or dependencies) I believe we can access it by creating a connection to the Db and writing queries to fetch by using Http Get and Post or Put methods.
If yes, then can we use SQL Server Management studio 2008 or what would be the simplest & the best to work with.
Use parse.com as a backend services.Easy to use and simple. follow this answer
Use realm, please.
https://realm.io/
It is much easier comparing to sqlite.
You can check the usages at https://realm.io/docs/java/latest/

What should be used for Android app: Parse SDK or Parse RestAPI? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
My application has some complicated database operations, Almost all the sql queries i have to use.
If I want server based access to my data, what should i choose to communicate with Parse server: SDK is good, but I know there is an API as well.
I think SDK will not provide a lot of accesses, operations like email verification, complex db operation can't be handle through it. and I don't know anything of server side coding.
Please suggest , Thanks in advance
I would suggest you to first read these
All the limits of parse
Parse SDK review
The second one is for iOS, but it's basically the same for Android. (I basically copied Objective-C code to Java, especialy the requests)
If you are sure you want to make complex app on Parse, then I would probably suggest to go for SDK. It is not that restricting, but will probably be hard to understand in the beggining, but you can do whatever you want if you setup good arhitecture from the start. :)
(But. It's only my opinion)

which database should I use for simple log in register form in android [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am a beginner and I want to develop a chat application. The first page have log in and sign up options. Every user have username(using in chat). So which database should I use? I want to hold e-mails, usernames and passwords. I really confused with databases. Appreciate all helps.
If you have a little information to save like UserName and Password then SharedPreferences is good for you.
If you want to store a little huge amount of data for only your app then SQLite database and data you want to share in other applications also then ContentProvider. Both are here.
If you want to maintain your data both in server side and client side then you can use some Global Databases like Oracle, SQL Server etc which are maintained by your server site with some Web Services or Web Apis.
NOTE: You can use SharedPreferences and SQLite when you don't want to share data out of your application.
As for the Chat App I think you should use a Database which can be maintained by your Server Site through a Web Service/Api.

Android sqlite made easy [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I read at the Android documentation, and the "sqlite helper" is crazy complicated! Is there a way to not use it and maybe use standard sql commands instead? I come from the php mysql, that's my reference; I took a look at the php sqlite too and it also looks much easier.
UPDATE
Thanks soulreaver! Now, another question:
When would I want to use the sqlite helper ? what are the benefits ?
You can always use raw SQLite queries RawQuery. I can agree that sometimes for simple tasks using SQLiteOpenHelper doesn't help at all (It is usable for more complicated things though).

Categories

Resources