Lets get set up

You could use eclipse to program an android app because android is essentially Java based, however, I suggest you use Android Studio as it is now (since 2013) the official integrated development environment for the android platform.
I will be using android studio for the tutorial and screen shots.
To get Android Studio go here and go through the installation process.
If you are interested on getting more familiar with Android Studio before following my tutorial, go here.
Now that you have android studio loaded on to your machine, lets start our new project.
  1. Open android studio and select start a new Android Studio project.
     
  2. Choose an application name. I used the letters WBP for Wanna Be Programmer, you could put whatever you what as a name.
  3. Company Domain. You could put anything you want as long as its unique. This will be used by Android Studio to generate a unique package name so that you could publish your app on Google Play.
  4. Project location. Pick a spot on your computer where the files for your project will be stored and click next.
  5. The target Android Devices screen is displayed. Check Phone and Tablet and choose the minimum API level that you want to target with your app. For this app I chose API 14. Click Next.
  6. The Add an Activity to Mobile screen is displayed. Choose empty Activity and click next.
  7. Customize the Activity screen is displayed. Change nothing and click finish.
  8. The project will be created and you will have a basic “Hello World” app.  You will see 2 opened tabs. activity_main.xml which basically is the xml code that makes up the views (design and widgets displayed on the phones screen) and the tab MainActivity where the Java code is entered to control the flow of the app.
  9. Now you could run the app to see what it looks like. To run the app, press (Shift + F10) or press on the green arrow shaped like a triangle.

Comments

  1. Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is fantastic, let alone the content!
    Top 10 Lottery Management Software Development Companies and Lottery Software Providers 2022–23

    ReplyDelete
  2. Your writing skills make anything interesting. I am going to apply all tips that you have mentioned in your post, they could be helpful for anyone.
    mobile app development company

    ReplyDelete

Post a Comment

Popular Posts