On Thu, Mar 22, 2012 at 3:07 PM, Muhammad UMER
<muhammad.ume...@hotmail.com>wrote:

> My registration activity show only one time, how can i hide this activity
> after when the user registered to the application mean this activity will
> not show to user.


Save a preference to indicate whether to show it or not. Then,

if (preferenceIsSet())
{
  startNewActivity();
  finish();
}

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to