Android API issue

Post here all your questions related with SmartFoxServer Java API

Moderators: Lapo, Bax

croco
Posts: 84
Joined: 14 Jun 2009, 09:31

Android API issue

Postby croco » 01 Jul 2009, 18:32

Hi all,

I start playing with the android API. 8)

i get a onConfigLoadFailure event.

i put the config.xml into root src.

I don't have idea where to put or what i have to do special to sfs works on android.

FYI. i'm testing on a real Android phone HTC magic not on emulator ;)

Thanks by advance for your help.

Croco
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 03 Jul 2009, 13:54

Moved to the Java API section
I am no Android expert but shouldn't the file be packaged in the .apk archive?
I will ask Patso to take a look at this post, maybe he has the answer.

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Postby patso » 05 Jul 2009, 09:58

Hi,

Could you explain why you're using config.xml? Android is a bit specific about the access of resources so maybe we could recommend you a better way for the android platform.
croco
Posts: 84
Joined: 14 Jun 2009, 09:31

Postby croco » 09 Jul 2009, 18:00

Hi all,

Thanks for your support.

I finally don't use config file. Hard coded values :oops:

Hey Patso nice boobs :roll:

Thanks

Croco


My Android version is close to work ;) but still much work forward


:?

Return to “Java2SE / Android Client API”

Who is online

Users browsing this forum: No registered users and 12 guests