I want to add some functionality to existing (closed-source) applications on Android. For example: adding an item in the context-menu.
Is this possible? My guess is to hack my way into the Dalvik VM, but I can’t find any information about it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally, no. If the “existing (closed-source) applications” have an API that they publish and document, you are welcome to use such an API. Or, if the “existing (closed-source) applications” are leveraging so-called implicit
Intentactions, likeACTION_SEND, you can simply support those interfaces.For example, many applications have some sort of “share” menu item or button, which brings up a list of applications capable of sharing the content the original app wishes to share. This is accomplished via
ACTION_SEND, and if you create an activity set up to respond properly toACTION_SENDrequests, your activity can appear in this list automatically, no hacking required.Fortunately, that will not work. You cannot “hack [your] way into the Dalvik VM” running in another process.