A walkthrough of how to build your own custom 3rd Party application which can communicate with the iForm app for Android. This is used to build custom hardware and software integrations and return a data string from the 3rd party application into a form. The callback function used in the video is below.
//CallBack Method
//Executed when the Submit button is Clicked. This Method is sends the currentCount back to iForm.
public void callBack(View view) {
Intent intent = new Intent();
TextView editText = (TextView) findViewById(R.id.editText);
setResult(Activity.RESULT_OK, intent);
String message = editText.getText().toString();
intent.putExtra("data", message);
finish();
}