Duckduckgo Android 搜索意图

Duckduckgo Android search Intent

任何人都知道在 Android 上直接通过官方 Duckduckgo 应用程序进行搜索的意图?

Tried this one so far, i think they dont have a query key in extras

    Intent intent = new Intent(Intent.ACTION_SEARCH);
    intent.setPackage("com.duckduckgo.mobile.android");
    intent.putExtra("query", subject);
    context.startActivity(intent);

It is actually pretty simple than i thought

    Intent intent = new Intent(Intent.ACTION_VIEW);
    intent.setData(Uri.parse("https://duckduckgo.com/?q=" + subject));

    try {
        intent.setPackage("com.duckduckgo.mobile.android");
        context.startActivity(intent);
    } catch (ActivityNotFoundException a) {
        intent.setPackage(null);
        context.startActivity(intent);
    }