Android Question BCTextEngine = HttpUtils2Service declaired twice!

Discussion in 'Android Questions' started by aidymp, Jun 28, 2019.

  1. aidymp

    aidymp Active Member Licensed User

    Hi I STILL use the custom HttpUtils2Service module as it also provides progress information where the standard libray does not. I tried using BCTextEngine.b4xlib and never noticed the error message until a save, and reopen.

    I presume BCTextEngine.b4xlib either contains or references HttpUtils2Service in some way?

    Help - As I really have to use the custom code module HttpUtils2Service. I definitely don't have the lib HttpUtils2 library loaded! I was so looking forward to the first run.

    I think Erel is the only one who can help here.

    Thanks
     
    Last edited: Jun 28, 2019
  2. LucaMs

    LucaMs Expert Licensed User

    It uses OkHttpUtils2.

    Unzip BCTextEngine.b4xlib and you will get 5 files:

    BBCodeParser.bas - SetImageView routine
    BBCodeView.bas
    BBLabel.bas
    BCTextEngine.bas
    manifest.txt - depends on OkHttpUtils2

    https://www.b4x.com/android/forum/threads/download-progress-okhttputils2.88010/#post-556986
     
    aidymp likes this.
  3. aidymp

    aidymp Active Member Licensed User

    Removed the reference and its working!

    Thank you
     
    LucaMs likes this.
  4. Erel

    Erel Administrator Staff Member Licensed User

    1. Open OkHttpUtils2.b4xlib with 7zip.
    2. Replace the module with your own.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice