Hi, I’m questioning about the shareUserId property and the best approach to share files among applications (around 1Mo compressed).
More particularly, I’m interested to know what types of files are covered with this flag, and which use cases are supported? For example, does this flag allow an application M to access a file of an application A: - located among its source code (i.e. that can be access from the latter with getClass().getResourceAsStream(name) code) ? - located in its res/raw directory (i.e. that can be access from the latter with the getResources().openRawResource(getResources ().getIndentifier(name, type, package)). - located in its assets directory - located anywhere else (to be determined) In fact, even if the activity M is started by the activity A, the use of the extras of the Intent is not acceptable because of the size of the files. Finally, I read that another way to share files is to use a specialization of the class android.content.ContentProvider. Using this class with the appropriate permissions (Is it the shareUserId property?), would allow the application A to copy all its resource files into a directory (with the Uri: content://) and thus access them from M. But this approach would result in duplicating those resources files. So, is there a way to avoid this? Thanks for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

