Database Development

How to store data in realtime database properly under user authenticated key?

I have stored some data in realtime database under autenticated key using shared preferences. I used SharedPreferences because I used multiple pages for getting user data. While storing the data it is getting an extra node i.e. “all” node and I have not added this node anywhere in my code. The node should be in […]

Development Java MySQL SQL

Creating user other from root in mysql from java

I am trying to make a new user in a Mysql database using java code but the code is not working. This is the Database class which initializes the database connection and creates a user, sets the password, etc. package app; import com.mysql.cj.jdbc.MysqlDataSource; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class Database { public static […]

Database Development Firebase

Android app crashes when deleting user from firebase Realtimedatabase

I am working on my App, and till now the App runs fine despite some small errors. The user can sign in, login and change his profile information. In the last steps, I added a function to delete userinformation. The delete function works so the userinformation gets deleted from FirebaseAuth and the FirebaseRealtimeDatabase but the […]