[Discontinued] Background Tasks [4.1] 🥳

It was a suggestion only, as he said he is willing to pay for it. Most of the developers here are in the same situation hence the reason they charge for the extensions.

1 Like

can this extension read and play mp3 audio within a kodular application, published on the play console?

1 Like

You can do most of the non UI things with the extension.


Right.
But that does not mean you can overcharge for your services.
However this completely depends on user that whom extension he wants to buy.

1 Like

If you took a moment and read my post properly, it was just a suggestion. Don’t buy it. You don’t have to. I only suggested it.

1 Like

Is it possible to create a component that will always be visible on screen above other applications (of the user’s choice)?

1 Like

Maybe using this extension help you: 🕊 Floating View: float your component. [FREE] 🕊

4 Likes

component_event

working with this block , please ? @Xoma

1 Like

I used resolve activity block, but still some of the permissions are not granted and showing error popup. i am testing on oppo F7 and its showing the error for permission denial for OPPO_COMPOENENT_SAFE for now i used permission block from screen property. but we don’t know which device users are using and which permission they need so how we can solve this.
Thanks

1 Like

The extension work is discontinued…

2 Likes

:pensive: :pensive:

1 Like

Means this having bug or it is complete now

1 Like

@Jinx It will just not have other releases and will not be maintained.

1 Like

Ok Thank You

1 Like

How to use this extension in MySQL Storing And Getting

1 Like

Please make video tutorials on ‘how to use these blocks’…i still don’t understand it fully

1 Like

Opened at OP’s request

3 Likes

Extension 3.0 A :hugs:

  • Re-continued the extension :smiling_face_with_three_hearts:

  • Added event blocks that can call functions.

  • Component support (The extension doesn’t let any component like (example: player) kill itself when the app stop or destroy)

  • Foreground support that will let you run apps like a music player!

  • Important: Stabilized much more! The extension supports firebase, other components like clock etc!


Demo tutorials

I have made some demo blocks that will work!

  • Web demo

Here are the demo blocks to work with a Clock, Web component, and Kodular’s default Notification component!
We get a “thought”/“quote” from the web every 10 seconds when the CELLULAR data is turned on and then show it in a notification!

(Make sure to use Resolve activity block!)

Demo video: Quotes app Background Tasks - YouTube
PerfectQuote(1).aia (455.9 KB)


  • Foreground music player

Here we play music from the music player in the foreground mode state so the music doesn’t stop or lag while starting or while the app is sleeping.

If you use self as a name and exit-foreground has a function name in the CreateFunction block that means we’re stopping the foreground service.

If you’re supplying true as the parameter, that means you want to remove the notification that appears while the service is running.

We register an event here for the music to end. When it does end, we will kill the music foreground service.


  • Firebase simple demo

    Here, after 5 seconds of latency, we will send a value to the firebase database of value tag text.


  • Upcoming features

    • Possible interaction with the main application from the service.
    • Periodic tasks (normal job service) that help you execute tasks frequently.
    • JSON input which will allow you to take the input tasks as JSON and execute it.

  • Question: Why we are calling the Initialize block of firebase?
    It’s because the firebase components need to re-initialize this way when we use it this way (dynamically).
    It’s the same for components like LocationSensor and others as well.

  • Question: Why components on UI thread?

    It’s because components like Firebase, Clock and other components MUST be created on the UI thread to initialize. This thread consumes a little more time to create components than default ASYNC. The extension will wait for the creation of the component as in the earlier(Ai2 thread) some days back issue.

  • Question: Will it work on Android 5?

    Yes, it should work, at least most of them. It may be late for the system to create a service but should work; as the test on Android 5.1.1


34 Likes

Wow. Finally it will be possible to write Firebase logic with java instead of javascript in webviewer <3

EDIT: Ok, you just show us an example for manipulating values of objects with your extension :smiley: By the way thanks for giving us opportunity to have background extension for free!

3 Likes