The two apps have the same sharedUserId. When I use this code in app1
context.openFileOutput(\"/data/data/org.me.app2/files/shared-data.dat\", MODE_PRIVATE)
Open a FileOutputStream of the needed file, relative to this path:
FileOutputStream
String filePath = getPackageManager(). getPackageInfo("com.your2ndApp.package", 0). applicationInfo.dataDir;