I have created a custom account type for two applications that I am developing. Now I am looking for a way for both apps to take advantage of this single account service. The documentation recommends the following.
One solution is to place the service in one small, special-purpose APK. When an app wishes to use your custom account type, it can check the device to see if your custom account service is available. If not, it can direct the user to Google Play to download the service. This may seem like a great deal of trouble at first, but compared with the alternative of re-entering credentials for every app that uses your custom account, it's refreshingly easy.
But I do not want to make my users download a separate APK just to be able to log in. What would be another solution that would allow both apps to have this functionality, without the burden of a separate APK?
Try Content Providers So your on app can read data of other app official link
There so many example and tutorial available on web. You need some research on this this is best way to communicate between two app. by using this you can get user details of another app.
let me know if you any other query.