how to load a file during run time
Suppose i have an application "MyApp" which has a button and when clicked it should start another application say"App2" but this "App2" should not be installed on the phone it should dynam开发者_如何学Cically be executed.how do i do this in android.it will be helpful if u can explain with some sample code .
thank u
As I know, if you want an app to run on the phone. You should have it installed or install after the your presses the button. It cannot be just run from the RAM and close it..
Other way round is, You have two activities 1. main and 2. supporting.
Onclick of button on main, you invoke the supporting activity. But this supporting activity should be a part of the main app. Hence it will not be installed as a separate application.
Regards, Vinay
精彩评论