This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes can we call another activity in oncreate method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "can we call another activity in oncreate method" Watch "can we call another activity in oncreate method" New topic
Author

can we call another activity in oncreate method

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1070
I need to know that can we call another activity in oncreate method ?
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Answer is 'Yes'.

Now take a case..
Say you have three activity A,B,C

And you want to call Activity C from Activity B's onCreate method. Right ???
You can. But do not you think that calling Activity C from the activity where you are calling activity B.


In short you can do it if you have some specific situation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we call another activity in oncreate method
 
Similar Threads
Screen changing
Is there a "refresh" ability on an activity?
Tring to do a spinner and i am getting errors
Error: "R cannot be resolved"
onCreate method ?