i have implemented sms receiver listens 1 specific sms (must contain keyword). know since kitkat can't disable sms notification, possible prevent sound alert/vibration 1 sms?
so if user has phone locked , sms comes in, phone doesn't vibrate or make sound. if other sms comes in, works normal.
set reciever priority high, i.e. in androidmanifest.xml set <intent-filter android:priority="1000">. should able call abortbroadcast(); in onrecieve() avoid being sent other listeners.
Comments
Post a Comment