Intent intent = new Intent("mycustomintent");
startActivity(intent);
Intent intent = new Intent("mycustomintent");
intent.putExtra("data", "Hello World");
startActivity(intent);
Intent intent = getIntent();
String data = intent.getStringExtra("data");
这将使自定义意图成为可以在网页上链接的URL,并允许其他应用程序使用它。