Community

unable to use Trial License Answered

Hi, I am new to this library and would like to test this out, 

In email I have been given out a serial number as license but I can't make out how to use it.

should I just create a file with that given name? (I did try and off course that didn't work)

I am currently getting this error on the sample code given to use for android 

"License not valid. Make sure you have a valid license file and specify correct license file name and application id. see logcat for details".

Apparently logcat doesn't show any error. 

Please let me know from where can I download this license key for which I applied for trial.

Thank you

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Nadezhda A. Solovyeva

    Dear Kiba,

    Please follow our recommendations below:

    The samples should be open and built from the same folder where they are located in the distribution package. To work with any of the code samples you need to do only a little configuring first.

    • Please change the application ID before building, modifying or otherwise using any of the samples.
    • All samples except that the license file (named AbbyyRtrSdk.license) is found into the assets folder located in the distribution package root. Copy your license to this folder and rename the file if necessary (a license obtained from your supplier may have a different name).

    You can also change the license file name in the sample code.


    a. For the Text Capture and Data Capture: General scenarios:

    public class MainActivity extends Activity { // Licensing 
    private static final String licenseFileName = "AbbyyRtrSdk.license";

    b. For the Data Capture: Russian Passport scenario:

    public class CameraActivity extends AppCompatActivity implements ICameraActivity { // Licensing 
    private static final String licenseFileName = "AbbyyRtrSdk.license";
    0
  • Avatar
    Pankaj Nimgade101

    @Nadezhda A. Solovyeva

    I
    s it possible to use Trial license to read document id ( eg. Driver's license )?

    0
  • Avatar
    Nadezhda A. Solovyeva

    Dear Kiba,

    Yes, this is possible. Please refer page 14 of RTR Sdk Developers Guide to figure out, how to set this up.

    The Rtr SDK Developers Guide is in file "RtrSDKDevelopersGuide.pdf" file in "Help" subfolder of your RTR SDK folder.

    0
  • Avatar
    Pankaj Nimgade101

    Hi Nadezhda,

    I get this error on screen while trying to read drivers license in USA

    "error reading file patterns/ID_US_EDC.rom" --(I am sure, I don't have this in assests anywhere else )

    I am initializing engine in following manner 


    engine.createDataCaptureService( "DriverLicense_US", dataCaptureCallback );

    Image Eg.
    https://www.google.com/search?q=driver+license+images&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiyjKTD07bgAhVs0oMKHbj2DlcQ_AUIDigB&biw=1389&bih=798&dpr=2#imgrc=G9m_ceiSBgpLMM:

     

    Logs

    2019-02-12 11:01:33.417 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: ViewPostIme pointer 0

    2019-02-12 11:01:33.499 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: ViewPostIme pointer 1

    2019-02-12 11:01:33.573 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: setView = android.widget.PopupWindow$PopupDecorView{a69a8e0 V.E...... ......I. 0,0-0,0} TM=true MM=false

    2019-02-12 11:01:33.577 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: dispatchAttachedToWindow

    2019-02-12 11:01:33.602 3057-3057/pk.nimgade.driver.test V/Surface: sf_framedrop debug : 0x4f4c, game : false, logging : 0

    2019-02-12 11:01:33.603 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: Relayout returned: old=[0,0][0,0] new=[1073,162][2061,1080] result=0x7 surface={valid=true 520364163072} changed=true

    2019-02-12 11:01:33.619 3057-3138/pk.nimgade.driver.test D/OpenGLRenderer: eglCreateWindowSurface = 0x792801fb60

    2019-02-12 11:01:33.656 3057-3057/pk.nimgade.driver.test D/AbsListView:  in onLayout changed 

    2019-02-12 11:01:33.659 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: MSG_WINDOW_FOCUS_CHANGED 1

    2019-02-12 11:01:33.659 3057-3057/pk.nimgade.driver.test V/InputMethodManager: Not IME target window, ignoring

    2019-02-12 11:01:33.684 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: MSG_RESIZED_REPORT: frame=Rect(1073, 162 - 2061, 1080) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=2

    2019-02-12 11:01:33.697 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0

    2019-02-12 11:01:34.365 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: ViewPostIme pointer 0

    2019-02-12 11:01:34.463 3057-3057/pk.nimgade.driver.test D/AbsListView: reportScrollStateChange() newState : 1

    2019-02-12 11:01:34.777 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: ViewPostIme pointer 1

    2019-02-12 11:01:34.778 3057-3057/pk.nimgade.driver.test D/AbsListView: onTouchUp() mTouchMode : 3

    2019-02-12 11:01:34.778 3057-3057/pk.nimgade.driver.test D/AbsListView: onTouchUp() TOUCH_MODE_SCROLL initialVelocity : 0

    2019-02-12 11:01:34.778 3057-3057/pk.nimgade.driver.test D/AbsListView: reportScrollStateChange() newState : 0

    2019-02-12 11:01:35.446 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: ViewPostIme pointer 0

    2019-02-12 11:01:35.614 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: ViewPostIme pointer 1

    2019-02-12 11:01:35.614 3057-3057/pk.nimgade.driver.test D/AbsListView: onTouchUp() mTouchMode : 2

    2019-02-12 11:01:35.644 3057-3138/pk.nimgade.driver.test D/OpenGLRenderer: eglDestroySurface = 0x792801fb60

    2019-02-12 11:01:35.644 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@ce6e3[PopupWindow:9a56974]: dispatchDetachedFromWindow

    2019-02-12 11:01:35.644 3057-3057/pk.nimgade.driver.test D/InputEventReceiver: channel 'eb66427 PopupWindow:9a56974 (client)' ~ Disposing input event receiver.

    2019-02-12 11:01:35.656 3057-3057/pk.nimgade.driver.test W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.

    2019-02-12 11:01:35.657 3057-3057/pk.nimgade.driver.test D/InputEventReceiver: channel 'eb66427 PopupWindow:9a56974 (client)' ~NativeInputEventReceiver.

    2019-02-12 11:01:35.657 3057-3057/pk.nimgade.driver.test D/InputEventReceiver: channel 'eb66427 PopupWindow:9a56974 (client)' ~NativeInputEventReceiver.

    2019-02-12 11:01:35.687 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1

    2019-02-12 11:01:35.690 3057-3057/pk.nimgade.driver.test E/ViewRootImpl: sendUserActionEvent() returned.

    2019-02-12 11:01:36.886 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: ViewPostIme pointer 0

    2019-02-12 11:01:37.008 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: ViewPostIme pointer 1

     

    2019-02-12 11:01:37.187 3057-3057/pk.nimgade.driver.test D/ViewRootImpl@a7a7f67[MainActivity]: Relayout returned: old=[0,0][2076,1080] new=[0,0][2076,1080] result=0x1 surface={valid=true 520343076864} changed=false

     

    Thank you so much for your time and patience.


    -Regards
    pankaj

     

    0

Please sign in to leave a comment.