Category «Android Useful Examples»

Android – UI Testing Tutorial

Android SDK provides the following tools to support automated, functional UI testing on your application. uiautomatorviewer uiautomator uiautomatorviewer A GUI tool to scan and analyse the UI components of an Android application. The uiautomatorviewer tool provides a convenient visual interface to inspect the layout hierarchy and view the properties of the individual UI components that …

Android – WebView Tutorial

WebView is a view that display web pages inside your application. You can also specify HTML string and can show it inside your application using WebView. WebView makes turns your application to a web application. In order to add WebView to your application, you have to add <WebView>element to your xml layout file. Its syntax …

Android – LinkedIn Integration Tutorial

Android allows your application to connect to Linkedin and share data or any kind of updates on Linkedin. This chapter is about integrating Linkedin into your application. There are two ways through which you can integrate Linkedin and share something from your application. These ways are listed below. Linkedin SDK (Scribe) Intent Share Integrating Linkedin …

Android – Loading Spinner Tutorial

You can show progress of a task in android through loading progress bar. The progress bar comes in two shapes. Loading bar and Loading Spinner. In this chapter we will discuss spinner. Spinner is used to display progress of those tasks whose total time of completion is unknown. In order to use that, you just …

Android – Localization Tutorial

An android application can run on many devices in many different regions. In order to make your application more interactive, your application should handle text,numbers,files e.t.c in ways appropriate to the locales where your application will be used. The way of changing string into different languages is called as localization In this chapter we will …

Android – Clipboard Tutorial

Android provides the clipboard framework for copying and pasting different types of data. The data could be text, images, binary stream data or other complex data types. Android provides the library of ClipboardManager and ClipData and ClipData.item to use the copying and pasting framework.In order to use clipboard framework, you need to put data into …

Android – Custom Fonts Tutorial

In android, you can define your own custom fonts for the strings in your application. You just need to download the required font from the internet, and then place it in assets/fonts folder. After putting fonts in the assets folder under fonts folder, you can access it in your java code through Typeface class. First …

Android – Data Backup Tutorial

Android allows you to backup your application data to remote “cloud” storage, in order to provide a restore point for the application data and settings. You can only backup your application data. In order to access the other applications data, you need to root your phone. In order to make a data backup application, you …

Android – Developer Tools Tutorial

The android developer tools let you create interactive and powerful application for android platform. The tools can be generally categorized into two types. SDK tools Platform tools SDK tools SDK tools are generally platform independent and are required no matter which android platform you are working on. When you install the Android SDK into your …

Android – SQLite Database Tutorial

SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to access this database, you don’t need to establish any kind of connections for it like JDBC,ODBC e.t.c Database – Package …