-
Notifications
You must be signed in to change notification settings - Fork 10
Android settings
Johann Martinache edited this page Jul 3, 2013
·
3 revisions
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.
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 );
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.