Can I use Firebase in my simple java crud operations? - java

Can I use firebase - database to replace my xampp? As to use my crud operations online? I'm trying to make an android app and making the desktop as the server to make the crud operations for the android app.

Yes sure you can. But remember firebase is not feature rich as mysql or other relational databases. Further you can read following answers.
Migrating datas to Firebase from mysql
https://groups.google.com/forum/m/#!topic/firebase-talk/hpDsgc3-8OY

Yes you can use Firebase, but what is rationale behind selecting Firebase?

Related

MongoDB with Android Studio

ALL questions I saw here is too old for understanding so I'm asking a new one.
Im building a social media app that stores data, and will ,at the end, send notification even when the app is offline.
Is MongoDB is a good choice to use with Android Studio to my project ?
I understood that I need first to connect it to Realm and by Realm I use MongoDB.
Do you think its a good DB to use with Android? if it is, do you have any good guides for it?
If not, is there any other DB to use that is easy to learn\use?
PS
I dont want to use Firebase, because of its pricing.
Thank you .
MongoDB is also available for android
The only problem is that it does not have well-structured documentation for android..
I recently managed to connect my android application to the remote database
here is a sample unit application
https://github.com/i-sachinkumar/MongoDB-for-Android
Its readme file contains all the steps to be followed in the back-end as well as in the android studio
Enjoy

How to create an online database for an android app?

How can I make an online database for an android app?
I am making an android app about the impressive speech and I want to make a database storing accounts of users so they can retrieve their progress anytime anywhere. But how can I make it online so it is accessible from every device?
You have to use a service such as Firebase or write a backend-server which runs a database (for example using Spring Boot and a simple H2 database would solve it).
the best solution for your problem is to use Firebase and especially Firebase Database.
Another solution is to use Parse Server.

Resources for developing Android apps with databases

I'm looking for some resources on developing Android apps with a connected remote database safely and securely. The idea is to have users log in to a personal profile which can be populated with text data, files and images. The app will also have geolocation, text/video chat and some other features but first things first.
I was reading it is bad practice to connect to a remote database, say MySQL, through an app directly and that something called REST API is the preferred and safe method of communication. Are there any good guides/examples on how to connect to to a remote DB in this fashion? Tips?
I have have some school experience in Java but I'm new to Android development.
Thank you!
Have you tried Google's Firebase?
You can learn more here:
https://firebase.google.com

browse sqlite database from device

I need help to create an android application as I completely new to android.
I want to develop an application which will be able to perform database related operations on my android phone using that application.like it should allow user to see how many databases are there in my device.
when I select database,tables should display on my device and allow user to perform insert, delete, update operations. And also allow user to create new database.anybody is there to help me ? thanks .
Databases are application-specific in Android. One app can't touch the database of other app hence you cannot retrieve ALL the databases present in the system.(And i guess you shouldn't do that too) An android app can manipulate only its own database (There is something called as content-provider to use other app's database but other app should permit to do so).
Hence,you will not be able to create your desired application which you have mentioned.
user cant able to see database from device... so you have to get data from database programmatically and then inflate all data from database in to your application so that user can able to see the data which is resides in DATABASE

Which database in Java Android?

I am developing an app in Android. I would like to attach a database (created in C++) to my app Android that my Android app could read. In which format should I create this database with my C++ program?
Android provides a built in SQLite database, which is used by the applications developed for it. The Android SDK provides a well-defined, easy-to-use API to this database, and as long as you don't have a real special need for your own database, I would suggest using it.
You might want to have a look at sqlite (www.sqlite.org/).
sqlite - http://developer.android.com/guide/topics/data/data-storage.html
SqlLite is the built-in database. Portable across Android, iPhone, HTML5 and just about every embedded system.
I take it that your question is how to create a database on a host computer (using C++) and transfer it to the Android App. If so, then have your C++ program create a SqlLite database on your host computer and then either package the database with the app, or download it into the App's data folder from a server.
http://realm.io "Realm is a mobile database: a replacement for SQLite & Core Data
Realm can save you thousands of lines of code & weeks of work,
and lets you craft amazing new user experiences."
For C++ program you can use C/C++ Interface For SQLite. Check out the tutorial An Introduction To The SQLite C/C++ Interface.

Categories

Resources