Opened 5 years ago

Last modified 4 years ago

#2061 new change

Tasker Integration via Broadcast Receiver Please!!

Reported by: vtjay79 Assignee:
Priority: Unknown Milestone:
Module: Adblock-Plus-for-Android Keywords:
Cc: Blocked By:
Blocking: Platform: Android
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Background

Some Apps do not work well with ABP, and for good reason. Historically, users can easily thumb the menu and disable it via the button. While this works, I would like to request the integration with Tasker Via a Broadcast Receiver for ABP.

This would allow users to build a custom "whitelist". Alternatively it would allow for voice activation/deactivation of ABP using a host of other 3rd party plugins such as AutoVoice

What to change

I'm not a developer, but, I think you just add the Brodcast Receiver to the package, provide a few options via bits 0 = Off, 1 = Start, 2 = Restart and they would essentially and respectively shut the service off as if you slid the slider to "off". Start the service as is you slid the slider to "on". Stop then start the service.

Currenntly, I can start the service just fine by issuing the command "am startservice org.adblockplus.android/.ProxyService". However, i cannot currently stop it without killing it, which doesn't reset things properly and it breaks on my end.

http://stackoverflow.com/questions/9092134/broadcast-receiver-within-a-service

Change History (2)

comment:1 Changed 4 years ago by philll

  • Platform changed from Android to Adblock Browser for Android

See #2673

comment:2 Changed 4 years ago by rjeschke

  • Component changed from Unknown to Adblock-Plus-for-Android
  • Platform changed from Adblock Browser for Android to Android
  • Tester set to Unknown
  • Verified working unset
Note: See TracTickets for help on using tickets.