I am new to Android and this is my first question here so please go easy on me.
Is it possible to check some condition inside onCreate() of an Activity and display an Al
If using ActivityGroups then you need to use getParent() instead of the keyword this. Also ensure that you create the onPause method in your activity to dismiss the alert i.e.
public void onPause() { super.onPause(); if(alert !=null) { alert.dismiss(); } }