I remember reading somewhere that you can force two Android applications to use the same user ID, but I heard conflicting information from other people. Is it possible for two applications to have the same user ID, and if so, how to do this?
It looks like you can use the sharedUserId attribute . These two applications must also be signed with the same signature.
sharedUserId ( ), , :
Context ctx = createPackageContext("com.yourcompany.youapp", CONTEXT_RESTRICTED); FileInputStream fis = ctx.openFileInput("sharedFile.txt");
Source: https://habr.com/ru/post/1752525/More articles:How can I bind a command in MouseEnter from a StackPanel in WPF? - vb.netPublish image on Facebook feed 'from iPhone app - postDrupal: imports thousands of rows from a mysql database. Easy? - drupalActual link to execute algorithms? - performanceHow to determine if other applications are playing background sound? - objective-cShow or hide HTML DIV in JSF 1.2 - jsfSerialize jquery sort - jqueryFailed to resolve * for component implementation - flexSSL Https, is it that simple? - securityВ Java: почему некоторые методы Stream принимают int вместо байта или даже char? - javaAll Articles