question: public static boolean goToUpdatePage ( Context context ) { final Uri playStoreUri = Uri . parse ( "market://details?id=" + context . getPackageName ( ) ) ; FreshAirLog . i ( "Attempting to open Play Store update page at URI: " + playStoreUri . toString ( ) ) ; final Intent playStoreIntent = new Intent ( Intent . ACTION_VIEW , playStoreUri ) ; final PackageManager packageManager = context . getPackageManager ( ) ; for ( ResolveInfo resolveInfo : packageManager . queryIntentActivities ( playStoreIntent , 0 ) ) { final ActivityInfo resolveActivity = resolveInfo . activityInfo ; final String resolvePackageName = resolveActivity . packageName ; if ( resolvePackageName . equals ( "com.android.vending" ) ) { FreshAirLog . i ( "Opening Play Store update page..." ) ; playStoreIntent . setComponent ( new ComponentName ( resolvePackageName , resolveActivity . name ) ) ; context . startActivity ( playStoreIntent ) ; return true ; } } FreshAirLog . e ( "Failed to find the Play Store as a candidate for the resolution of update URI: " + playStoreUri . toString ( ) ) ; return false ; }
target:  Attempts to start the Play Store Activity for the update page of this app, and returns success or failure.