The Git Repository https://github.com/ajaycs14/Google-Cloud-App.git
This Project contains 3 Backends which are deployed in google app engine.
Say Version 1 contains java servlet backend http://1-dot-logical-flame-807.appspot.com/
Say Version 2 contains endpoints backend http://2-dot-logical-flame-807.appspot.com/
Say Version 3 contains google cloud messaging backend http://3-dot-logical-flame-807.appspot.com/
For more information about Google App Engine for Java, check out the App Engine documentation.
To learn more about Google Cloud Endpoints, see Cloud Endpoints documentation.
Similarly, for more information about Google Cloud Messaging, see Cloud Messaging documentation.
All these backends are called from android app in onCreate of main activity java .
//Servlet Call
new ServletPostAsyncTask().execute(new Pair<Context, String>(this, "Ajay Ramesh"));
//Endpoint call
new EndpointsAsyncTask().execute(new Pair<Context, String>(this, "Ajay Ramesh "));
//Gcm Registration
new GcmRegistrationAsyncTask(this).execute();
Todos to work for your app ..
1.Change the applicationid in following java class files
1.EndpointsAsyncTask
2.ServletPostAsyncTask
3.GcmRegistrationAsyncTask
2.Change the SENDER_ID in GcmRegistrationAsyncTask.java file
3.Add the GCM key to appengine-web.xml \Google-Cloud-App\gcm-backend\src\main\webapp\WEB-INF\appengine-web.xml
I am doing my ms thesis and want to connect android application with google app engine .I am facing alot of issues will you guide me.I googled a lot and finally i got your blog.I need your help.Please guide me
i will provide another detailed tutorial
Sir,I am being given this error everytime i rebuild my project
“Error:Execution failed for task ‘:backend:appengineEndpointsGetClientLibs’-:
There was an error running endpoints command get-client-lib: connect-timed-out”.
I do not have a network problem.How should i solve it?
You have to build your back end first then rebuild the project
You have to build your back end first then rebuild the project