Skip to content
Johann Martinache edited this page Jul 3, 2013 · 3 revisions

Android Manifest :

In your AndroidManifest.xml you need to add the following line inside the application node:

<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="\ YOURAPPID"/>

Edit the value with your APPID but you need to keep the "\ " before it.

MainActivity

You need to create a custom MainActivity ( or merge it if you are using another extension like HypFacebook ), and add the following line:

fr.hyperfiction.playservices.PlayHelper.getInstance( ).onActivityResult( requestCode , resultCode , data );

GameActivity ( Temp )

Edit your GameActivity.java class declaration ( in the your nme template folder ) replace:

public class GameActivity extends Activity

By :

public class GameActivity extends android.support.v4.app.FragmentActivity

That's all folks.

Clone this wiki locally