Thank you very much Erel for your help.
I will try another devices.
But I know, that "HALLO" is received immediately, because in LOG I immedaitely see this:
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
And after 1,5 second I get "HELLO".
Delay exist because of Activity go to PAUSE and RESUME mode....
Can I have something wrong with calling functions in MAIN?
If I have in service this?
Realy here can not be trouble?
AStream.Initialize(Main.Ser1.InputStream, Main.Ser1.OutputStream, "AStream")
Thank you very much
Best regards
p4ppc