Opened on 02/27/2015 at 05:47:49 PM

Last modified on 07/15/2015 at 12:58:22 PM

#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

Attachments (0)

Change History (2)

comment:1 Changed on 06/30/2015 at 09:33:59 AM by philll

  • Platform changed from Android to Adblock Browser for Android

See #2673

comment:2 Changed on 07/15/2015 at 12:58:22 PM 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

Add Comment

Modify Ticket

Change Properties
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from (none).
Next status will be 'reviewing'.
 
Note: See TracTickets for help on using tickets.