Can we use a Service or Broadcast Receiver?


Can we use a Service or Broadcast Receiver via an extension?


en teoria en appybuider si es posible, pero no estoy seguro como lo voy a hacer pero debo copilar con la fuente de appybuilder


I think answer is yes. I believe @Taifun has created extension using BroadcaseReceiver


Did a little research.
The Texting Component uses a SmsBroadcastReceiver.


That’s correct. However, you were talking about extension:


Good point!
When I get some time, I’ll try converting the component to an extension and see if it works before trying to make my own.


I also need to figure out how to create a service for onTaskRemoved().


Based off of this post, I’d say it’s possible with based off of this post:!topic/app-inventor-open-source-dev/7KSVO3c3HSA


Yes, I’m pretty sure the Alarm Extension would need one.


I now open sourced the headset plug status extension, which uses a broadcast receiver,
for details see here


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


Thanks @Taifun this will surely help me and many others!


Thanks @Taifun I got it to work!