In my app initially I created one class "abc.java" which extends Activity and do some functionality..
But now I have decided to implement TabView and abc.java should be first tab in tabview..
My problem is my abc.java class extends activity and now when I change it to fragments , it gives me errors.
If I implement TabActivity , which is deprecated now, it will work fine, but now if I want to use fragment what changes I have to do?
I know I have to make some changes in abc.java but I have no clue how to do that..I am new to android and trying hard to get this done..Any help would be great!!
here is my code for class "abc.java"
public class CountAndMarkPage extends Activity
{
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.count_mark);
//lots of code here
}
}