public static void startProfileActivity ( Context context , int uid ) { // Ignore call if context is empty, simple work-around when fragment was disconnected from // activity if ( context == null ) { return ; } Bundle b = new Bundle ( ) ; b . putInt ( Intents . EXTRA_UID , uid ) ; startActivity ( context , b , ProfileActivity . class ) ; }
Launch User Profile Activity