Search found 7 matches

by krzysztof
12 Mar 2011, 11:06
Forum: SFS2X Java / Android API
Topic: Loading config file in android
Replies: 17
Views: 33178

Ok these two are light, but there is log4j-1.2.15 (383kB) included in the API's zip file as well.

I meant that the application which includes all the jars from the zip takes 1.5 MB

Sorry if I'm confusing sth
by krzysztof
12 Mar 2011, 10:06
Forum: SFS2X Java / Android API
Topic: Loading config file in android
Replies: 17
Views: 33178

I'm wondering if those logging libraries are really needed on Android. Their are quite heavy. I've examined that the simplest application, which does nothing but connecting to the server, already occupies about 1,5 MB of disk space.. :shock:

What are you using those for?
by krzysztof
12 Mar 2011, 08:19
Forum: SFS2X Java / Android API
Topic: Android and String.isEmpty() java.lang.NoSuchMethodError
Replies: 22
Views: 37132

May you post your code here so we can learn? or what magic you did for that? I didn't use any magic :-) I've just picked up the code from the sample included in the zip file with API libraries :-) It works pretty fine on my HTC until I try to send a public message. There is only one thing that you ...
by krzysztof
10 Mar 2011, 09:23
Forum: SFS2X Java / Android API
Topic: Android and String.isEmpty() java.lang.NoSuchMethodError
Replies: 22
Views: 37132

Well. I tried to run the same application on emulator and couldn't even establish connection to Smartfox server... After several lines of such errors 03-10 09:03:39.464: INFO/ActivityManager(70): Displayed activity pl.fotka.android.sfsTest/.MainActivity: 1322 ms (total 1322 ms) 03-10 09:03:39.976: W...
by krzysztof
09 Mar 2011, 20:46
Forum: SFS2X Java / Android API
Topic: Android and String.isEmpty() java.lang.NoSuchMethodError
Replies: 22
Views: 37132

My Galaxy Tab runs 2.2... Can't we at least support 2.2?? My HTC Desire as well. I've seen HTC is going to release upgrade to 2.3 soon but only for few models of theirs devices. 2.1 should be at least supported... :-) Probably not... because the compiler uses the regular JDK. Only at runtime we get...
by krzysztof
09 Mar 2011, 17:25
Forum: SFS2X Java / Android API
Topic: Android and String.isEmpty() java.lang.NoSuchMethodError
Replies: 22
Views: 37132

I believed Android 1.6 was a minimal version that should be supported by any Android application. Until now:) http://developer.android.com/resources/dashboard/platform-versions.html It seems that Android 1.6 is passing away, 2.1 and 2.2 are the most common versions at the moment.
by krzysztof
08 Mar 2011, 19:53
Forum: SFS2X Java / Android API
Topic: Android and String.isEmpty() java.lang.NoSuchMethodError
Replies: 22
Views: 37132

Android and String.isEmpty() java.lang.NoSuchMethodError

Hi there, I'm playing around with JAVA API and trying to create a simple Android application. By now I can successfully connect to the SFS2X server and login to any room. But when I try to send a public message the application crushes. Calling sfs.send(new PublicMessageRequest("Simple message&q...

Go to advanced search