Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we call another activity in oncreate method

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know that can we call another activity in oncreate method ?
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic