Monday, 11 June 2012

How to open menu default in android


Here is Process for open menu default on activity. just put this code in onCreate method of activity:-
new Handler().postDelayed(new Runnable() { 
        @Override 
        public void run() { 
                openOptionsMenu(); 
        } 
}, 500); 

No comments:

Post a Comment