Http://www.raywenderlich.com/56107/make-first-android-app-part-1
- Activity Name. This is the first mention you ' ve seen of the word
Activity
, but it certainly won ' t being the last. In Android, an Activity
is usually thought of as a ' screen ' in your app. It could is fullscreen or it could be a partial-screen pop-up. It is very flexible. If you want your the user interacting with the something in your app, that's at some level happening via an Activity
. Note: When Android Studio creates your mainactivity
, what it's doing is making a subclass of Activity
. Those familiar with object-oriented programming would know what's this was, but for newcomers, this basically means that your mainactivity
is going to being a customized version of Activity
that acts just like the default on E, handling things like its lifecycle and the user interface display.
- Layout Name. You ' re going to define your
MainActivity
in Java, but the layout of the everything it'll show to the user are defined in a special s Ort of Android XML. You'll learn how to read and edit those files soon.
- Fragment Layout Name. A fragment is a little like a sub-activity, and can be a useful part of your app design. I won ' t go to fragments much in this tutorial-in fact, one of the things your ' ll do are remove the one that the New Projec T Wizard makes for you-but I encourage I-further investigate how to effectively use fragments after you finish this T Utorial.
- Navigation Type. For now, just choose None. You won ' t need any navigation for a little while, and if you do, it's ll be smarter to build it yourself, from scratch.
- Gradle is a new build tool that's easy to use, but it also contains a lot of advanced options if you investigate it Furth Er. Basically, it takes your Java code and XML layouts, and uses the latest Android build tools to create the app package file , known as an APK file. You can customize your configurations to any development or production versions of the app that behave differently, or ad d dependencies for Third-party libraries.
- Maven is another project build tool, and it can also refer to the MAVEN central repository of Java libraries. It's absurdly easy-to-use Gradle and Maven Central-concert with Android Studio to incorporate all sorts of Functionali Ty from the Android development community. Those with an IOS background would know how cool this sort of thing can is from using the CocoaPods tool. You'll learn more on Maven in part three of the tutorial.
Make Your first Android App