示例#1
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    // handle the result of voice recognition, put it into the appropiate textfield
    voiceNoteAssistant.handleActivityResult(requestCode, resultCode, data);

    // write the voicenote into the model, or it will be deleted by onResume.populateFields
    // (due to the activity-change)
    notesControlSet.writeToModel(model);

    super.onActivityResult(requestCode, resultCode, data);
  }
示例#2
0
  /**
   * @Override protected void onListItemClick( ListView l, View v, int pos, long id ) {
   * super.onListItemClick( l, v, pos, id ); Intent intent = new Intent( this, ItemEdit.class );
   * intent.putExtra( ItemDao.KEY_ROWID, id ); startActivityForResult( intent, ACTIVITY_EDIT ); }
   */
  @Override
  protected void onActivityResult(int req, int res, Intent intent) {

    super.onActivityResult(req, res, intent);
    fillData();
  }
 /** This is a straight passthrough */
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
   super.onActivityResult(requestCode, resultCode, intent);
   setResult(resultCode, intent);
   finish();
 }