动态的.apk在Android中 [英] Dynamic Apk In Android

查看:95
本文介绍了动态的.apk在Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

反正是有创建动态apk.ie假设我们有一个主要的网站,它有许多subdomains.Each子域应该有自己定制的apk文件包含自己定制的标志,新闻等。

Is there anyway to create dynamic apk.ie suppose we have a main site and it has many subdomains.Each subdomain should have there own customized apk containing their own customized logo,news etc.

这是任何方法来创建APK除了创建单独的APK为每个站点?

Is it any way to create apk other than creating individual apk for each site?

推荐答案

为什么要创建一个自定义的APK?为什么不下载,需要进行自定义的内容?

Why create a custom APK? Why not download the content that needs to be customized?

不管怎么说,你可以使用 sharedUserId getResourcesForApplication()link).你仍然需要让每一个APK。

Anyways, you can share resources from different APKs using a sharedUserId and getResourcesForApplication() (link). You would still need to make each an APK.

从罗马Nurik一些信息:

Some info from Roman Nurik:

应用程序之间的 共享文件

Share files between applications

如果您的应用程序都使用相同的证书签名,并且具有相同   安卓sharedUserId 在清单中声明,他们可以在共享数据   它们可以读/写至彼此的数据的目录。他们可以   甚至共享一个进程,如果你希望他们(见安卓过程)。

If your apps are signed with the same certificate and have the same android:sharedUserId declared in the manifest, they can share data in that they can read/write to each others' data directories. They can even share a process if you'd like them to (see android:process).

更多链接到类似的问题:

More links to similar questions:

  • Share raw resource between apk's
  • Can you share resources across APK's? (see second answer about getResourcesForApplication)

这篇关于动态的.apk在Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆