public void info(View view) { title.setText("Discovery info"); String asmRequest = "{\"asmVersion\":{\"major\":1,\"minor\":0},\"requestType\":\"GetInfo\"}"; Intent i = new Intent("org.fidoalliance.intent.FIDO_OPERATION"); i.addCategory("android.intent.category.DEFAULT"); i.setType("application/fido.uaf_client+json"); List<ResolveInfo> queryIntentActivities = this.getPackageManager().queryIntentActivities(i, PackageManager.GET_META_DATA); // i = new Intent ("com.sec.android.fido.org.ebayopensource.fido.uaf.asm.AsmActivity"); // i.setType("application/fido.uaf_asm+json"); Bundle data = new Bundle(); data.putString("message", reg.getEmptyUafMsgRegRequest()); data.putString("UAFIntentType", UAFIntentType.DISCOVER.name()); i.putExtras(data); // i.setComponent(new ComponentName(queryIntentActivities.get(0).activityInfo.packageName, // queryIntentActivities.get(0).activityInfo.name)); startActivityForResult(i, 1); return; }