August 2016
Intermediate to advanced
412 pages
9h 3m
English
Let´s create a project with Android Studio with a minimal setup. In order to do so, navigate to Project | New | New Project. Create the most minimalistic setup available—typically just a project; do not add Activity from the beginning. This adds a lot of boilerplate code that we do not need at this moment. When the project has been created, add a new Activity by right-clicking on your source folder, and clicking on New | Java Class. Name the class Main Activity:

When the file has been created, add this very basic code for Activity:
public class MainActivity extends Activity { @Override protected void onCreate(Bundle ...Read now
Unlock full access