This is a growing list of Android tutorials for beginners, as well as common Android and Java errors with solutions. These tutorials assume basic knowledge of the Android Studio or Eclipse IDE (with Android Development Tools). They also assume that you know where to put your code.
Tips:
‘import’ statements are placed at the top of the .Java file of your app’s user interface.
Whenever manipulating a View object, the procedure in which you access it must have a View [ViewName] (without the brackets) declaration in the first set of rounded brackets ().
For example:
public void GetTextFromUser(View ViewName) {//your code goes here}
The View widgets include, but are not limited to the:
- EditText.
- ListView.
- ExpandableListView.
- TextView.
- Button.
- Switch.
- ImageView.
- ImageButton.
- ProgressBar.
- RadioButton.
- RadioGroup.
- The Simplest Way To Implement An EditText In Android.
- The Simplest Way To Implement An Android ListView.
- How To Send A GET Request.
- How To Send A Post Request.
- How To Copy Data To The Clipboard in Android.