How can I call a method of one apk from another apk in android
I have a requirement where there is a first apk say APK1. From开发者_JAVA技巧 here I want to call a method of second apk, means APK2. Is it possible to do this? If so kindly help....
If all the APKs are signed with the same certificate, you can use the method outlined in this answer:
Android: how to share code between projects signed with the same certificate
This is not exactly what you are asking, but it might be what you really want. If you have two applications and wish to communicate between them (run second app's Activity from the first one), use Intent
s. This is what they are for.
精彩评论