I created a broadcastReceiver to receive sms and it works fine on emulator but on real device it works only when app is running when app is closed it doesn't receive any sms

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.