Where to update the PatchServices Library
As part of "Preparing Android Applications", I need to update the code as below.
But, I am not sure where to update this information.
Is it in any of the below?
In PatchServices Library
In the APK of the Application we are testing
Please suggest how to do it.
Below is the extract I found from the help.
Initializing the PatchServices Library When Application Starts
The main goal of this step is to initialize TestComplete tools when the application starts. There are two ways to do that. If your application includes more than one activity, you need to place the initializing line in the constructor of your application.
JavaCopy Code
public class MyApplication extends Application
{
public MyApplication()
{
// The method that initializes TestComplete tools
com.smartbear.uibinder.Binder.Initialize(this);
…
}
}
If there is only one activity in the tested application, you can add the initializing line to the onCreate
method of the activity.
JavaCopy Code
public class MainActivity extends Activity
{
protected void onCreate(Bundle savedInstanceState)
{
// The method that initializes TestComplete tools
com.smartbear.uibinder.Binder.Initialize(getApplication());
…
}
}
Regards
Karim