Skip to main content

Making our first Simple Interest Calculator in Kodular.

 

Making our first Simple Interest Calculator in Kodular.

Welcome back, we are now going to start our first project tutorial in Kodular "Interest Calculator". So,let's directly get into it.

Uses of Interest Calculator:

A interest calculator is used to calculate interest on some principal. Calculating interest in simple calculator is not easy but if we have just to enter Principal,rate and time(per year)then it would be so easy.Therefore, we are going to make a simple interest calculator to understand the simplest concept of Kodular made apps. Here, we are going to use Simple Interest and rate for per annum.

How to make Simple Interest calculator:

1. Create a new project and set Name for your calculator:

How to make Simple Interest Calculator in Kodular.

2. Now configure Settings for your project and give package name for your Project:

How to set theme for android app?

3. Now you will be on your main screen (Screen1)Project Page.Set your colors for your status bar, accent colors and configure your settings for your Screen1. You can also set the title invisible and write something about screen 1 in About screen option. Also set align horizontal and align vertical to center.

Kodular project builder

4. Make design and UI for accepting information from user:

UI design for android calculator app...


How to Design UI:

1. Drag and drop a Label and write name of your calculator for this label text.(Note: The text can be changed from the label text option in the Properties option of label.
2. Now add a space element  under the Calculator Name label As seen in the above image to make it good looking.
3. Now again add a label and set text as Principal and add a text box from UI option in the sidebar. Textbox can be dragged from sidebar, it is located in the last 2nd option in UI options.
4. Repeat this and add two more textbox and labels for Getting input from user for rate and time for getting amount after adding interest.
5.After completing the above steps now add a button which on click will show the result.
6.Now add a horizontal arrangement and set it's default horizontal and vertical align to center and add two label as shown in above image.(Note:Horizontal arrangement will be in Layouts option.)

Now rename the components so that we could easily differentiate between components.
After you have renamed the components we are going to work on the block section.So, just click on the blocks button available on right corner and you will on the blocks editor section.

Blocks Editing:


We have to set blocks like this:

Blocks for Simple interest calculator


 Steps in Berief for arranging Blocks:


1.Click on The button which you used to show answer on click. Get the block button _ .click and drag it to the viewer.
2. Click on the label on which you want to show the Answer. Drag the block "Set _(Name of label) .text to " and drop on the Block when button _ click to attach block with it.
This will do that when you click on the button it will set the label text to=
3. Now click on the math option given in built in blocks. Find the addition block and drag and drop the block and attach the set label_  .text to with it.
4.Then,click on the the Text box where you will get the principal amount from user and drag and drop the "Text box. text " to attach with the first blank option addition block.
5.Then,again click on Math and drag and drop two blocks which are multiply and divide two numbers.
6.Set the multiply block in the second blank box in addition and click on the gears option available on multiply block and add a block in it.
7.Now set the blocks as shown in picture and you are all done.

Export this project and download it to your android mobile phone and use your calculator to get  simple interest amount, Just joking....
You guys have successfully made your first calculator app in kodular.

That was for today's article keep connected with Learn web to learn more about Kodular app making......

Happy Koding....


Comments

Popular posts from this blog

How to use Utilities component in Kodular Creator?

  How to use Utilities component in Kodular Creator? Welcome back guys to Learn webs online. As you may have seen in above image, in today's tutorial we will be going to learn to use the utilities components in Kodular Creator. These components will surely be useful for your future projects. In today tutorial we will learn to use these four utilities components. These are the main utilities components in kodular creator. There are also another utilities components which we will learn to use in further tutorials. So, let's start our tutorial without waiting any more..... 1. Wallpaper component Introduction: This component can be found at the last position in the utilities components under utilities option in sidebar. As you can understand by it's name this is used to access the wallpaper settings of user's device. This is very useful component while developing a app in which we allow user to change or modify wallpaper within the application. This app may be a browser app

How to use dynamic component in Kodular Creator ?

How to use dynamic components in Kodular Creator? Welcome back my dear friends, today we are back again with a complete new tutorial. Today we are going to learn How to use Dynamic components in Kodular Creator? As of all our tutorials I assure you you will find this tutorial very useful while developing any of you application which the no. of components are not fixed. So, we use dynamic components to add as much as number of components as we want. So, here we start our tutorial with some of FAQ's that will help you to learn what is concept of dynamic components if you didn't understood "What does dynamic components mean?"  FAQ's about Dynamic components 1. What are dynamic components? Dynamic components are the components which allows us to show as much as number of components in our application as we want. So, that we need not to update app to add any component in our application. This is useful when we are developing any application like Shopping application in

How to use KIO4 gradient in Kodular?

  Welcome to learn web, today we are back with a completely new tutorial on Kodular Basic-to -Advanced app making.Today topic for our tutorial is that how to use Gradient effect in Kodular app making for any layout. How to use gradient colors in kodular app? For this you need to use a extension named "KIO4" gradient.So,before starting you need to get this extension before we start our tutorial.To get this click on link below: My Drive Link This is the google drive link for the KIO4 extension. I think you might have got the extension.So, we start our tutorial on how to use gradient effect Kodular apps. Step 1:Open your Project in which you want to use gradient Effect.Then click on the extensions button in the bottom of left sidebar and click on import extension.Now select the KIO4 gradient file and click on Import after some time your extension will be processed and imported to your project. Illustration: Once you have Imported the KIO4 extension you can see the extension as s