Last active
December 18, 2015 17:59
-
-
Save codeinvain/5822480 to your computer and use it in GitHub Desktop.
integrating with GO Locker Apps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GOScreenLockInstallDialog extends Activity { | |
.. | |
.. | |
Runnable optinRunnable = new Runnable() { | |
public void run() { | |
AdRock adrock = AdRock.getInstance(GOScreenLockInstallDialog.this); | |
adrock.register(GOScreenLockInstallDialog.this, new OptInDialogOptions(OptInDialogOptions.TYPE_ACTIVITY, OptInDialogOptions.THEME_LIGHT, true, true,true)); | |
} | |
}; | |
.. | |
.. | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
new Handler().post(this.optinRunnable); | |
.. | |
.. | |
} | |
.. | |
.. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment