Android, an open source operating system for mobile devices (Smartphone and tablet), led by Google. The Android SDK provides a set of tools and APIs to develop Android applications, using Java. So, if you know Java, Android programming are easy:)
In this series of tutorials, we show you the list of basic tutorials to get the start program Android easily.
Note
All Android tutorials is developed in
Eclipse 3.7, and tested with
Android 2.3.3.
P.S This is just the initial version of Android tutorials, would keep publishing more in the future.
1. Quick Start
Get your start in Android programming.
- Android Hello World Example
Tools and SDK to develop Android applications.
2. Fundamentals
Some Android Basic stuffs.
- Android Activity Example
Understand Android's activity, a simple example-navigate from one-screen (activity) to another-screen (activity).
- Android Wrap_content and Fill_parent example
The different between wrap_content and fill_parent to control the component ' s width and height.
- Attach Android Source code to Eclipse IDE
Android source code is important to understand how Android works, a guide to attach Android's source code to Eclipse IDE.
3. User Interface Controls
Play with Android UI controls.
- Android Button Example
Use the "button" to the display a simple Button.
- Android TextBox Example
Use the "EditText" to the render an editable textbox component.
- Android Password Example
Use "EditText" + inputtype= "Textpassword" to render a password component.
- Android CheckBox Example
Use ' checkbox ' to render the checkbox component.
- Android radio Buttons Example
Use "RadioButton" and "Radiogroup" to render radio button component in the group.
- Android Toggle Button Example
Use the "ToggleButton" to the render a button which have only the States (on and OFF).
- Android Rating Bar Example
Use the "Ratingbar" to the render a rating bar in stars icon.
- Android Spinner (drop down list) example
Use the "Spinner" to render a drop box for selecting items.
- Android Date Picker Example
Use "DatePicker" and "Datepickerdialog" to render a date picker component.
- Android Time Picker Example
Use "Timepicker" and "Timepickerdialog" to render a time picker component.
- Android AnalogClock and DigitalClock example
Use "AnalogClock" and "DigitalClock" to render a clock like component, which supports hours, minutes and seconds.
- Android Progress Bar Example
Use the "ProgressDialog" to the display a progress bar in dialog to the tell us, your task takes time to finish.
- Android Alert Dialog Example
How to display an alert box.
- Android Prompt Dialog Example
Custom Alertdialog Example.
- Android Custom Dialog Example
Custom Dialog Example.
- Android Toast Example
Custom Toast View example.
- Android ImageView Example
Use the "ImageView" to the display an image file.
- Android ImageButton Example
Use the "ImageButton" to the display a button with a customized background image.
- Android ImageButton Selector Example
Use "button" and "selector" tag-to-display buttons ' images depend on the button states.
4. Layouts
Play with Android layout controls.
- Android LinearLayout Example
Most common layouts, arranges-in horizontal or vertical order.
- Android Relativelayout Example
Most flexible layouts, arranges components based on the "relative" or sibling component.
- Android Tablelayout Example
Most flexible layout, arranges-in row and column format, just like HTML table, <tr> and <td>.
- Android ListView Example
Display components in a vertical scrollable list.
- Android GridView Example
Display componenets in a two-dimensional scrolling grid.
- Android WebView Example
Allow your to open a own windows for viewing URL or custom HTML markup page.
5. FAQs
Some Common asked questions in Android.
- How to open a URL in Android ' s web browser
- How to set the default activity for Android application
- How do a phone call in Android
- Where to download Samsung Galaxy S2 USB driver?
- Android Debugging on Real device
- Android–how to center button on screen
- How to turn on/off camera led/flashlight in Android
- Android:how to check if device have camera
- How to send SMS message in Android
- How to send mail in Android
- Android:the connection to ADB are down, and a severe the error has occurred.
References
- Android Developer
- Android Fundamental
- Android in Wikipedia