does anyone have experience integrating the Amazon Mobile App SDK into cocos2d-x v3 and the NativeActivity implementation? I would like to use the GameCircle API, but the sample implementation uses Java, and I am a little unsure how to set it up using NativeActivity
Follow the official Amazon docs regarding the whole assets/api_key.txt and security profile stuff
Note to the last point: Just copy all files from this directoy into the android project directory (cp -r $AVALON_DIR$/avalon/platform/android-amazon/gamecenter/java/* proj.android/) but don’t forget to clone all submodules before (git clone --recursive ...)!
Final note: Not all features of the Amazon GameCircle API are available but I think it should be a good starting point
IMHO this is only used for accurate play time measurement. I’ve got accepted on the Amazon App Store without this but your right, that’s something that should be improved!
But I’m not the best Android developer and it’s not that easy / clear how to integrate the lifecycle events with the NativeActivity. Although I managed to integrate another plugin that depends on event delegation through onActivityResult of the NativeActivity — just have a look at this path and you should get the idea. A similar approach could be used to delegate all other lifecycle events.
does the Amazon integration also require that the Amazon AppStore be installed on the device? Or can I make use of the GameCircle Achievements/Leaderboards APIs on devices that do not have Amazon AppStore installed (for example Ouya or other android based microconsoles)?
the links have “404 error”. Are been removed?
I would like integrate gamecirlcle in my game. Some people have done this?
byz!
Follow the official Amazon docs regarding the whole assets/api_key.txt and security profile stuff
> Note to the last point: Just copy all files from this directoy into the android project directory (cp -r $AVALON_DIR$/avalon/platform/android-amazon/gamecenter/java/* proj.android/) but don’t forget to clone all submodules before (git clone --recursive ...)!
> Final note: Not all features of the Amazon GameCircle API are available but I think it should be a good starting point
>
Happy coding!
Stefano Campodall’Orto wrote:
> the links have “404 error”. Are been removed?
> I would like integrate gamecirlcle in my game. Some people have done this?
>
Oh sorry! I’ve renamed the “wip” branch which caused this problem. Here are the new links:
>