I have a call blocking application. It has 3 files: 1) class BlockMyCall extends BroadcastReceiver 2) class SimpleClass1 extends Service 3) PhoneBlock extends Activity
I start "PhoneBlock " Activity to call Service "SimpleClass1 ", which eventually calls "BlockMyCall" intended to block outbound calls (by setting result to "null").
I want to know if I can run the class1 from service without starting activity. If so , how?