I on an OCR SDK developer platform free trial access an OCR SDK, encountered a problem now, when I install the android OCR SDK, I got an account from the platform and passwords, according to the prompt document access, but met with the following code:
//application to create name
RestClient. ApplicationId="AppName";
//from cloud veins OCR SDK developer platform registered email for password
RestClient. Password="SOME_ALPHA_NUMERIC_PASSWORD";
The v (" ", "* * * * * * * * * * * * * * * * 2");
//run the application for the first time when get the id of the
installationSharedPreferences Settings=activity. GetPreferences (activity. MODE_PRIVATE);
String instIdName="installationId";
if( ! Settings. The contains (instIdName)) {
The v (" ", "* * * * * * * * * * * * * * * * 3");
//from the server for use in a device ID for installation ID
String deviceId=android. The provider. Settings. Secure. Get String (activity. GetContentResolver (),
Android. The provider. Settings. Secure. ANDROID_ID);
The v (" ", "* * * * * * * * * * * * * * * * 3.1");
//get the server installation ID
PublishProgress (" First run: obtaining the installation id.. ");
String installationId=restClient. ActivateNewInstallation (deviceId);
PublishProgress (" is Done. The Installation id is' "+ installationId +" '");
The v (" ", "* * * * * * * * * * * * * * * * 3.2");
SharedPreferences. Editor Editor=Settings. Edit ();
Editor. PutString (instIdName installationId);
Editor.com MIT ();
The v (" ", "* * * * * * * * * * * * * * * * 4");
}
Program is running to the Log. The v (" ", "* * * * 3.1"); Stopped, which master knows how to solve