Building a 3rd Party Widget for Android

Опубликовано: 29 Октябрь 2024
на канале: Zerion Software
467
0

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();
}