Android 隐式启动 activity

具体参考:intent-of-android

Android 启动 activity 分为 显式 和 隐式,我们经常使用的方式又叫做 显式启动,比如:

startActivity(new Intent(this, BeautifulDesignGirl.class));
那么隐式启动又是什么呢,比如如下:

Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("lzh://goods:8080/goodsDetail?goodsId=100100"));
startActivity(intent);

你可能感兴趣的:(Android 隐式启动 activity)