EMI_Calculator

In this Post I will teach you how to develop Simple EMI Calculator Android App in Android Studio. By this you will also learn about how to design a layout in XML, what is EditText, how to get user input from EditText, how to use methods, how to use Android Click listener etc.,

Before starting the procedure we need to know Formula for EMI Calculation.

 

Here’s the formula to calculate EMI:

EMI Calculatorwhere

  • E is EMI
  • P is Principal Loan Amount
  • r is rate of interest calculated on monthly basis. (i.e., r = Rate of Annual interest/12/100. If rate of interest is 10.5% per year, then r = 10.5/12/100=0.00875)
  • n is loan term / tenure / duration in number of months

Note: Watch Video below for better understanding the code.

https://youtu.be/CBoR8dbFWKg

Procedure:

  • Create a new Android Studio project with name Simple EMI Calculator with blank activity.
  • After project load completely navigate to MainActivity.java and remove whole code except first line and paste below code after the first line.

  • Next open activity_main.xml and remove all code and paste below code into it.

  • Now add below lines to your strings.xml

Now Run the EMI Calculator app in Emulator and check it.

  • You can check my Easy Calculator app in PlayStore If you want template of my app easy calculator which has EMI Calculator, Discount calculator and percentage calculator you can buy it for 1$Easy Calculator Template

[wp_cart:Easy Calculator Template:price:1.00:end]