is Google Photos Uri - Android App

Android examples for App:Popular App

Description

is Google Photos Uri

Demo Code


//package com.java2s;

import android.net.Uri;

public class Main {
    /**/*  ww  w. j av  a  2 s . c  o  m*/
     * @param uri The Uri to check.
     * @return Whether the Uri authority is Google Photos.
     */
    private static boolean isGooglePhotosUri(Uri uri) {
        return "com.google.android.apps.photos.content".equals(uri
                .getAuthority());
    }
}

Related Tutorials