Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use the Google App Engine as a backend database for Android applications?

I would like to write a client application for Android that uses the Google App Engine as a database backend. My Android client would connect to the App Engine to save information, then it would connect later for reports. Is it possible to use the App Engine as a backend like this?

like image 320
Doughy Avatar asked Dec 20 '09 06:12

Doughy


People also ask

Is Google App Engine a database?

Google App Engine (often referred to as GAE or simply App Engine) is a cloud computing platform as a service for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers.

How Google App Engine is used as platform as a service for development of any application?

Google App Engine (GAE) is a platform-as-a-service product that provides web app developers and enterprises with access to Google's scalable hosting and tier 1 internet service. GAE requires that applications be written in Java or Python, store data in Google Bigtable and use the Google query language.

How do Android apps connect to backend?

In Android Studio, open an existing Android application that you want to modify, or create a new one. Select the Android app module under the Project node. Then click Tools > Google Cloud Endpoints > Create App Engine Backend. In the wizard, enter the Project ID, Project Number, and API Key of your Cloud project.

What is the purpose of Google App Engine?

App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.


2 Answers

If you're looking for something like the remote api that the App Engine has in python, then you'll be disappointed to find it missing in Java.

That said, absolutely nothing stops your from hitting your app and posting data either through POST / JSON / XML / any other format you can think of. The same thing goes for getting your reports back.

If security is a concern, the OAuth protocol allows you to authenticate to app engine from your android device.

This is an aside, but as far as reporting is concerned, you might not find the app engine a very suitable platform for reporting type apps. Just make sure you understand its limitations - the lack of joins, 1000 object limit, no sum / average, necessary indexes, etc. It's certainly not impossible, but do think carefully about how you're going to model your data.

like image 167
Sudhir Jonathan Avatar answered Sep 17 '22 14:09

Sudhir Jonathan


Yes, it is possible.

Without more details in your question, any more details in the answer would be speculation.

like image 45
Laurence Gonsalves Avatar answered Sep 17 '22 14:09

Laurence Gonsalves