I have existing appengine application. I'm planning to develop android application with that existing app. I can only find examples on development of android app w/ new appengine application. Any reference for developing android app for existing appengine project?
There is nothing special about it. You have to add some sort of an API that your mobile apps can use and return data in an easily parsaeble format such as JSON or XML. You have think about whether you need authentication and how to do it (Google accounts are integrated in Android, but you need extra permissions to use them). Then you access them from Android using HttpClient or HTTPUrlConnection.
The 'new' way to do it would be to use Goggle Cloud Endpoints which takes care of authentication and generates an Android client for you automatically. However it is still in
'trusted beta', so you might not be able to use it.
http://endpoints-trusted-tester.appspot.com/
Related
So for a personal project I'm building a task management webapp using laravel framework, I've hooked it up to hosting so I can use it any time. but for the future I want to improve the application so that it can be used anywhere with a smartphone, I want to make the application but with an android application based. so my question, what do i need to make android app? can i connect my old webapp with the android app? or do I need something new so that both applications can work with the same database?
You would either need to create a native android app and use Laravel api endpoints, or you can create an app that is basically just a webview that loads your app url.
I have a web applcation which is build in Spring MVC and MongoDB, what I want to make an app of Android (I am new in Andriod).
I am thinking to reuse that Spring Restful Web Services in Android app, and just make the frontend of Android app.
i have read about Spring Android but it's not what i want, i want to reuse the existing web services, isn't it java all about platform independent?
I have gone through many articles but they don't clear my confusion.
i have read about phonegap to convert html in an app, but i also want to synchronize the contacts in phone through android app which i believe is only possible with Android.
I am slightly confused with the Firebase client library that is available for Java. In the documentation, it says that the library should be used on the server. Recently, I came across Google App Engine. A PaaS service that allows application code to be put in the cloud.
Could I write the server code using the Firebase client library and deploy that as application code on Google App Engine? That way my application could connect with Firebase through the App engine.
I am asking this questions from the perspective of creating a Java application; the same libraries available for Android are not available for Java desktop applications. The only library that can be used in Java is the server library.
Thank you.
That is possible with the firebase-server-sdk.
You find an example deploying a servlet to appengine and access firebase from within the servlet here: https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio
Just skip the android stuff and scroll down to MyServlet source code.
But be aware of the scaling setting you need to use firebase on app engine.
I'm trying to access a Firebase database in desktop (non-Android) Java, and can't find where to download the dedifferentiate credentials JSON to initialise the API. There's an option to get started for Android, but that requires putting in an app name and fully-qualified identifier, which isn't applicable for a desktop project. Is there another way of obtaining this file? Or is there an alternative initialisation option?
From the firebase-talk mailing list:
We currently don't have an SDK that is intended for Java desktop apps. We do have a Java server SDK, but it requires a service account which is not secure to include in a desktop app. Your options are to either use the Realtime Database's REST API or communicating with Firebase via your own custom server using the Java server SDK.
We are not actively working on building an SDK for Java desktop apps. However, if others out there would like to see this, please chime in here.
I'm creating a network based android application. So
1) I've installed Google App Engine Plugin in eclipse IDE and start developing a network based android applications where all information of customers are stored in GAE Datastore.
2) I've created a new Web-Application and stored Entities in datastore. Can i retrieve those values and show in my android application and add new details in from my application to GAE Datastore.
Please Help Me, I'm new to Web Service, SOAP, REST, JSON etc.
Can anyone tell me a simple method to store and fetch values from Cloud DB to Android App.
There are two apparent options:
Use Cloud Endpoints. They are proprietary and not my favourite. Also they are only available for Android, iOS and JS.
Use web services, my favourite would be JAX-RS, specifically RESTEasy+Jackson. See this GAE example and simple Android client.