2

Background

starting with android 8.0 we cannot register Broadcast Receivers for implicit broadcasts in Manifest (not considering some Exceptions).

My question

What exactly a explicit broadcast receiver? I know theoretically that a broadcast receiver that meant for my only my app will be explicit type.

But I'm not able to understand what thing make an broadcast receiver explicit or implicit?

Is there different ways to define them

In this answer they using receiver tag in manifest and this one is working for android 8+ (not tried myself but as a accepted answer I think this one is working)

So how this one is working ?

above I asked more then one question but they all are related. so main question is how a broadcast receiver is implicit and explicit according above questions

My research

I get that we can still use Context-registered receivers

I looked in this answer that telling about differentiate them in manifest but this one is not explaining about difference(maybe I'm not able to understand this)

I also looked into official documentation

mariuss
  • 1,177
  • 2
  • 14
  • 30
  • have u read this https://stackoverflow.com/questions/46121467/differentiate-implicit-broadcast-receiver-vs-explicit-broadcast-receiver-in-the – AskNilesh Oct 10 '18 at 11:20
  • yes i did it.. this one telling about recognizing but want to ask difference that they have..please answer if you know @NileshRathod – Android Noob Oct 10 '18 at 11:25

0 Answers0