Click here to Skip to main content
15,910,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i click button open, my app is can't open the FragmentActivity and i got error!

any idea to fix it?
Posted

1 solution

FragmentActivity is also activity. So very simple we can use intent to open FragmentActivity from activity.

Consider Example:-

A = Activity
B = FragmentActivity

Intent i = new Intent(Activity.this,FragmentActivity.class);
startActivity(i);
 
Share this answer
 
Comments
JaironLanda 26-Feb-15 11:00am    
Thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900