Android Question service module problems

Discussion in 'Android Questions' started by tango, Apr 14, 2015.

  1. tango

    tango Member Licensed User

    socket.connect or ftp.connect and this kind of functions are racing some function as completed or succeeded . in activity moduler ,there is no problems. but in the service modules , they stop services or not give any result. is there any idea ?
  2. tango

    tango Member Licensed User

    in service module i've declared a socket ' Socket1' .socket1.connect function not give successed.

    The Socket1_Connected sub is also located in my service module. this run in activity module witout any problem. but in service module successed=false all time.

    thank you in advance
  3. RandomCoder

    RandomCoder Well-Known Member Licensed User

    The event sub should be in the same service module that you make the initialisation call in. You can then use callsubdelayed to call other sub's in your main activity.
  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