hi krzysztof,
I can not connect to server using android api too. It makes a handshake and then auto disconnect.
May you post your code here so we can learn? or what magic you did for that?
Search found 13 matches
- 11 Mar 2011, 05:19
- Forum: SFS2X Java / Android API
- Topic: Android and String.isEmpty() java.lang.NoSuchMethodError
- Replies: 22
- Views: 36994
- 04 Mar 2011, 12:02
- Forum: SFS2X Java / Android API
- Topic: Loading config file in android
- Replies: 17
- Views: 32963
Yes. All jar in the zip file are put into my project. I think, not all default java class are supported in android. Please check here to see which class are supported. http://developer.android.com/reference/packages.html for example, net.sf.json.JSONObject is required in your library, but normally i...
- 04 Mar 2011, 03:19
- Forum: SFS2X Java / Android API
- Topic: Loading config file in android
- Replies: 17
- Views: 32963
- 03 Mar 2011, 03:48
- Forum: SFS2X Java / Android API
- Topic: Loading config file in android
- Replies: 17
- Views: 32963
- 02 Mar 2011, 15:15
- Forum: SFS2X Java / Android API
- Topic: Loading config file in android
- Replies: 17
- Views: 32963
Loading config file in android
I try to test the api in android but don't know how to load the config file. I put the sfs-config.xml under asset folder then call sfs.loadConfig("file:///android_asset/sfs-config.xml", true); Get an exception: 03-02 16:42:57.575: WARN/System.err(248): java.io.IOException: ...
- 01 Mar 2011, 13:12
- Forum: SFS2X Java / Android API
- Topic: Java client API
- Replies: 29
- Views: 41466
- 27 Feb 2011, 14:53
- Forum: SFS2X Java / Android API
- Topic: Java client API
- Replies: 29
- Views: 41466
thanks for your effort. Em...a bit complex, I think. You need to install the android sdk, create a new Android Virtual Devices(AVD), create a test app using the api and deploy it to your AVD. Download the sdk: http://developer.android.com/sdk/index.html Guide to create the avd and deploy project: ht...
- 27 Feb 2011, 02:04
- Forum: SFS2X Java / Android API
- Topic: Java client API
- Replies: 29
- Views: 41466
- 23 Feb 2011, 00:24
- Forum: SFS2X Java / Android API
- Topic: Java client API
- Replies: 29
- Views: 41466
- 22 Feb 2011, 10:18
- Forum: SFS2X Java / Android API
- Topic: Java client API
- Replies: 29
- Views: 41466
thanks lapo and ThomasLund After several try, I still can not run my android project. I remove slf4j-api-1.5.10.jar and slf4j-log4j12.jar. Then download and add slf4j-android-1.6.1-RC1.jar into project. Here is my log. Actually the error is exactly the same as using the original slf4j*.jar files... ...
- 22 Feb 2011, 09:29
- Forum: SFS2X Java / Android API
- Topic: Java client API
- Replies: 29
- Views: 41466
Thanks for your effort. Anyone test this beta release? It is a java version file but my project is written in android. So I convert it to a simple android test project and found 2 error. 1. Compile error happened when I first compile the code in eclipse as an new android project. The log4j jar cause...
- 22 Feb 2011, 02:46
- Forum: Java2SE / Android Client API
- Topic: SFS2 for android?
- Replies: 0
- Views: 9000
SFS2 for android?
Does the new SFS2 update available for android?
I download the android api example and get SFS2 installed in my server. I can telnet the server but my android example can not connect it.
Any idea?
I download the android api example and get SFS2 installed in my server. I can telnet the server but my android example can not connect it.
Any idea?
- 21 Feb 2011, 10:50
- Forum: Java2SE / Android Client API
- Topic: help getting started with client java
- Replies: 3
- Views: 14673