How can I share data between Two Android Apps using Shared Preferences?

前端 未结 2 795
野的像风
野的像风 2021-01-29 08:04

I have Two Apps, App1 and App2. I want to save data in App1 using shared preference and access in App2 and vice versa. I\'m able to save data in App1 and access in App2 but not

2条回答
  •  时光说笑
    2021-01-29 08:49

    user CONTEXT_IGNORE_SECURITY and MODE_WORLD_WRITEABLE for access shared data between two apps

提交回复
热议问题