Handy Maths Tutorial

Introduction

This tutorial walks you through creating a simple application for Android using Android Studio. You need to have Android Studio installed on your system,I won’t go into this right now, they are plenty of tutorials you can check out on that subject. Creating a project It’s extremely easy to start using Android development! In this tutorial we’ll follow the starting up process with Android Studio. If using Intellij IDEA with Android, the process is almost the same. First let’s create a new project. We choose Start a new Android Studio project or File | New project. The following dialogs walk us through the process of new project creation. We need to name the project and choose which Android SDK version we have installed. Most options can be left with their default values, so we can press ‘Enter’ several times. Name the project: alternate text Choose the Android version you want to use. The lower API level you use allows the user to use your app on an older device alternate text

Choose an activity from the selection that will be generated for you, use a blank activity for this project.:

alternate text

Next Name the activity, or you can leave the default settings.

alternate text

You have created a new project with one Java activity that was generated for us. Now to add the code for the Main Activity class.
Below is the Full code for the Main Activity.java

alternate text alternate text alternate text
alternate text
alternate text

Next The activity_main.xml

alternate text alternate text alternate text alternate text

Next the menu_main.xml file

alternate text

This is the strings.xml file

alternate text

This is the Manifest.xml file

alternate text

When you have entered all of the code,
this is what the design page should look like

alternate text

You should now be able to click run and you should have a working App