Socket not connected with Android 9

Discussion in 'Forum Discussion' started by jlalexie, Aug 15, 2019 at 10:32 AM.

  1. jlalexie

    jlalexie Member Licensed User

    Hello,


    I'm programming with B4A 9.0 and I'm happy with this product (easier than Android Studio).

    I use a TCP Client socket to communicate with a Wi-Fi ESP8266 access point (no internet connection): "Public CltSock As Socket".

    Everything works great for Android versions 5 to 8.

    But no Wi-Fi connection with an Android 9.0 smart phone (Huawei). "Sub Client_Connected (ConStatus As Boolean)" returns "ConStatus" false.

    In the manifest, I added: "CreateResourceFromFile (Macro, Core.NetworkClearText)" but nothing in Wi-Fi connection (as it is said in

    https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/page-2.

    )


    Here are the B4a and the Android Manifest file.
    Capture manifest.PNG

    Thank for help.
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    You are not posting in the correct place. Please post it in the questions forum. You should also post the manifest editor code as text instead of screenshot.
     
  3. jlalexie

    jlalexie Member Licensed User

    ok, it is done.
     
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