Skip to content Skip to sidebar Skip to footer

How To Declare An Intent-filter For A Receiver Class Which Is Present In An External Library.

I've created a library one of whose class is public class SmsReceiver extends BroadcastReceiver{...} Now since this class extends BroadcaseReceiver so I need to declare intent-fi

Solution 1:

Use android:name="the.fully.qualified.class.name.SmsReceiver", where the.fully.qualified.class.name.SmsReceiver is the fully-qualified class name of the SmsReceiver class.


Post a Comment for "How To Declare An Intent-filter For A Receiver Class Which Is Present In An External Library."