• 23 November

    Android Custom ListView with Images and text example

    In previous post, we have seen simple android ListView example. In this post, we are going to see Android Custom ListView example. So we will create custom ListView in which each list item will have Country flag, Country name and its capital in different font size as below. It is widely used in android apps […]

  • 21 November

    Android Custom SeekBar example

    In previous post, we have already seen Android SeekBar example. In this post, we will see how to create Custom SeekBar. If you follow Android SeekBar example , you will see below screen. We will customize above SeekBar and it will look as below after customization. If you want to customize above SeekBar , you […]

  • 20 November

    Android Splash Screen Example

    In this post, we will see how to create Android splash screen. Android splash screen is nothing but screen that appears when some background task (such as fetching data from database,loading images) is going on. These kind of task generally tasks long and at that time, we can show splash screen. Splash screen can be […]

  • 19 November

    Simple Android ListView example

    In this post , we are going to create simple ListView. ListView is the view in which you arrange your list items in vertical order. For example: It is very popular widget which is used almost in every application. In this post, I am going to create a very simple list view . If you […]

  • 19 November

    Android RatingBar example

    In this post, we are going to see about Android Rating Bar. RatingBar is android widget which is used to provide rating bar with star icons. You might have seen this RatingBar when any application asks for you to rate installed app. It is very easy to create Rating in Android. Just follow below steps […]

  • 19 November

    Android SeekBar example

    In this tutorial , we are going to see Android SeekBar example. SeekBar is extension of ProgressBar. You can drag cursor left or right to select correct value. It is generally used in setting brightness or music progress or setting sound. It is very easy to create SeekBar in Android. Just follow below steps to […]

  • 16 November

    Add internet permission in AndroidManifest.xml in android studio

    In this post, we will see how to add internet permission in android studio. When you are working on app which wants to access internet, you need to add extra permission in androidManifest.xml else your application won’t be able to access internet. So you need to put below code in AndroidManifest.xml file to access internet […]

  • 16 November

    OCAJP Encapsulation mock questions

    This is another post in the series of mock questions for . One of the exam objective is “Apply encapsulation principles to a class”. This exam objective tests your knowledge on how to write a class that meets the encapsulation principles and validate your understanding. I have prepared a set of good mock questions for […]

  • 15 November

    How to enable or disable Wifi in android programmatically

    In this post, we will see how to enable or disable Wifi in android programmatically. It is very simple to enable or disable wifi from android code. For enabling WiFi: [crayon-65f8f3bfcdd90541738590/] For disabling Wifi: [crayon-65f8f3bfcdd94242670131/] So you can enable or disable WiFi using WifiManger class. You need to add extra permissions in AndroidManifest.xml to enable […]