Before starting activity, call application's OnCreate

Source: Internet
Author: User

<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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.