[Discontinued] Background Tasks [4.1] 🥳

I’ve been trying to do this for weeks.

i’m also trying to save the location in firebase, but it doesn’t return anything.

I can upload the location using the com.avmcreators.IpTracker.aix extension, only it sends me the location by IP and not the actual location the person is currently at.

If anyone can help, thank you very much.

yes, the iptracker does not give you the exact location.
I’m going to try using the google maps component like you.
It worked for me, but it is not stable, sometimes it works and sends the location every minute (ignoring the block of three seconds that I put) and sometimes it does not work.
Now I’m going to try another way to do it, since Xoma is not responding.
If I am successful, I will tell you.

1 Like

I appreciate it.
If you can let me know, as I’ve been trying to solve this problem for 3 weeks.

1 Like

I’ll be trying to integrate another method to get user location i.e latitude and longitude.

It would be great, we would be very grateful.
Because this extension is very good and with this implementation it will help even more, not only us but the whole community as well.

what do you have in mind?

I believe google map extension only can you users current location

@dennis_littawe1542 Can you try with a different event?

@fernando_soliz, @Carloslirio

There could be many things it’s not working, specific components like Firebase need to set the default property (Default URL) and call the Initialize block on it. It seems to be a problem here.

These types of problems cannot be directly fixed.
The next update adds a little feature to see all the public methods (like also DefaultURL for firebase) to avoid problems.

so can’t make the location sensor work in the background?
I tell you that with my blocks, it works, but it does not always do it, it is not stable. And I do not understand why.

1 Like

Can you please explain more what is not stable?

Sorry if I explained wrong. the problem I have is that when I start the task, the location sensor does not start, and therefore it does not send the latitude and longitude to firebase. So, I cancel the task and start over, over and over again, until I get the location sensor to work. I was referring to that when I put q is not stable. With the pedometer this does not happen, it works perfectly on the first try. What do you think could be happening?

When I get home I will try to use the location of the sensor, but without the LocationChanged event, but I still have doubts about how to send that information as a value to firebase. Should I create a locationsensor function for latitude and then invoked with the extra make block to send it as a value to firebase? or is that absurd?

@Xoma hello, what do you mean by an event? can you show me an example

yellow blocks of components are called as event in java

1 Like

How to make a Hotspot configuration app with Background Task Extension?

Do something for it please @Xoma.

1 Like

Hello Guys,
I couldn’t familiar with this extension. I am creating job vacancy app. For that at death line app must send alert notification using notification style extension. So please help me to find correct blocks and method

Thanks in advance
Thuvaresh

Hello, @Xoma could you tell me please how to activate the location sensor? Or tell me if you can’t so I don’t keep trying something that can’t be done. thank you and sorry for the inconvenience.

That is actually possible to do, it does not always work we way we think, additional things are required. You should stop trying it because to fix that you will require knowledge of how things work.

You shall wait for the next update :slight_smile:

1 Like

I am interested in learning how things work, What additional is required? the location sensor does not work the same as the other sensors? Could you tell me where to read the documentation? What will change in the new update? Will it be easier to implement? thanks xoma.

1 Like

Xoma can you please edit your documentation and make a list of how each blocks of background task is compared with component blocks in builder , this will make newibie and confused person to get things easily , I know that it will also be easy for person if they learn java but this will saves time for instant apps.

You can check how I have compared blocks at

This is just my suggestion to make this extension easy :slightly_smiling_face:.

3 Likes