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
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.
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'm developing an app for android which is just like SofaScore.
but the point is that i don't have any API. also free APIs on internet have some limitations that makes them not suitable for me.
so i decided to extract data from live score websites. my questions are
is it possible to get live data from websites?
i just know java and android developing, in order to extract data,
should i learn a new language?
Why don't you just create a Mock-API with the structure and everything that you need, that would be more reliable in the long run!
I am developing an android app and I want three dropdown having country, state and city. How do I get the database for this? Is there any google api which could help me as in google maps, when we start entering address, it auto suggests the full address including city, state and country.
I found some companies provide this database but they charge a lot and I think there would be some easy way to do this.
You can take a look at this link for combining Google Maps Addresses with your Android app: Adding Place Autocomplete to your Android App.
Of course, you'll need to sign up for a Google Maps API Key.
Also, if you use the (free) Android Studio IDE, there is help for creating a sample app that uses Maps.
For a FREE listing of cities of the world, you can try these:
World City DB
MaxMind: Free World Cities Database
There's plenty of examples of this data being available free on the internet. Lots of developers need data like this, so other developers share their compiled lists online. They often even keep them updated via version control sites.
Just Google something like 'JSON list of countries'. Here's just one I found.
It's a very comprehensive list of countries, and every city inside each country. This data is in JSON format, which is quite easy to parse in Android. This post explains it pretty well
i have a wordpress blog hosted over my personal shared hosting.Now i want to develop an android app for that blog so the users can use the mobile app to see what i am writing on my blog.
Like for example you can take mashable.com android app.
so basically i have experience in programming android aap but i am just asking this so i can code it in a better way.
i have 3 idea to do this now:
1.Use rss feed of my blog and parse it and display the contents but it has a issue that rss only display most latest contents.So whether i need to store the feed contents timely on android device so a user can view the previous most content also.
But i think it's not a good idea because it will unnecessarily increase the size of database and make diff copies on every device.
2.Just simply use complete java code to pull data from my web mysql database as per the user request and just display it over the screen without storing it locally on android device.
3.Develop some sort of API solution on my web server then send the data in json or xml format so i can use it on my android device(via java) without bothering to connecting to mysql server as a core part because that part already done by on web server and my api already sending data in required format.
So these are 3 idea i have now.So please suggest me a better one form these three or you can give any other idea.
I am asking this question because previously i never programmed this sort of mobile aap where i need to pull the data from remote server.
-Thanks
You can simply install WordPress Mobile Pack to display Mobile site of your wordpress blog/site
Or
You can check this link to find out other plugins: 11 Ways to Create a Mobile Friendly WordPress Site
Now, If you want to create an app then you can simply implement it by using WebView.