Handy Maths Tutorial
IntroductionThis 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: 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
Choose an activity from the selection that will be generated for you, use a blank activity for this project.:
Next Name the activity, or you can leave the default settings.
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
Next The activity_main.xml
Next the menu_main.xml file
This is the strings.xml file
This is the Manifest.xml file
When you have entered all of the code,
this is what the design page should look like
You should now be able to click run and you should have a working App