I lost R.java class when I clean my project. So please how can I get it back? Cause R.java define automatically in gen. Is there any way to do that?
I have imported a package to my project and I use it in project classes and pages but when I navigate to a page use a package the app gives a waiting and it still waiting.
How can I stop this problem and go to the next page?
public class HomePage extends Activity {    
    @Override
        protected void onCreate(Bundle savedInstanceState) {
            // TODO Auto-generated method stub
            super.onCreate(savedInstanceState);
            setContentView(R.layout.person);
            Carousel car=(Carousel) findViewById(R.id.carousel);
            car.setOnItemClickListener(new OnItemClickListener(){
                public void onItemClick(CarouselAdapter<?> parent, View view,
                        int position, long id) {
                    // TODO Auto-generated method stub
                    if(position==0){
                        Intent i=new Intent(HomePage.this,StudentInformationActivity.class);
                        startActivity(i);
                        }else if(position==1){
                            Intent i=new Intent(HomePage.this,PersonalProfileActivity.class);
                            startActivity(i);
                        }
                }
            });
        }
    }
on this page that we used person as activities but it doesn't work.
 
     
     
     
     
    