The logcat kind of explains your problem... com.example.testing.Boot
does not exists... Which is true as Boot
is an inner class of MainActivity
, so it should at least have been com.example.testing.MainActivity.Boot
.
But, I do not think it is allowed to have an inner class as receiver, as it is unknown to the system which 'outer class' should be invoked? So put it in its own file in the com.example.testing
package.