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) {
Connect your IDE to all the code out there  Get Codota for Java