Android AbsoluteLayout is a layout type that allows you to position your views in the screen using the X, Y coordinates. That is you can specify the exact location of its children by using x and y coordinates. Android AbsoluteLayout What is a layout in android?. What are all the different types of layouts in […]
Sample Codes
Android GridLayout Tutorial
Android GridLayout places the views in a two-dimensional rectangular scrollable grid (rows and columns). Android GridLayouts in XML Resource Files What is Layouts in android ? What are the different types of layouts in android?. I have already discussed tutorial on different types of layout in android. Android GridLayout is declared within an XML file […]
How to fix Internet connection Problem in Ubuntu 16.04
Do you have internet connection problem in Ubuntu 16.04 ?. This is a simple tutorial to solve internet connection problem in your Ubuntu 16.04. How to Open a Terminal Window in Ubuntu Click the Dash button. You can find this in the Launcher bar, and it has the Ubuntu logo. Type terminal and select […]
Android RelativeLayout Tutorial
Android RelativeLayout as the name says, position the views in the screen or in the activity with respect to the other components or relative to each other. Android RelativeLayout is a view group that arranges the child views or UI components in relative positions. In Relative Layout, you can use attributes “above, below, left and […]
Android LinearLayout Tutorial
What is a Layout ? A Layout specify the alignment of widgets (such as Text, Buttons, EditText box) as we can see in our Android Application screen or activity. All the visual structure we see in our android app is designed using different Layouts in android. I have already discussed the different layouts in android […]
SQLite Database example in android
What is SQLite database? SQLite database is open source relational database management system in android. It is self-contained, serverless, zero configuration and transactional SQL database engine. SQLite is a SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite is a lightweight database, […]
Android Broadcast Receiver tutorial
What is Android Broadcast Receiver? A broadcast receiver is an Android application component which allows you to register for system generated events or application events. All registered broadcast receiver for a particular event are notified by the Android runtime once the registered event fires. The Broadcast Receiver’s job is to pass a notification to the […]
Android Service Sample code for Playing Default Ringtone
What is Android Service? Android Service is a process runs on background indefinitely, but the special thing is about the android service is it doesn’t need user interaction. Android Services Examples are like playing music in background. It is a long running process in the background. In this Android Service Sample code for Playing default […]