In earlier tutorial we've learned about shared preferences, which allows us to save key-value pairs of data. However, sometimes we might prefer to use the traditional file system to store our data. Android's internal storage is one of the solution for that, as it allows us to store private data on the device memory.
Thursday, September 19, 2013
Tuesday, September 03, 2013
In earlier tutorial we've learned about sending email from android emulator. Besides of sending email from android emulator, we can also send email programmatically from our own application. To send email from our application we need to use Intent.ACTION_SEND. It's a native android action that can call an existing email client to send an Email.
Sunday, September 01, 2013
Often times in android applications you needs to save certain information in between launches of the application. In this could be things like user settings about how they like to view and how they want to interact with the application , or any type of information that needs to persists once the user closes the application. One of the best mechanism to do that in android is the shared preferences API.
Sunday, May 19, 2013
JSON is the best alternative to XML for storing and exchanging text information. Android includes the json.org libraries which allow to work easily with JSON. In this tutorial you will learn about how to work with JSON in Android.
Wednesday, May 15, 2013
Thursday, February 28, 2013
In this tutorial we'll learn about how to develop android UI using styles and themes. Basically styles and themes allow us to separate the design from the content. Styles are like CSS (Cascading Style Sheets) in web design. A style can be applied to an individual View while the theme is a style applied to an entire Activity or Application.
Monday, February 11, 2013
In earlier tutorial we've learn about radio buttons which allows user to select an option from a set, but what if the user need to select more then one options? Checkboxes solve this problem by allowing the user to select one or more options from a set. Like radio buttons, checkboxes not organized in groups. In simple words checkboxes are 2-state toggles that can be on/off or checked/unchecked.