B4A Library Google Play Game Services

tufanv

Expert
Licensed User
Longtime User
Do you use Java 7 to compile ? Check your javac.exe setting in your IDE ("Tools/Configure Paths").

Infromatix, This was the key to fix the problem. I want to Thank you for this great lib and tutorial !
 

tufanv

Expert
Licensed User
Longtime User
I have no problem with signing in or displaying the achivements etc.. But while senbding the score to leaderboard it gives me the error no : 6 ( submitscoreimmedaite: error =6 ) any idea why this occurs ?

TY
 

tufanv

Expert
Licensed User
Longtime User
According to the Google doc, 6 = STATUS_NETWORK_ERROR_OPERATION_FAILED
Interesting. Where is the document located i searched for the error codes on google but couldnt find the doc. so ican read myself a bit

ty
 

tufanv

Expert
Licensed User
Longtime User
Ok Thank you Informatix. I am really having a interesting problem. Sometimes i get this number 6 error but i 1 of 5 tries it send the score without any problem. I will investigate the problem from the doc now.
The link is at the bottom of the first post of this thread.
 

tufanv

Expert
Licensed User
Longtime User
Ok Thank you Informatix. I am really having a interesting problem. Sometimes i get this number 6 error but i 1 of 5 tries it send the score without any problem. I will investigate the problem from the doc now.

I solved the problem by enabling real time multiplayer option. Few people had the same problem.
 

Carcas

Member
Licensed User
Longtime User
Hallo i have this error


I followed the instructions in the first post
I have V19 Google game service

I can not understand where is the problem

thank you
 

Carcas

Member
Licensed User
Longtime User
I ask not to consider the previous post


I followed all the steps
I put the file game-ids.xml in res / values (is only read)

I think for res / values means that
  • copy the folder "android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res" to the root of your B4A project (so you should have 3 folders there now: Files, Objets and res)
Do you recommend?

Thank
 

Carcas

Member
Licensed User
Longtime User
Can anyone tell me why the resource is not found?
I have google_play_service 19 and I've followed all the instructions.

My library may be faulty?

You can give me library + res folder version 19?

Contact me in private

Please help me
 

Gunther

Active Member
Licensed User
Longtime User
Bon jour Informatix,

ça va?

well, I was trying your DEMO for Leaderboards with setting up a correct games-ids.xml etc.
The DEMO started but I am getting an error after pressing the SignIn Button:

Sing_In_Failed Error 3 code 10002

Does it has to do with the Client-ID one has to apply? I do have one JSON for it. WHre I have to add that, if neccessary?

Merçi, Gunther
 

Informatix

Expert
Licensed User
Longtime User
It's an error related to authorization/authentification. Did you read the first two posts of this thread, especially the second one ?
 

Gunther

Active Member
Licensed User
Longtime User
HI,

yes, sure exactly as you wrote already in a previous post I read both already and changed as requested.

by "changing the package name" is is mandatory to change it to an already existing AND published one on the Development Center?

Greetings, Gunther
 

Gunther

Active Member
Licensed User
Longtime User
Oh, unfortunately I am getting a different error now: internal error with error code 0.
So, it must be something wrong in my settings in the development center...
I have to figure it out.

Thanks, Gunther
 
Last edited:

Gunther

Active Member
Licensed User
Longtime User
Found!
The issue was between the ears.
The saved games was not configured in the development center (since not intended to use), but in the request it was still set to 'True' from the demo.

First setting ist now 'False':
B4X:
Connection.Initialize(False,  Me, "Connection_Success", "Connection_Failure", False, Debug)

Do you have a plan to add the Events to the library?

Thanks, Informatix!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…