Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can we call another activity in oncreate method

 
sam liya
Ranch Hand
Posts: 1243
  • 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
 
Are you okay? You look a little big. Maybe this tiny ad will help:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!