On Tue, Apr 5, 2011 at 11:26 AM, Lennert Raesch <
[email protected]> wrote:

> I need this behavior and was wondering how to achieve it
>

http://developer.android.com/reference/android/content/Context.html#startActivity(android.content.Intent)


> as the Activity I am starting doesn't seem to come up the way I am trying
> right now, which is just creating an instance of an Activity-class I wrote.
>

A - You don't create instances of Activity - the System does, based on calls
like the linked method.
B - Even if you *could* create an instance of an Activity, just creating a
new instance has nothing to do with actually showing it.

-------------------------------------------------------------------------------------------------
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to