This is mydiary under this project mainactivity protected void Onlistitemclick (ListView l, View v, int position, long id) {} method,
The new Intent (String Action,uri Uri) constructor is specified as follows,
1 protected voidOnlistitemclick (ListView L, View V,intPositionLongID) {2 //Important3 //returns:a New URI with the given ID appended to the end of the path4Uri uri =Contenturis.withappendedid (Getintent (). GetData (), id);5 /*6 * New Intent.intent (String action, URI URI) This usage is not quite familiar.7 * The system will find the corresponding activity in the manifest file according to the first parameter (action), if it corresponds to more than one activity,8 * This will bring up a Dailog select activity9 */TenStartActivity (NewIntent (Mydiaryedit.edit_text_action, Uri)); One A}
New Intent (String Action,uri Uri) constructor description