Hi all, I am developing an android application which supports different langauges. So there are resources/assets like audio files which are required when application runs in different language settings
I don't want to include all the resources for all the supporting languages in same apk. Instead i would like to include the default resources and if the language is different from the default language(say English), I want to dynamically download the resources. Is there any way to do it , other than hosting it privately and downloading on requirement? I was checking the APK expansion files, thinking the other language files can be provided as patch files. But the documentation says, both the files - main and patch expansion files, would be downloaded along with the APK. My requirement is not that. I want to get it downloaded only if it is required. Is there a way to configure that behavior of the expansion files ? Another option I got is to create different apk files for different language resources. Download the required apks , and access the downloaded apks asset files for the language specific resources. But then my concerns are - is it possible to create an apk with only resource files ? With no UI and activities? I have seen the Google Keyboard IME does something similar. But the apk extends InputMethodService . So does an apk requires an activity or Service ? Or if I create a dummy actvity, can i configure such that the application does not come in the application drawer and also not launched ? Also is there any other ways to download and install another apk from the currently active application ,other than using an intent to open the market place and search for the apk, like the code snippet below Intent marketIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("narket://details?id=" + ""); marketIntent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY | Intent. FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET|Intent.FLAG_ACTIVITY_MULTIPLE_TASK| Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(marketIntent); I would like to get the apk downloaded as a background process without any user prompts? Is that possible or is against the security features of android ? Or is there any other different way to achieve my functionality. Thanks in advance for any insights -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/50fddffd-015a-4de2-ac41-08b8d35c66c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.