2. Create a new file in the src\com\ directory of your app named MyNewClass.java
Example: If your package is named com.akp.myandroidapp, then the directory would be src\com\akp\myandroidapp\MyNewClass.java
3. In the MyNewClass.java, copy the below contents to the file and save. This will create a new class.
package com.akp.myandroidapp;
public class MyNewClass {
}
4. Compile and run!
Resources:
Resources: