[APP][Tasker Script]Reject the call and dial back option on the answering screen

InfX

Senior Member
May 1, 2008
885
216
73
The script should show an extra "button" while the phone is ringing. Sliding your finger right over this button will disconnect the call and redial it back right away.

I did this because of the switching to an "unlimited minutes" plan, while some of my friends that call me are on some very expensive ones. This allows calling such a person back in one single swipe.

Attaching the tasker xml as well as an exported "application". Please note, those "applications" are a new tasker feature i am not very familiar with, i have no idea of what are the dependencies of those, why it puts what it puts in the manifest, how the implementation looks etc. If you install that apk, you do it at your own risk. All i did was exporting the same tab into both xml and apk from tasker, i did not code a single line in Eclipse to make it, nor i've signed it myself.


PS: Not sure if this is of any interest to anyone, but i've decided to share anyway.
 

Attachments

Last edited:

cinciopillo

Senior Member
Apr 13, 2010
505
104
0
Bergamo
The script should show an extra "button" while the phone is ringing. Sliding your finger right over this button will disconnect the call and redial it back right away.

I did this because of the switching to an "unlimited minutes" plan, while some of my friends that call me are on some very expensive ones. This allows calling such a person back in one single swipe.

Attaching the tasker xml as well as an exported "application". Please note, those "applications" are a new tasker feature i am not very familiar with, i have no idea of what are the dependencies of those, why it puts what it puts in the manifest, how the implementation looks etc. If you install that apk, you do it at your own risk. All i did was exporting the same tab into both xml and apk from tasker, i did not code a single line in Eclipse to make it, nor i've signed it myself.


PS: Not sure if this is of any interest to anyone, but i've decided to share anyway.
Very useful, thanks.
I addedd a button to reject the incoming call and send a courtesy SMS to inform that I'm busy now and I recall as soon I can.

Just a question: I didn't find the association between swipe to right and scene (rectangle or whatelese).
Is it possible to add the association between a swipe to left gesture too?
How can I associate a gesture (not a tap or long tap) to an object?

EDIT:
Found!
Stroke->Direction
I understand that only one gesture can be associated to an object
 
Last edited:

Gabeloooooo

Senior Member
Jul 4, 2012
157
21
0
I suppose I'm fairly stupid since I can't import the file in tasker. Any tips? (the prj.xml file, not the apk obviously)

---------- Post added at 07:47 PM ---------- Previous post was at 07:01 PM ----------

Quick note,

Your post inspired me. Ever since switching to pay as you go, I never answer the phone. I call back using groove ip.

Did this quick setup in tasker:

When Incoming call:
Copy CNUM (incoming number) to clipboard
If wifi is connected, launch groove ip

Very simple, the second I swipe to deny the call, groove ip is already open, and I'm ready to paste the number! Very sweet!
 

Amritttt

Senior Member
Apr 20, 2010
792
109
43
Jalandhar
It would be awesome if there was Reject the call and remind me in 30 mins or 1hour or it creates a reminder in my calender.

Sent from my GT-I9300 using xda premium
 
Last edited:
  • Like
Reactions: xanthrax

iscio

Senior Member
Aug 23, 2011
486
81
0
41
Bergamo
The script should show an extra "button" while the phone is ringing. Sliding your finger right over this button will disconnect the call and redial it back right away.

I did this because of the switching to an "unlimited minutes" plan, while some of my friends that call me are on some very expensive ones. This allows calling such a person back in one single swipe.

Attaching the tasker xml as well as an exported "application". Please note, those "applications" are a new tasker feature i am not very familiar with, i have no idea of what are the dependencies of those, why it puts what it puts in the manifest, how the implementation looks etc. If you install that apk, you do it at your own risk. All i did was exporting the same tab into both xml and apk from tasker, i did not code a single line in Eclipse to make it, nor i've signed it myself.


PS: Not sure if this is of any interest to anyone, but i've decided to share anyway.
do it work also with galaxy s2?
 

InfX

Senior Member
May 1, 2008
885
216
73
It would be awesome if there was Reject the call and remind me in 30 mins or 1hour or it creates a reminder in my calender.
Reminding from tasker is definitely possible. Not sure about calendar reminders, though. It is possible to add reminders using the normal (java) app API, though.

do it work also with galaxy s2?
Should work, but you will probably need to edit it a bit and move the "reject and call back" button to some better location.

PS: Maybe i should code an actual "real" app with this stuff, "coding" anything but the simplest things in tasker is a pain in the butt, really. The problem is, i don't have any real experience (nothing beyond a simple hello world plus wandering around the activities/services/broadcasts/etc concepts) coding Android apps or even coding in Java, nor i have much time to learn the stuff.
 
  • Like
Reactions: linus98

iscio

Senior Member
Aug 23, 2011
486
81
0
41
Bergamo
Reminding from tasker is definitely possible. Not sure about calendar reminders, though. It is possible to add reminders using the normal (java) app API, though.


Should work, but you will probably need to edit it a bit and move the "reject and call back" button to some better location.

PS: Maybe i should code an actual "real" app with this stuff, "coding" anything but the simplest things in tasker is a pain in the butt, really. The problem is, i don't have any real experience (nothing beyond a simple hello world plus wandering around the activities/services/broadcasts/etc concepts) coding Android apps or even coding in Java, nor i have much time to learn the stuff.
I have even less experience than you
 

bluflight

Senior Member
Nov 23, 2008
569
835
0
The script should show an extra "button" while the phone is ringing. Sliding your finger right over this button will disconnect the call and redial it back right away.

I did this because of the switching to an "unlimited minutes" plan, while some of my friends that call me are on some very expensive ones. This allows calling such a person back in one single swipe.

Attaching the tasker xml as well as an exported "application". Please note, those "applications" are a new tasker feature i am not very familiar with, i have no idea of what are the dependencies of those, why it puts what it puts in the manifest, how the implementation looks etc. If you install that apk, you do it at your own risk. All i did was exporting the same tab into both xml and apk from tasker, i did not code a single line in Eclipse to make it, nor i've signed it myself.


PS: Not sure if this is of any interest to anyone, but i've decided to share anyway.
Hi friend! Is possible to add in first post in what xml you add this mod? If you have chance to write all about what, where and what string you modifed in phone i think be great for a lot of people to who want to try by himself to do this mod on his phone ;)

Thanks
 
  • Like
Reactions: .malo2000 and iscio

InfX

Senior Member
May 1, 2008
885
216
73
Again, it's NOT a mod at all. It's a tasker script/project. The xml is not a modification of a preexisting system file but a project to load into tasker.
 

iscio

Senior Member
Aug 23, 2011
486
81
0
41
Bergamo
Again, it's NOT a mod at all. It's a tasker script/project. The xml is not a modification of a preexisting system file but a project to load into tasker.
So I have to download tasker from the market and load your script into the program?

By Iscio, inviato con Tapatalk
 

InfX

Senior Member
May 1, 2008
885
216
73
So I have to download tasker from the market and load your script into the program?
Exactly. But, seemingly, tasker allows exporting it's scripts as standalone apps. That's the attached apk. Hence, installing this apk, without tasker, as a normal app, may work as well. Note that i've never tested this, so you will probably be the first :)
 

iscio

Senior Member
Aug 23, 2011
486
81
0
41
Bergamo
Exactly. But, seemingly, tasker allows exporting it's scripts as standalone apps. That's the attached apk. Hence, installing this apk, without tasker, as a normal app, may work as well. Note that i've never tested this, so you will probably be the first :)
So I'll do a nandroid and I'll test the apk