Android, How to call onCreate() explicitly from other method?

Viewed 36985

I want to call onCreate(Bundle cicici); from other method then i am getting "NullPointerException", so please guide me how can i call the onCreate() from another method().

    public void moreFriendsButtonClick(int id)
{
    contentId= id;
    onCreate(tempBundle);
}

Here i am passing int value, and

tempBundle=savedInstanceState;

and after that i am getting NullPointerException

2 Answers
Related