Create a new Android Application project. Name it whatever you want and have it create a default activity, but change the name of the activity to “MTVisTestActivity”.
Open the file MTVisTestActivity.java and keep the package declaration, but overwrite the rest of the text with the first file text
Create a new class called MTView (right click on src->your.package.name then select New->Class). Open it and paste in the text for the second file – again, just keeping the package name.
solved Android Project Creation [closed]