Code example for Uri.Builder

Methods: build, scheme

    public static Intent getPriviledgedIntent(String number) {
        Intent i = new Intent("android.intent.action.CALL_PRIVILEGED");
        Builder b = new Uri.Builder();
        return i;
    private static List<ResolveInfo> callIntents = null;
    private static ResolveInfo defaultCallIntent = null;
     * Find packages registered for priviledged call management 
     * @param ctxt the application context 
     * @return list of package resolved info for a priviledged call intent 
    public final static List<ResolveInfo> resolveActivitiesForPriviledgedCall(Context ctxt) {
Contextual code suggestions in your IDE  Get Codota for Java