[android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Mochamad Basofi
Wow thanks, that's a lot easier than mine thanks :D On Apr 18, 3:49 pm, Vinay Julme wrote: > Ho ho... > > Use shared preferences. It is the best approach. > > When  your app starts a launcher activity gets called. now in its onCreate > method check for your shared preferences.Check for shared pr

Re: [android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Vinay Julme
Ho ho... Use shared preferences. It is the best approach. When your app starts a launcher activity gets called. now in its onCreate method check for your shared preferences.Check for shared preferences just after setContentView(). If this value is not set then you can start your registration act

[android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Mochamad Basofi
I think you could save a value on SQLite that stores an int(or anything) when you start your activity for the 1st time So on the second time you start your activity, your app first read the sqlite, if the value is not null, then the first activity won't be brought on screen so the scheme is just l

[android-developers] Re: how to show an activity only at the time of launch

2011-04-17 Thread Zsolt Vasvari
My app does it. Send me $100 and I will send you my code. On Apr 18, 1:28 pm, Siva Kannabiran wrote: > i have created an app, there i have an activity for registration purpose. I > want the particular activity to be shown for the the first time when the app > is been launched in a device and in