I want to create two Android applications that should be connected to a common Google App Engine Datastore. The two Android applications will have some App Engine based methods in common and some methods that are unique to each application.
我想创建两个应该连接到常见Google App Engine数据存储区的Android应用程序。这两个Android应用程序将共享一些基于App Engine的方法,以及一些每个应用程序都独有的方法。
Should I use separate App Engine modules for each app? This would probably require replicating all modules in both the apps and would unnecessarily increase the size of each app.
我应该为每个应用程序使用单独的App Engine模块吗?这可能需要复制两个应用程序中的所有模块,并且会不必要地增加每个应用程序的大小。
Can I just use different Android client ids and App Engine version numbers to connect the two Android apps to the same App Engine project through Endpoints? Would I need to replicate the entity definitions and methods for common entities in the two apps?
我可以使用不同的Android客户端ID和App Engine版本号通过端点将两个Android应用程序连接到同一个App Engine项目吗?我是否需要复制两个应用程序中常见实体的实体定义和方法?
1 个解决方案
#1
0
Try using the same project with different versions or instances.
尝试使用具有不同版本或实例的相同项目。
You could use a version as a web app and another as an android back-end for example, while both share the same datastore.
例如,您可以将版本用作Web应用程序,将另一个版本用作Android后端,同时两者共享相同的数据存储。
#1
0
Try using the same project with different versions or instances.
尝试使用具有不同版本或实例的相同项目。
You could use a version as a web app and another as an android back-end for example, while both share the same datastore.
例如,您可以将版本用作Web应用程序,将另一个版本用作Android后端,同时两者共享相同的数据存储。