开发者

Share a selected item across applications in Android

开发者 https://www.devze.com 2023-03-30 16:13 出处:网络
I would like to have two applications, app X and app Y.X where a user c开发者_运维技巧an select from list of choices (perhaps a list) and Y then uses the selected choice of X upon start-up.

I would like to have two applications, app X and app Y. X where a user c开发者_运维技巧an select from list of choices (perhaps a list) and Y then uses the selected choice of X upon start-up.

The reason I need this design is because the choice in X needs to persists even if the user clears data of Y.

Any suggestions on how I can do this on Android?


You can just write to a public file in the device internal memory (using XML, for example). More information.

0

精彩评论

暂无评论...
验证码 换一张
取 消