Before debugging and testing android application, you should create an android virtual device ( AVD ) to start a simulator. You can specify special configurations for your avd, and then start it for debugging and executing applications.
In android development, java class is commonly used to implement business logic process such as database access, send email, send short message etc. We always use one java class to encapsulate some related functions.
Activity is a very important component in android application development. It represents a screen which is used to interact with phone user. Commonly there are three important files for creating and use an activity: an XML layout file, a java class file, and AndroidManifest.xml.
This article will show you how to Open, Close or Save android studio project. It will also show you how to browse project folder or file’s physical hard disk directory in android studio.
This article will show you how to create a new android studio project. You should read article Setup Android App Development Environment first to learn how to install android studio in your computer.
When developing an android application, you always need to add images to it. This article will show you how to add images to your android application, there is also an example that will show you how to load and use the added images in the android application.
R.java is very important in android application development. It is used to identify all resources data such as id, layout, image, drawable resource etc. R.java is generated by android studio automatically. But it is sometime confused for developer to use it. This article will help you to resolve these problems about R.java you may encounter. …
When you finish your Android app coding and testing, if you want to publish it to google play store, you should create a publishable apk file. This article will show you how to create publishable apk file step by step.
When you execute an Android app after coding, you may always meet bellow error in device simulator. The simulator popup a dialog to tell you the android application has been stopped. If you are a newbie of android development, you may become very confused why this happened, what’s wrong with the code. Do not worry, …
Android activity is used to represent Screen. Normally one android app has more than one Screen ( activity ), but how to switch between them? This example will show you how to slip from one screen to another.