Store Data in App Engine Data Warehouse from Android Application

I created an Android application connected to AppEngine, and I'm trying to change it to be able to store some user data on the server. I do not know that this is the easiest way to do this, because I want it to be as simple as possible. I just want to store some basic data for each user. This data: name, email address and some other lines. I created a form on the android side that will allow the user to enter all the requested data, but I do not know how to send this information to the GAE server and save it in the data warehouse. I think I have to use a servlet and some kind of RPC service to call methods. I really got lost, because this is my first time. I do not test either in android or in web applications. I hope you help me.

Update

Well, maybe I didn’t explain myself very well. The system I asked to build is a web service that stores your personal credentials for most regular sites (facebook, gmail, etc.). Using the chrome extension, you ask the server for credentials on the website you are viewing, and then the server asks for your phone for authorization. He will ask (you give me permission to send your credentials to “some users”), and you should answer “yes” or “no”, and then the server will act. The fact is that you should somehow store your credentials on the server, perhaps from an Android application (which I'm trying) or from another place. I will also need authentication.

Pd: I use java for the server side.

+6
source share
2 answers

Since you already started with an application connected to AppEngine applications , it makes sense to continue to configure it: Accessing data in App Engine: Adding objects and RPC .

Update:

Of course, there are many ways to exchange data between the client and server. The simplest would be a servlet that processes GET and POST requests with some request parameters.

Also, most popoular lately is REST:

Update 2:

The easiest way is to create / handlin a simple POST request:

+9
source

Find and carefully follow the Topic Index. on this page . Good luck

+1
source

Source: https://habr.com/ru/post/916938/


All Articles