Android Question InputStream cannot be converted to AsyncStreams

Discussion in 'Android Questions' started by bill choi, May 9, 2015.

  1. bill choi

    bill choi New Member Licensed User

    please help me.

    1. source file : UserGuide->SourceCode->NetworkExample2
    2. Referenced libraries checked :

    3. run result :
    B4A version 4.30
    Parsing code. 0.08
    Compiling code. 0.31
    Compiling layouts code. 0.06
    Generating R file. 0.14
    Compiling debugger engine code. 1.87
    Compiling generated Java code. Error
    B4A line: 44
    InputStream1 = Socket1.InputStream
    javac 1.8.0_31
    src\b4a\networkexample2\ error: incompatible types: InputStream cannot be converted to AsyncStreams
    _inputstream1 = (anywheresoftware.b4a.randomaccessfile.AsyncStreams)(_socket1.getInputStream());
    1 error
  2. Erel

    Erel Administrator Staff Member Licensed User

    How is InputStream1 declared? Can you post mode code?
  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