[FREE] Countdown Timer – An Extension to add countdown timer in your apps
1. Introduction
Description: This extension allows you to show countdowns timer in your apps. This extension do not use any clock or time APIs to perform the countdown task. This extension show the countdown that is based on simple mathematics. It can be used in both offline and online way with different time servers. You can also fetch time of different or any server with that extension.
Latest Version: 4.0.0V
Released on: 03 December 2020
Updated on: 09 June 2021
Aix Size: 18KB
2. All Blocks
3. Documentation
This event raises when all the timezones from the API is fetched. API is WorldTimeApi.org | |
This event occurs when your countdown timer is finished | |
This blocks raises when you got time from web | |
This block return the list of 4 items that contains countdown timer | |
This block fetches the all timezones as I said above | |
This block return true if automatic time of the device is enabled With this block you can check if it is true then you can do the countdown with offline time | |
This block set the current timezone. It is updated now. Now you have to give the whole timezone i.e Asia/Kolkata. | |
This block define that which type of time you want to use in countdown. Like if you give here Online Time then it will use online time from API in countdown and if you give Offline Time here then it will use local device time for countdown. you can set it through properties. | |
I have added some timezones in property not all because they are 386 in total |
4. Usage
How to set timezone
It is very easy to set the timezone for a particular place.
You can set the timezon from property and through blocks as I have mentioned above. If you dont
know your timeserver then I have mentioned the API above you can use it. Also you can fetch the
timezones and use it in this way
How to set current time type
You can use offline time for countdown but it is hackable so we can use both types of time in countdown. Like when device automatic time is enabled then we will use offline time and when it is disabled then we will use online time from API in countdown. Look blocks
How to use the Countdown
People has a lot of confusion from where I have changed the return type of this block. So it is very easy to use. It return a List of four items that contains days,hours,minutes,seconds. You have to select them from that list and use it according to your needs. Like I have used it to text in a label first with some modification
Full Blocks
5. Demo
6. Downloads
File Name: com.sumit1334.countdowntimer.aix
7. Donate
If you liked my any work or the extension, you can support by donating some amount.
Paypal: paypal.me
UPI: iamwsumit@kotak
If you have any issue regarding the extension then you can contact me here
Thank you