Now open up (activity_main.xml) and you will notice a textview with (Hello World), remove that textview and add a button instead like this:.Once loading is complete, Android Studio will show you 2 files: (MainActivity.java) & (activity_main.xml).Then click finish and wait for Android Studio to create the project.Activity name is the java class and you will be writing java codes, while the layout file is an XML file and is where you will be working with UI part of the app.Finally will be (Customize the activity) page where you will be able to change the activity name and the layout file.Next page will be (Add an activity to mobile), here it will show you different types of activity that you want to start with but for this tutorial will choose (Empty activity).Note: If you want to target minimum SDK based on the number of usage, you can check out Android version distribution In the (Target Android device) page you are asked to choose which platform you want to develop, in this tutorial will check the box that says (Phone and tablet) and then we choose the minimum SDK that our app will support.Project location: This will show you where this project will be saved in your computer.įigure (1): Package name for Facebook app in Google Play store.If you don’t have one you can use an for testing, but when you are about to officially launch your app you will need to have a domain name.Company name: This will be your company domain name in reverse format as shown in figure (1).Application name: This is the name of the actual application that will show up below the app icon in your phone.In this next page you will need to provide the following info about your application:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |