Search found 6 matches

by esin
01 Mar 2011, 09:47
Forum: SFS2X Java / Android API
Topic: Connection problem
Replies: 7
Views: 16233

oh! my great apologize! I downloaded wrong archive. Thank you very much, Thomas! For your patience and help
by esin
01 Mar 2011, 09:40
Forum: SFS2X Java / Android API
Topic: Connection problem
Replies: 7
Views: 16233

I get this example from SFS2X Java Client API archive

http://www.smartfoxserver.com/2X/quickUpdates/SFS2X-JavaAPI-b1.zip

Lapo posted it in this thread:

http://forums.smartfoxserver.com/viewtopic.php?t=9945&postdays=0&postorder=asc&start=0

In this archive there is a /examples/Java2SE ...
by esin
01 Mar 2011, 09:26
Forum: SFS2X Java / Android API
Topic: Connection problem
Replies: 7
Views: 16233

Yes, i saw it. Thank you very much!
But I didn't understand, how to run it. I Created new Java-project, copy-pasted your code there, added Java client API .jar files to classpath, but eclipse underlined all classes and packages declarations with red line. All packages you imported it can't resolve ...
by esin
01 Mar 2011, 08:50
Forum: SFS2X Java / Android API
Topic: Connection problem
Replies: 7
Views: 16233

Connection problem

Hello

Recently i wrote in "Java client API" topic about my problem. I'd like to thank everybody who answered me there, but none of offered in that topic decisions have helped. So i decided to create separate topic to describe my problem in details.

It's my first experience with SmartFoxServer. I ...
by esin
25 Feb 2011, 15:20
Forum: SFS2X Java / Android API
Topic: Java client API
Replies: 29
Views: 51286

hi, bax! thank you for reply

of course i do :)


...
else if(event.getName().equals(SFSEvent.onConnection))
{

log("onconnection");
if(event.getParams().getBool("success"))
{
log("connected");
}
else
{
log("not connected");
System.exit(-2);
}
}
else if(event.getName().equals(SFSEvent ...
by esin
25 Feb 2011, 09:13
Forum: SFS2X Java / Android API
Topic: Java client API
Replies: 29
Views: 51286

hi all!

i downloaded Java client API, tried to use it in Java2SE application. but i cannot connect to server. after calling "sfs.connect" method in console i can see, that server sends me a crossdomain.xml file. then nothing happening for 20 seconds, after this i receive onConnectionLost event.

i ...