I have a MapView.java
wherein it requests for SMS permission, Location permission etc. I created a new Java class for the SMSReceiver
, which extends BroadcastReceiver
and has an onReceive
method.
The problem is, I am struggling with how I will call the SMSReceiver
class to my MapView.Java
. Can anyone help me?