Android 隐藏桌面图标【无图标】

在minifest里面入口的地方添加data方法

scheme一般是全路径,或者是其他什么样的字符串都可以,保证唯一即可

 第三方调起这个应用方法如下:

Intent intent = new Intent();
        ComponentName cn = new ComponentName("anrong.com.mazhanzhu_test_1", "anrong.com.mazhanzhu_test_1.View.Activity_Splash");
        intent.setComponent(cn);
        Uri uri = Uri.parse("anrong.com.mazhanzhu_test_1.View.Activity_Splash");
        intent.setData(uri);
        startActivity(intent);

其实算是一个隐式调用吧 

猜你喜欢

转载自blog.csdn.net/fengyeNom1/article/details/105811793