开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜