TextView with link in ANDROID…….
Hi all……. All of you may be familiar with TextViews in ANDROID. But how many of you know that we have have html as text in a textView. This post is a simple example to show this. Create a fresh project...
View ArticleHow to use Global variables in ANDROID?
Hi all……. In today’s exampl e I will show you how to deal with global variables in ANDROID. You know global variables are those variables that you can access across any variables. It’s value becomes...
View ArticleGlobal variables in ANDROID……
Hi all……. In today’s exampl e I will show you how to deal with global variables in ANDROID. You know global variables are those variables that you can access across any variables. It’s value becomes...
View ArticleHow to show progress bar while loading a webpage in android?
This is a simple example showing how to load a webpage and show a progressBar while the page is loading in android. For that you have to set a chrome client for the webview which implements...
View ArticleHow to add markers on our desired location in Google Maps Android?
In the last few posts I have showed some examples of how to work with Google maps. In this post I will show you how to add a marker in our desired position in the map. Adding something on top of a map...
View ArticleCustom Alert in android.
We can create any type of alert in android. Today I will show a simple example showing how to create a custom alert in android. i.e you can provide any layout to your alert dialog. Now we will start....
View ArticleCreating a custom Sliding GalleryView with Paging in android
This is a simple example showing A sliding Gallery in android. This example shows a sliding gallery with a paging Control and a changing page text which also indicate the page change. Create a new...
View ArticleHow to create a Scrolling Text (marquee) in android using TextView?
OK At first we will create the XML that contains a TextView. marqueetext.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"...
View ArticleHow to load a spinner with values from SQlite Database in android?
Here is a simple example showing how to load a database values in a spinner in android. OK we will start. This is the layout for the spinner row. spinner_row.xml <?xml version="1.0"...
View ArticleHow to store an Image from Android to a SQlite and retrieve it?
Hello all… In today’s post I will show you how to store an image in an SQLite database and retrieve it. Check out the output after running the program. This is the layout for the MainActivity....
View ArticleSnackBar and Floating Button Demo in Android
Snackbar is a UI element used for user feedback, just like a Toast except they provide action to interact with. Snackbar will be displayed at the bottom of the screen and can be swiped off in order to...
View ArticleMaterial Design Circular Reveal Animation Demo in Android.
Material Design has changed the way users interact with the apps. Reveal is a new animation introduced in Android L that animates the view’s clipping boundaries. Reveal animations provide users visual...
View ArticleWhat is ButterKnife?
What is ButterKnife? Its a kind of view injection in Activities or Fragments using Annotations. Butterknife can be used to 1. Bind Views 2. Bind Clicks 3. Can be used with resources like strings,...
View Article
More Pages to Explore .....