<application android:label= "@string/app_name"
android:icon= "@drawable/icon"
Android:name= "Org.cocos2dx.lua.TestApplication" >//Plus application path
The application to invoke
Package Org.cocos2dx.lua;
Import android.app.Application;
Import Android.content.pm.ApplicationInfo;
Import Android.util.Log;
Import com.wett.cooperation.container.TTSDKV2;
public class TestApplication extends application {
private static final String TAG = "TestApplication";
@Override
public void OnCreate () {
Super.oncreate ();
LOG.E ("00000000000", "");
Ttsdkv2.getinstance (). Prepare (this);
LOG.E ("00000001111111110000", "");
Appinterface.getactivity ();
}
}
This article is from the "accompany you through the Long Years" blog, please be sure to keep this source http://4774721.blog.51cto.com/4764721/1795544
Before starting activity, call application's OnCreate