how to include client libraries in 2nd android application generated by GAE Backend for the 1st android app

StackOverflow https://stackoverflow.com/questions/22682844

سؤال

I have successfully developed an android application with Google App Engine as the Backend. Now I want to develop 2nd android application and want to connect it to the same App Engine of the 1st App. In short. 2 android applications with same App Engine at the backend hence common datastore.

Could not find the detailed and satisfactory answer, please provide the answer in detail. Thanks

هل كانت مفيدة؟

المحلول

I am assuming that the first Android application connects to the App Engine backend using a REST APIo r in general a Web Service. That is the recommended route and you should be able to use the same API in your second Android Application too !

Do give more details if this is not what you were looking for.

نصائح أخرى

Surprisingly, the Eclipse plug-in doesn't really support this - it will only automatically copy the generated client files into a single project.

Fortunately, there are some (manual) solutions that are discussed here:
How to move Cloud Endpoints generated sources.jar library into Android project

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top