I have created app engine app (using Python)(devappdemo.appspot.com).
Now i want to create an android app for the same which should access the same datastore.
I googled it and i found that it can be done with CloudEndPoints but dont know from where to start how it can be done. Please suggest any tutorials or step by step instructions to do it.
Google Cloud Endpoints would be the easiest way at the moment to get started with it. Here is the overview and tutorial.
Cloud Endpoints will help you generate the Endpoint API (REST API) and it also helps to generate the Android client code, that you can easily integrate into your Android application.
If you already have exposed your Python application over Web Services, you could directly use that from your Android application.
Related
I've been making an Android application which requires some users to have administrative controls when logged in. I have researched into how this is possible and can see that it requires the use of Firebase Admin SDK running on a server. Now the problem i am having is how can i actually set this up to communicate with my application?
This is the first time i have tried making an android application and used servers. I have read the documentation but this still hasn't made it clear to me of the components i need and how to piece them together. So far i have prepared...
Android Application (Developed in Java using Android Studio)
Google Cloud Platform (Server App to run admin SDK)
... but now i need to understand how i can run the admin SDK on my Google Cloud Function and use this for authorisation in my android app. Any advice or direction to helpful documentation would be hugely appreciated!
If you've never done something like this before, I'd recommend starting with callable Cloud Functions. The documentation has a nice example of how to implement these and call them from your Android code.
Inside the Cloud Function you can then use the Admin SDK to access for example Firebase Authentication. See the documentation importing the required modules for an example of how to set up the Admin SDK, and then the documentation of the Admin SDK for an example of how to get a list of users.
I am a new Android app developer and I have a freelance android app project as task for me
the app idea is something like social networking app
I don't know from where to start .. after I did some research and found parse. com as backend server cloud but then I found that it is temporarily closed then I found google cloud platform as an alternative,
but I don't know how to start what to do
example I want first to create login screen how I can save login data to the server?
Is it right to create mysql database as usually then import them to the platform
really I need a help and don't know how to start
and this is my first freelance app project if I success in it I can be an employer to the company I
need some tutorial or reference or sample code to understand the idea.
Parse.com is going to shutdown it's services in next January, why don't you go for Backendless or App24 (Both have tutorial on their websites for android and other platforms). Both of them are free with complete backend data control without any required special server side still.
I am new to android. I am confused about google cloud platform.My focus is on using android app for RESTful service.
Why do I need google cloud platform when I can use native android library to access RESTful web service like this.( I mean using JSON parsing with HTTPClient/Volley etc)
As far as I have understood that to implement google cloud service, I need an android client, a backend and others....( I m not sure). Why do I need this EXTRA stuff/coding when, as I said before, I can get RESTFul response with conventional way with sdk library.The implementation of Mobile Solutions on Google Cloud Platform is difficult and strenuous task.
What are the cases, when I HAVE to use google cloud platform, cant I do it other easy way?
As per zapl's comment, there really is no reason why you need to use Google Cloud Platform with Android. Nowhere in any of Google's docs does it mention that GCP is a requirement for an Android app. Cloud Platform is a service Google offers if you want to develop your own web applications or backends for mobile applications, but you are by no means locked into using this service.
I'm trying to use Google Cloud datastore as remote data collector of a bunch of sensors, connected via an android Smartphone.
Firstly I'm trying to make it working in standard java.
The question is if it is possible to access Datastore directly from an android App of I need to build a GAE app that interact with the datastore.
I read for a while the documentation about the google api, but it is not really clear, how to use the Oauth 2.0 protocol.
Thank You all
You can use the oath2 support built into android as long as every user of the app is an admin of your google cloud project/app engine app. If you want to allow untrusted users to upload data, you would have to use your own endpoint and authentication strategy.
I'm really new to mobile world, so I'd like to get some opinion from experienced people.
After several days searching over the internet, I'm wondering if it's possible
integrate Appcelerator Cloud Services to a custom website made with ASP.NET, for example.
Although my mobile application, built with Titanium, it's linked to ACS, and works fine, I don't know if
it's possible to manage data stored in ACS from a custom website. To clarify, in one point there is my mobile application
talks to a webserver (ACS, for example) and other point there is a website, to manage the data stored in ACS.
What do you think, someone achieved this?
Or is it preferable to write a webserver from the scratch, store my data in somewhere, and forget about ACS?
Thank you.
Appcelerator says
Appcelerator Cloud Services (ACS) is a Mobile Backend as a Service
(MBaaS), offering a fast and easy way to build connected mobile apps.
Choose from a library of services such as push notification, status
updates, photo storage, and social integration, or create your own
custom cloud services.
Here in this page - Getting Started: Using the Javascript SDK - you can see how we can use javascript SDK which lets you access the Appcelerator Cloud Services server through some simple to use JavaScript calls. You can use this to develop web-based app.
ACS has a REST API which you can access through anything that supports xhr (which .NET does). For instance, to create a new user in ACS, you use the following link:
https://api.cloud.appcelerator.com/v1/users/create.json?key=YOUR APP APP KEY?email=john.smith#company.com&role=teacher
There are other properties you can tag onto the querystring to create a new user from a REST call. They have a complete API using REST. It's all documented. You can even send push notifications to devices from your custom website using the REST API! It's pretty cool.
http://cloud.appcelerator.com/docs/api/v1/users/create#rest
Good luck!