title: android- calling Intent from an Inner class
body: <p>i want to call a new activity from within an inner class which is defined in d class which extends Activity....
  the piece of written in one of the methods of that Inner class is::</p>
  
  <p>Intent intent = new Intent(this, Test2.class);
         startActivity(intent);</p>
  
  <p>Test2 is placed inside the same package as my main clas is placed and eclipse is showing me d error  "The constructor Intent(test.MyTimer, Class) is undefined".......</p>
  
  <p>what is the solution??</p>