android startactivity
Posted
by mnish
on Stack Overflow
See other posts from Stack Overflow
or by mnish
Published on 2010-05-13T12:59:41Z
Indexed on
2010/05/13
13:04 UTC
Read the original article
Hit count: 205
Hello,
I have an application that contains 3 activities A, B and C. The activity A is the one that gets started when I start my app. From A I start B using startActivity(A.this, B.class)
, this goes well. What goes wrong is when I want to start the activity C from B.
this how the manifestfile looks like:
<activity android:name=".B"/>
<activity android:name=".C"/>
I know that I can do the follwoings: start B from A and then from B go back to A and then start C
or let B has its own manifestfile thus a stand lone app, and let C be an activity within this app.
Any suggestion is welcome. My apoligies for my bad english.
thank you
© Stack Overflow or respective owner