Android Question service module problems

tango

Member
Licensed User
Longtime 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 ?
 

tango

Member
Licensed User
Longtime 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
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime 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.
 
Upvote 0
Top