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
Loading...

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


Mcent Browser App Earn Free Recharg...

True Balance Free Mobile Recharge A...

The best 5 hot dating apps to try t...
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 ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows 10 Creators Update is here, now—yes,  now —but not (officially) on the PC. The ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...
  • 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 ...

Random Posts

  • Algorithms adopted by google
    Algorithms adopted by google
    01.02.2018 - 0 Comments
    Algorithms Procedure or formula for solving a specific problem or to process input in specific manner,…
  • Fairphone wants to save the world with more than just smartphones
    Fairphone wants to save the world with more than just smartphones
    28.02.2017 - 0 Comments
    The Fairphone 2 takes an eco-friendly approach to phone design by using conflict-free…
  • New Gboard 6.1 beta refines voice input, GIF search
    New Gboard 6.1 beta refines voice input, GIF search
    10.03.2017 - 0 Comments
    Last week we told you about some minor improvements coming to Gboard by way of the most recent…
  • Apple Q1 2018 earnings
    Apple Q1 2018 earnings
    02.02.2018 - 0 Comments
    Apple Q1 2018, earnings result: Apple iPhone X was best-seller, revenue was .3 billion and iPad revenue was…
  • The best add-ons for the Kodi media player and how to install them
    The best add-ons for the Kodi media player and how to install them
    11.03.2017 - 0 Comments
    Kodi, the versatile open source media player has a lot of hidden talents thanks to its huge…

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 & ...
  • Steam Now Supports PS4's DualShock 4 Controller
    HIGHLIGHTS ...
  • Lenovo Yoga Book launched in India at Rs 49,990: First Impressions
    Lenovo  has ...
  • This $15 stand turns your Apple Watch into a mini Macintosh
    For all those  ...
  • Grow Hair Faster: How to Make Hair Grow Faster Naturally
    Every woman wants ...
  • MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    Mobikwik - Update ...
  • Fitbit Flex 2017 review
    Fitbit PROS ...

Random Posts

  • OnePlus 5T ‘Lava Red’ colour
    OnePlus 5T ‘Lava Red’ colour
    15.01.2018 - 0 Comments
    Soon users in India will be able to buy the OnePlus 5T in “Lava Red”, as the company has…
  • 28.03.2016 - 0 Comments
    How To Use Hydrogen Peroxide To Remove Blackheads?Are you tired of those blackheads on your face? Removing…
  • BlackBerry DTEK50 Review: Great Software, Lumpy Performance
    BlackBerry DTEK50 Review: Great Software, Lumpy Performance
    11.02.2017 - 0 Comments
    The BlackBerry DTEK50 is official and I’ve been using it for a couple of weeks… but was it worth…
  • iPhone 6S review
    iPhone 6S review
    17.03.2017 - 0 Comments
    Apple VERDICT Apple's done what we all expected - finely balanced its latest phone. 3D Touch is a…
  • Yellow Messenger Loot : Get Rs.20 Signup Bonus + Earn Rs.10 Per Referral
    Yellow Messenger Loot : Get Rs.20 Signup Bonus + Earn Rs.10 Per Referral
    25.02.2017 - 0 Comments
    Yellow Messenger: A new Virtual Assistant recharging platform has banged with a superb deal. Earlier…

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!