[FREE] V2 Updated Countdown Timer Extension - An Extension to perform countdown in app

There are many open source extension also i have published two open source extension why you does not visit them and search on community there are many extensions with their java

2 Likes

But i wanted source code of this one.

2 Likes

Sorry I cant give you

2 Likes

IMG_20210112_183441

Use this very simple block to get online clock.

It needs 3 label, 1 web component and clock

Use this url in web component
>>Current Local Time in Cuddalore, Tamil Nadu, India<< (you can chnge your city name here)

Thats all… You wilk get online time without problem

3rd label will get the timeIMG_20210112_191212

After India you can add your city name

www.timeanddate.com/worldclock/india/cuddalore

2 Likes

you forgot to tell us the Url you are using for that example…
Taifun

4 Likes

I added the url but it turn into a hyperlink, even i added * also >> symbols but doesnt work.

Pls click on the url and copy it from the addres bar Dear Taifun…

1 Like

I fixed it for you…
and next time use the preformatted text option
preformated text

Taifun

1 Like

You can get all continent with their timezones from this link

worldtimeapi.org/api/timezone

Extension updated Now you can get time of any timezone
Thanks you for using my extension
Before uploading the new one please delete the older extension because I have changed the package now

2 Likes

nice extension :ok_hand:t2:
in latest version, there is no such block named Got_Countdown
then how to show countdown working in a label? like this

2 Likes

Now get countdown method block is returnable so it return the yaillist of time

1 Like

can you please explain this? :sweat_smile:
we can still compare the time right? and can also show a live countdown?

2 Likes

Great Extension @iamwsumit
:+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1: :+1:

The list of countdown time that returns by got countdown block now it is removed and it is returned in get countdown block
image

Check this block

2 Likes

yes but it just give us the remaining time and the values doesn’t change, maybe I doing something wrong here
this is how I am using it

Also this method gives me error if the time which I want to compare is already finished

EDIT: oh I get it now, we have to get the time again and again using a clock to make it work like a countdown, right?
If that’s the case then, I think this is not a good thing to do, bcoz if we disconnect the internet then the countdown will be stopped or will give error

2 Likes

You should compare the time on screen initialise with offline time if it is equal then you must use offline time by clock for countdown timer

2 Likes

Version 3 Block Added

New Block

image

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

Kindly update the extension for best work in your app
Thank you

9 Likes

Nice update.

1 Like

Hey buddy
Can you please share the pic of use of new extension .
Its very important to me. Please share ASAP.ITS A REQUEST

Please do not use caps, no need to shout ! Also the developer already provided blocks and test aia in the beginning of this topic

4 Likes

Version 4

Version 4 of this extension contains some new blocks and the extension has updated now fully.

Block Updated

component_method(16)

This block has now changed due to @Santhosh request. Now current time parameter has changed , now you dont need to give the current time anymore.

component_event(8)

This event raises when all the timezones from the API is fetched.
API is http://worldtimeapi.org/api/timezone/

component_method(17)

This block fetches the all timezones as I said above

blocks(34)

This block set the current timezone. It is updated now. Now you have to give the whole timezone i.e Asia/Kolkata.

blocks(33)

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.

Properties

image

I have added some timezones in property not all because they are 386 in total :sweat_smile:

How to use

I have recieved three consecutive pms about how to use this extension. This extension is very simple to use but they are facing issue with it. So today I am providing the usage of latest version here.
I hope @Santhosh , @Andy_0310 It will help you.

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

image

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

image

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 Lit\st 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

Whole Blocks

Output

image

Updated Files

App:- Countdown.apk (5.4 MB)

Aia:- Countdown.aia (51.2 KB)

Extension link is at the above topic. Download it from there

So I hope now that your all doubts are cleared now with the usage of this extension.
I have worked very hard on this update so please like the extension.
Kindly update the extension for best work in your app
Thank you
Sumit.

15 Likes