android apps, learn android programming, android for beginners, android
NEXT Page - Android App Coding - Res/layout/Main.xml Tutorial PREV Page -Android App Coding - R.Java and BuildConfig.java Tutorial Android For Beginners- Read the Article

The code in these free Android tutorials is from AIDE - the free Android App for Creating Android Apps.
The programming language is JAVA XML


mainActivity.java Tutorial


This java file is created when you run your app project, and it tells the app where to find the particulars of your activity view - SetContentView tells the app to goto R.layout.main for the view's page styling and layout details; like its' layout type, font style, the margins on the view page, text color, text size, color of links, to name a few. The R.layout.main.xml file is discussed in the next tutorial.

This mainactivity.java file is not a file you need to edit when first creating your app.
To locate this file in your android app project files goto:
AppProjects/nameOfApp/SRC/com/domainname/AppName/mainActivity.java
nameOfApp refers to name you gave app when creating it; domainname refers to your domainname also given when creating the appProject




mainActivity.java file

Share This Page



TO COPY CODE USE MOUSE

This free script provided by
JavaScript Kit


AIDE for creating Android Apps on your tablet or cell phone(android).
Free and Paid - with Free, create simple template apps and couple free android lessons.
With paid, many android lessons included, create template apps, publish your app at markets like Google, Amazon, and get a 'keystore' for your app.

GoTo Aide

ANDROID STUDIO - for creating Android Apps on your desktop computer.
Free to Install and Use

GoTo Android Studio Learn more - Android Studio

The Java XML files we code(example tutorial codes) and the Android Apps we create in our Free Tutorials are compatible with Android Studio and AIDE. Just choose Java XML as your Programming Language.


The Google Play Store has many Free Apps for learning to code Android.

Do A Google Play Search
"Learn Android, Learn Android Java, Android Programming, Android Development, Code Example For Android Programming, Android Tutorials with Code , Make An Android App Java XML"




You May Like:
Make Sushi Rolls Taste World Wines Flavours and Aromas