In class LeakSms, This method is called using reflection:
public String getSMS()
{
String str = "";
Uri inboxURI = Uri.parse("content://sms/inbox");
Cursor cur = getContentResolver().query(inboxURI, null, null, null, null);
if (cur.moveToFirst()) {
str = cur.getString(cur.getColumnIndexOrThrow("body"));
}
str=str.replace(" ","_");
return str;
}
If I just return a dummy string, it works properly. If I implement the entire SMS extracting part, it simply doesn't work.
In class LeakSms, This method is called using reflection:
If I just return a dummy string, it works properly. If I implement the entire SMS extracting part, it simply doesn't work.