Android Tutorial Intent Filters - Intercepting SMS messages in the background

Status
Not open for further replies.

ilan

Expert
Licensed User
Longtime User
use the PhoneStateChangedevent from the PHONE lib.

thanx manfred, but i will still need that intent filter right?
i need to add it to the manifest and create a service where the recording start when a call was answered or a call was performed

how would the manifest permission look like?

AddPermission(android.permission.CALL)
AddReceiverText(s1,
<intent-filter>
<action android:name="android.provider.Telephony.CALL_RECEIVED" />
</intent-filter>)

???
 

susu

Well-Known Member
Licensed User
Longtime User

With this code I can get SMS body and sender number, how can I get the date of SMS? Thanks.
 

volond_sespel

New Member
Licensed User
Longtime User
I looked at the phone library:sign0085:, but I do not understand how to catch the action "send message", since I will not get this from the log, but I would like that every time they send is stored in a db, even if the user deletes the sms ...
Found a solution?
 

kisoft

Well-Known Member
Licensed User
Longtime User
This filter does not work when the screen is locked with a password, how to bypass it
 

Croïd

Active Member
Licensed User
Longtime User
is it possible to block the number of sending (only 1 sms) same correspondent or same number phone ?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…