Android: How to run another program from my program and send argument to it
I'm writing a small program, it can show and manager all files and folder in the android mobile. Now I get a problem need to help, when I click to a file icon, example a audio, i want the audio player can run and play it. 开发者_Python百科Who can help me
using intent you can invoke another application for example
Intent i = new Intent(CurrentClass.this, NewClass.class);
startActivity(i);
For more information refer following link link text
In Android, you use Intents to launch other programs.
精彩评论