Create an Android Project : Android training in Chandigarh

Create an Android Project : Android Training in Chandigarh

android training Chandigarh


This lesson shows you how to create a new Android project with Android Studio and describes some of the files in the project.Let us discuss about the creation of android project with Android training in Chandigarh 
  1. In the Welcome to Android Studio window, click Start a new Android Studio project.android training in Chandigarh
    Or if you have a project opened, select File > New Project.
  2.  When the  Create New Project window get open, enter the following values:
    • Application Name: "My First App"
    • Company Domain: "example.com"
    You might want to change the project location. Also, if you want to write a Kotlin app, check the Include Kotlin support checkbox. Leave alternate alternatives as they seem to be. 
    3. Snap Next Step. 

    4. In the Target Android Devices screen, keep the default esteems and snap Next. 

    5. When we move in subsequent stage that is Adding an Activity to Mobile screen, select Empty Activity and snap Next. 
    At the point when the client comes to Configure Activity screen, keep the default esteems and snap Finish. 
android training institute in Chandigarh
Now take a moment to review the most important files.
First, we have to be sure about the Project window is open (select View > Tool Windows > Project) and the Android view is selected from the drop-down list at the top of that window. 
We can then see the following files: Android training in Chandigarh will teach you all the core concepts which we use in the creating the android 
app > java > com.example.myfirstapp > MainActivity
This is the fundamental movement (the passage point for your application). When you assemble and run the application, the framework dispatches an occurrence of this Activity and burdens its design. 

1. application > res > design > activity_main.xml 

This XML record characterizes the design for the action's UI. It contains a TextView component with the content "Hi world!". 

2. application > shows > AndroidManifest.xml 
The show document portrays the essential attributes of the application and characterizes each of its segments. 

3. Gradle Scripts > build.gradle 
You'll see two documents with this name: one for the task and one for the "application" module. Every module has its own particular build.gradle record, yet this task right now has only one module. You'll for the most part work with the module's build.gradle record to arrange how the Gradle instruments assemble and construct your application. For more data about this record, see Configure Your Build.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.