How 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 draw Arcs in Android using canvas?
This is a simple example showing how to draw Arcs in android, You can use this to create piecharts or someother similar thing you want. Here we have 3 classes. 1. GraphicsActivity.java 2....
View ArticleUsing DialogFragments in Android – A Simple example.
You can click on the links to download the code. A little on Dialog Fragments A fragment that displays a dialog window, floating on top of its activity’s window. This fragment contains a Dialog...
View ArticleHow to create layouts that change according to the phone and Tablet in...
Hello all….. This is a simple tutorial to show how to create a FLEXIBLE UI for both Phone and Tablets in Android. In the figure below you can see the result after running this tutorial. Tablet in...
View ArticleHow to create layouts that change according to the phone and Tablet in...
Hello all….. This is a simple tutorial to show how to create a FLEXIBLE UI for both Phone and Tablets in Android. In the figure below you can see the result after running this tutorial. Tablet in...
View ArticleHow to get a return value from a DialogFragment? or Using DialogFragments in...
Hello all…… This post examples how to get an edittext value from a dialog fragment. You can use the same method to get a button click from a dialog or events like that. You can click on the download...
View ArticleFlipCard animation using Fragments in Android.
Hello all I am back with fragments again. I know you have seen a lot of posts on fragments and fragment animation. This one will be another useful post for you. This post helps you to show a FlipCard...
View ArticleCustom Transitions in ANDROID.
Here we are going to create custom transitions for a fragment. We will create transitions using Java classes by extending the Transition Class in Android. ChangeColor.java is the java class that...
View ArticleSwipe Refresh ListView using ListFragment and SwipeRefreshListFragment in...
This demo shows How to use Swipe to Refresh in ListViews and ListViewFragments. You can download the complete Android Studio Source Code at the end of the Post. 1. Using ListFragment package...
View ArticleHow to enable Default Layout Animations in Android?
This Activity shows a simple layout animation. Here we add a new Button to the layout with “APPEARING” animation. You can have a variety of Default animations. Activity package...
View Article
More Pages to Explore .....