Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
  • How to Take Great Photos With Apple's iPhone X
  • Samsung Galaxy S9+ Review
  • Asus VivoBook 15 (X510UA) Review
  • Xiaomi Redmi 5 with 18:9 display
  • Vivo V9 with dual rear cameras
  • Xiaomi Redmi 5 launch
  • Vodafone partners with Tecno to offer Rs 2200 cashback
  • LG G7 with iPhone X-like notch
  • Oppo F7 India launch confirmed
  • Alcatel 1x with Android Oreo (Go edition) announced in India
  • Huawei P20, P20 Pro, P20 Lite price
  • Xiaomi MIUI 9 global stable ROM rolling out for all smartphones
  • Nokia 9 to sport iPhone X-like notch
  • Samsung Galaxy S9 passes scratch
  • Huawei Y9 2018 with four cameras, 4000mAh battery launched
  • OnePlus 5T gets Android 8.1 Oreo in open beta 4
  • Samsung Galaxy Note 9 won’t get under-display fingerprint scanner
  • Oppo F7, Mi Mix 2S, LG G7 and more
  • Oppo F7 with iPhone X-style notch to launch
  • Motorola could cancel Moto X5, layoffs hit Chicago office

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / Android Apps / Creating an Android Project

Creating an Android Project

Latest Govt. Jobs 00:54:00 Android Apps Edit
This lesson shows you how to create a new Android project with Android Studio and describes some of the files in the project.
  1. In Android Studio, create a new project:
    • If you don't have a project opened, in the Welcome to Android Studio window, click Start a new Android Studio project.
    • If you have a project opened, select File > New Project.
  2. In the New Project screen, enter the following values:
    • Application Name: "My First App"
    • Company Domain: "example.com"
    Android Studio fills in the package name and project location for you, but you can edit these if you'd like.
  3. Click Next.
  4. In the Target Android Devices screen, keep the default values and click Next.
    The Minimum Required SDK is the earliest version of Android that your app supports, which is indicated by the API level. To support as many devices as possible, you should set this to the lowest version available that allows your app to provide its core feature set. If any feature of your app is possible only on newer versions of Android and it's not critical to the core feature set, enable that feature only when running on the versions that support it (see Supporting Different Platform Versions).
  5. In the Add an Activity to Mobile screen, select Empty Activity and click Next.
  6. In the Customize the Activity screen, keep the default values and click Finish.
After some processing, Android Studio opens and displays a "Hello World" app with default files. You will add functionality to some of these files in the following lessons.
Now take a moment to review the most important files. First, be sure that the Project window is open (select View > Tool Windows > Project) and the Android view is selected from the drop-down list at the top. You can then see the following files:
app > java > com.example.myfirstapp > MainActivity.java
This file appears in Android Studio after the New Project wizard finishes. It contains the class definition for the activity you created earlier. When you build and run the app, the Activity starts and loads the layout file that says "Hello World!"
app > res > layout > activity_main.xml
This XML file defines the layout of the activity. It contains a TextView element with the text "Hello world!".
app > manifests > AndroidManifest.xml
The manifest file describes the fundamental characteristics of the app and defines each of its components. You'll revisit this file as you follow these lessons and add more components to your app.
Gradle Scripts > build.gradle
Android Studio uses Gradle to compile and build your app. There is a build.gradle file for each module of your project, as well as a build.gradle file for the entire project. Usually, you're only interested in the build.gradle file for the module. in this case the app or application module. For more information about this file, see Building Your Project with Gradle.
To run the app, continue to the next lesson.
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


Google launches Bulletin app

Every Merge Cube owner should check...

Top Best Android apps following the...
Creating an Android Project Creating an Android Project Reviewed by Latest Govt. Jobs on 00:54:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Fitbit Zip 2017 review
    Fitbit PROS: Clever, accurate tracking Expandable online service Integration with 3rd ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...

Random Posts

  • 10. or D smartphone to go on sale at  Amazon website
    10. or D smartphone to go on sale at Amazon website
    16.02.2018 - 0 Comments
    It’s getting hard for smartphone brands to catch the customers’ fancy. On one hand, the market for…
  • Google Android 8.0 Oreo is here
    Google Android 8.0 Oreo is here
    23.08.2017 - 0 Comments
    Android 8.0 Oreo is finally here: A quick look at some of the smartphones, OEMs which will get the…
  • Here is  3D display is made from laser-generated bubbles
    Here is 3D display is made from laser-generated bubbles
    24.02.2017 - 0 Comments
    Most 3D displays use a variety of methods to trick the brain into thinking it's seeing a…
  • Rayz Plus earphones solve the iPhone 7's biggest problem
    Rayz Plus earphones solve the iPhone 7's biggest problem
    16.02.2017 - 0 Comments
    Apple’s decision to drop the 3.5mm headphone port from the iPhone 7 was one of its most…
  • How to Find Your Mac’s Serial Number
    How to Find Your Mac’s Serial Number
    05.03.2017 - 0 Comments
    Your Mac’s serial number is a unique identifier that distinguishes your Mac from all others. You have to…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Taotronics TT-BH22 Headphones Review
    We make it a ...
  • Bank wallets growing faster than e-wallets
    In the  bank ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on ...
  • Fitbit Zip 2017 review
    Fitbit PROS ...

Random Posts

  • Guess who is the most talked about electoral candidate on Facebook
    Guess who is the most talked about electoral candidate on Facebook
    15.02.2017 - 0 Comments
    As the assembly elections fight in five states enters the crucial stage, Uttar Pradesh Chief…
  • Govt schools in Bangalore now not but ready for digital drive
    Govt schools in Bangalore now not but ready for digital drive
    14.06.2017 - 0 Comments
    The government technology college (GSC) on Nrupathunga avenue, set up in 1921, is the simplest nation-run…
  • The best iPhone games 2017 (itunes)
    The best iPhone games 2017 (itunes)
    12.02.2017 - 0 Comments
    It would take approximately 34,506,455 years to play through every single iPhone game on the App…
  • Pixel XL review
    Pixel XL review
    28.02.2017 - 0 Comments
    Google has been selling phones since the Nexus One landed almost seven years ago. In fact, there have…
  • Sniper Elite 4 review: Lofty aims battle grindhouse roots in this ambitious sequel
    Sniper Elite 4 review: Lofty aims battle grindhouse roots in this ambitious sequel
    13.02.2017 - 0 Comments
    Sniper Elite 4 is a very serious game about stealthily killing Nazi scum during the Allied invasion…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!