有没有人知道通过Intents(检测并)在Tapatalk中打开论坛的方法?我的伪方法如下,但我实际上并没有意图“使用”给定的应用程序:
try {
startActivity(
/* INTENT TO BE USED TO OPEN TAPATALK */
);
return;
} catch( ActivityNotFoundException ex ) {
//Ignore the Exception as the user does not have Tapatalk installed
}
startActivity(
new Intent(
Intent.ACTION_VIEW,
Uri.parse("http://example.com")
)
);
提前致谢!