Back to project page mobile-connector-sdk-android.
The source code is released under:
Apache License
If you think the Android project mobile-connector-sdk-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.silverpop.engage.demo.engagetest; // w ww. j av a2 s . c o m import android.util.Log; import com.silverpop.engage.EngageApplication; import com.urbanairship.AirshipConfigOptions; import com.urbanairship.UAirship; import com.urbanairship.push.PushManager; /** * Created by azuercher on 6/12/14. */ public class Application extends EngageApplication { @Override public void onCreate(){ UAirship.takeOff(this); PushManager.enablePush(); String apid = PushManager.shared().getAPID(); Log.e("engagetest", "My Application onCreate - App APID: " + apid); PushManager.shared().setIntentReceiver(PushReceiver.class); super.onCreate(); } }