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

Kodular Basics- Getting started with Kodular

What Is Kodular? Kodular is a online software which allows us to make android apps without any programming knowledge. Kodular's enable us to make fantastic android apps using their blocks-type editor.We can make our apps stand out with the material design UI. Using Kodular we can make android apps just by dragging and dropping components provided in Kodular Creator.We also need not to write any code to make our app working. We just have to specify blocks in kodular creator and we are out of the tension to write Codes. Getting Started With Kodular :   For making apps you just need to go to Kodular's Creator and sign up there with your email and activate your account.You can create Kodular account and make apps for free. There aren't any charges to use Kodular Creator. So just go Kodular.io and sign up there and start happy coding and app making.  Kodular Dashboard: After you have signed up for Kodular creator,select the option "Create Apps" and you will be redirect...

How to use Youtube Player in Kodular Creator?

  Welcome guys, today we are back again with our Today's tutorial on "How to use Youtube Player in Kodular Creator?". Now, let's directly start our tutorial without wasting any more time in Talking... How to use Youtube Player in Kodular Creator? 1. What is Youtube Player? Youtube Player is a component given in Kodular creator which we can implement in our app for free. This component enables us to play any video uploaded on youtube in our app.For playing any Video we only need the video ID of that youtube video which is found in the url of the video. This is like a video player in which we can play and control any youtube video without opening URL of video in Webview and which improve our app UI and UX. 2. Why Youtube Video Player? We use Youtube video player because of many benefits some of them are described as below: 1. To show any tutorial for our app. 2. Can control our app better. 3. This is a UX improving Component. 4. No need to get specific server if we need...

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...