Android Question Non-protected broadcast

Nataly

Member
Hello all, I'm new to B4A. I'm using the N50A Talkpod device (http://www.talkpod.cn/en/Network.html). It seems like I need to send a customized Broadcast action since the ptt down/up intent somehow not ''catch-able''. Here's a snippet of the log file:

1632208980942.png


I encountered this article:

First I tried to edit the manifest file from B4A but with no luck:
Manifest:
AddReceiverText(Connector,

<intent-filter android:priority="1000" >
   <action android:name="com.talkpod.ptt.down" />
 
     <!-- etc-->
    </intent-filter>)

So, How should I fix this issue? How can I send a Protected Broadcast ? Any suggestions?

Note: If anyone knows how to translate what's in the article to B4A, that would be great!

Thank you,
Nataly
 
Last edited:
Solution
So, apparently my app receives a broadcast from the talkpod (push to talk device). In order to handle this broadcast, I used BroadcastReceiver library which solved the issue. I was able to receive the required intent/Action.

Thank you Erel,
Best,
Nataly

Nataly

Member
So, apparently my app receives a broadcast from the talkpod (push to talk device). In order to handle this broadcast, I used BroadcastReceiver library which solved the issue. I was able to receive the required intent/Action.

Thank you Erel,
Best,
Nataly
 
Upvote 0
Solution
Top