Sorry for the wrong code, but the ActivityOne do not have a button, but is
starting ActivityTwo immediately in its onCreate() method. and this code is
creating problem.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setConte
Hi Simon,
You suggested to make activity singleton.
But is 'making activity' singleton not equal to single instance.
At a time I'll be having a single instance. and I dont want to do that.
Moreover mainly, I want a way which is acceptable according to android
concepts.
and if that is not possible t
how about to singleton something
static Activity me;
oncreate()
if(me==null)
me = this
else
me.
finish();
or such
Cheers Jacko
--
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@goo
3 matches
Mail list logo