• 14 November

    Get battery temperature in android programmatically

    Sometimes when you are developing an android application, you may want to get current batter temperature For example: Lets say if battery temperature is too high, you may want to close some application. In this post, we are going to see how to get current battery temperature in android. Source code: Download click to begin […]

  • 09 November

    get battery level and state in android programmatically

    Sometimes when you are developing an android application, you may want to get current batter level or state. For example: Lets say you want to make a rule that if battery level is less than 15%, turn off all background processes in android. In this post, we are going to see how to get current […]

  • 09 November

    Create first android app using Android studio

    In this post, we are going to create first android app which will show result of multiplication of two user input numbers. We have already created Android hello world example before but it was too basic. We are going to design our screen as below: We are not going to put much validations here. We […]

  • 07 November

    Android Project Structure in android Studio

    In previous post, we have created hello world android application. In this post, I am going to explain structure of android application to understand it better. When you created android application, your folder structure will look similar to below. Lets understand above folder structure. ApplicationManifest.xml: ApplicationManifest.xml resides in src/main/. Every application should have ApplicationManifest.xml in […]

  • 06 November

    Android Hello world example using Android Studio

    In previous post, we have setup android studio and SDK. In this post, we will create Android hello world app. Once you are done with Android studio download and installation, you will see below screen. Click on “Start a new Android studio project”. You will see below screen. Application Name : You need to provide […]

  • 06 November

    Android development tutorial : Installing Android Studio and SDK

    In this post, we will see how to install android studio and get started with android development. I will provide guidelines to install android studio on Mac OS but it will be very much similar in case of windows or linux too. We will divide this post into three parts. Setting up java JDK Downloading […]