I going to implement a login, register and login with guest. May I know how did I go first? And how can I store the user in local or database? Which one will suggest? And I will using a google map, I hope the database or storage can log the user with google map api location.
If you do not want to write a backend for the user management, you can use Firebase. It is very simple to use in Android Studio with built-in methods.
Related
Beginner here.
I'm creating an app in Android Studio (Java) where the user can create and store PDFs on the app and send these to another account on the same app, on a different device.
The user will have a list of contacts stored in a database.
Do I need a server to do this? Are there any tutorials online showing one how to code this? (I've been searching for hours but can't find anything specific to my problem. Maybe I'm wording it wrong...)
I was looking into Firebase but I'm completely lost on where to start.
Thanks!
For simple use cases you don't need a server, you can use firebase instead. Currently, they have a storage feature that lets you store files on their servers and retrieve them later.
Here is the official documentation firebase cloud storage
One thing you could do is upload the file from android device and download from another one.
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.
I am making a cross-platform mobile game with Js, HTML, CSS, and Cordova.
First I want to compile it for Android and place it on GooglePlay Market. The thing is that I can not find information on the ways to store data from my game, like high scores, users etc.
I mean I couldn't find any information about Google's requirements on this matter, before you submit the game package to them for validation.
It is not clear, shall I use Firebase or I can use any DB server or a shall make a local file somewhere.
You can use Google Firebase if you are planning any kind of notification service on your application. if you are expecting heavy customer transactions then go for AWS.depending on your use case ,You can either choose AWS Relational data base service or NoSql service.
AWS RDS : https://aws.amazon.com/rds/
AWS NoSql : https://aws.amazon.com/dynamodb/
Data would be more secure, scalable and high availablity.
I've added Google and Facebook login. What is the best way to get details from those who don't use Google or Facebook?
you can use Firebase database to register users and save their information.
also you can use SQL Server or SQLite to save info.
Probably you need a server.
Develop the API for registration and login (maybe you want to use oauth2), then in your Android APP build the forms that gather the informations and pass them to your server APIs.
There are a lot of tutorial around the web. Stack Overflow is not the right place for tutorials. Try to do it and when you are stucked from a specific problem, you could ask here.
I'm very new to development and would like to create an app for an android TBS game that I would also like to build on later by developing a desktop application. I'd like to know how to go about storing user data in a secure way that would allow the user to be able to sign in on a possible future desktop application. From what I've read on data storage, I think what I need is to store a sheet containing fields for the user's email, password, username, and a class containing player specific stats on a web based service. How can I also take advantage of google play services to help me with this? Thanks in advance
You could start by looking into Firebase, a platform that was acquired by Google and has seen some great overhauls lately. It gives you free storage and database space (up to a certain level of usage of course) and works cross-platform for Web, Android and iOS.
Check out https://firebase.google.com/ for the docs and some quick-start guides as well as presentations from the latest Google IO: https://www.youtube.com/user/Firebase/videos
Android Game Services allows you to Store user data, to set achievements, to share informations with social medias, to make a leaderboard and to make a multiplayer game.
https://developers.google.com/games/services/
You should use them for cross platform purpose.
You can check Android Doc in storage options:
Data-Storage
If you want share in future the data with desktop, you will need the data in some online storage. Check Firebase, from Google, or Parse.
Firebase
Parse