Skip to main content

How to use Utilities component in Kodular Creator?

 

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 or an wallpaper application in which we need to allow user to set or change wallpaper within our application to make it more convenient for user. So, it will be a very important factor in development of UI of our application.

This was about it's introduction now we would move to it's blocks to implement in our application.

Blocks:

1. Get wallpaper

Blocks

This block is used to call the event to get the current wallpaper image path of user's device.

2. Got wallpaper

Blocks
This block gives us the picture used as the current wallpaper in the user's device.

3. Clear wallpaper

Blocks
This is used to invoke the event to clear the wallpaper to system default wallpaper. This clear the custom set wallpaper in user's  device.

4. Wallpaper cleared

Blocks
This is used to call any action when device wallpaper cleared.

5. Set wallpaper

Blocks

This is used to call the event to set wallpaper of device. We need to provide image which will be set as wallpaper here.

6. Set lock screen wallpaper

Blocks

This is used to call the event to set a image as the lock screen wallpaper. We have to provide image here that is going to be set as lock screen wallpaper.

2. Image utilities

The main use of this utilities component is to load images asynchronously to our application. This component helps us to load images asynchronously which mean it prevent our application to load images preventing our application to stuck. In this we can load image from URL and file path of device. You will use this component to load images to any component.

Blocks:

This component has one block which will be used to load images asynchronously.Blocks

In this we can load images by using URL to any component such as Image, Buttons, Layouts, Canvas. So, just set this block to call to load any image to any component which is supported by Image utilities.

3. Device Utilities

The next component in our list is device utilities component. This component fetches information and specification of  the device in which application is installed. This has a lot of blocks which help us to get information about user's device.

Blocks:

Here we have all the blocks with their uses provided in Kodular Creator....

1. Internal Storage Blocks

Blocks
These blocks provide us the stats of the internal storage in gigabytes.

2. RAM Blocks

Blocks

These blocks provide us the current stats of RAM in the device in form of Gigabytes.

3. Prase Text

Blocks
This block provide us text between two strings from a given text in the text option.

4. Is app installed from play store

Blocks
This gives us true or false with reference to whether app is installed from play store or not.

5. External storage blocks

Blocks
These blocks provide us the stats of the external storage in the device in form of Gigabytes.

6. Is emulator

Blocks
This returns true if  device is emulator otherwise not.

7. Copy and paste blocks

Blocks
These blocks gives us access to the clipboard of device. First block copies the text to clipboard and the second one provide the text from clipboard.

8. Adb debugging

Blocks

This returns true if Adb debugging is enabled which makes our app close to hacking.

9. Dangerous apk installed

Blocks
This block returns true is device has installed any dangerous apk.

10. Get serial no.

Blocks
This blocks call the event to get the serial no. of device.

11. Got serial no.

Blocks

This gives us the serial no. of device. when call device utilities to get serial is invoked.

12. Get IMEI

Blocks

This is used to call the event to get IMEI of device.

13. Got IMEI

Blocks

This provide the IMEI of device when call device utilities to get IMEI is invoked.

So, these were the main blocks of Device utilities. There are also secondary blocks which you can also use. Now, we move to battery utilities component....

4. Battery Utilities

If we are developing an application which allow user to monitor the stats of battery of his device. For this we need to get the stats about battery. So, for this we have battery utilities component which monitors the device's battery. Now, we learn "How to use blocks of Battery utilities in Kodular creator?"

Blocks:

1. Battery Health
Blocks
This returns the stats of health of battery which can be COLD, DEAD, GOOD, OVERHEAT, OVER_VOLTAGE, UNKNOWN.

2. Battery level
Blocks
This block provide the level of battery in form of percentage.

3. Battery Plugged
Blocks
This gives whether the device is plugged into any power source. It can return USB, AC or UNKNOWN.

4. Battery present
Blocks
This return true if battery is present otherwise false.

5. Battery temperature
Blocks
This provide the current temperature of battery in centigrade unit.

6. Battery voltage
Blocks
This provide the voltage of battery in device as a number.

7. Battery info
Blocks
This provide info about different information about battery. Key is the key of info which is to be detected. Keys can be  HEALTH, LEVEL, PLUGGED, PRESENT, STATUS, CHARGE_STATUS, TECHNOLOGY, TEMPERATURE, VOLTAGE.  
If key is empty then all info is returned as a list.

So, guys these are the main utilities components provided in Kodular creator. I think you might have got how to use all of them. If you have nay confusion related to these components you can ask me in comments under this post. I will reply you within 24 Hours. So, this was all for today keep connected with learnwebs.online to get more tutorials helping you towards your android development journey.

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 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 make a stopwatch application in Kodular?

  How to make a stopwatch application in Kodular? So, guys we are back with a new tutorial. In today's tutorial we will learn making an app rather than learning to use any component in  Kodular creator. It has been time, since we  have provided a tutorial for making a android app in Kodular Creator Series. Hence, today we will  be learning How to make a simple seconds based stopwatch in Kodular. Here firstly we talk about some of FAQ's about Stopwatch in Kodular creator....... FAQ's about stopwatch App 1. Functions of this Stopwatch If you want to know the main functions of this Stopwatch application then we have how this app will work: 1. Firstly User has to start the stopwatch 2. Then he can pause or start the stopwatch. 3. User will be able to reset this stopwatch. 4. User can check timing upto 10 mini seconds. 5. User can easily use this app. 2. How will this app work? In this app we will use a timer component to record time and we will use button for start stop and re