示例#1
0
 public void addCustomPersonData(@SuppressWarnings("unused") View view) {
   EditText keyText = (EditText) findViewById(R.id.add_custom_person_data_key);
   EditText valueText = (EditText) findViewById(R.id.add_custom_person_data_value);
   String key = (keyText).getText().toString().trim();
   String value = (valueText).getText().toString().trim();
   keyText.setText(null);
   valueText.setText(null);
   Apptentive.addCustomPersonData(this, key, value);
 }
示例#2
0
 public static void addCustomPersonData(
     final ForgeTask task,
     @ForgeParam("key") final String key,
     @ForgeParam("value") final String value) {
   Apptentive.addCustomPersonData(ForgeApp.getActivity(), key, value);
 }