Remove All Ads from XDA

How to Broadcast SMS_RECEIVED?

287 posts
Thanks Meter: 200
By runnirr, Senior Member on 5th January 2014, 06:07 AM
Post Reply Email Thread

I am working on an app that mimics Voice+ but uses Xposed instead of having to run CyanogenMod.

I am stuck at the point where I need to broadcast a android.provider.Telephony.SMS_RECEIVED intent to spoof an incoming SMS when a Google Voice message comes in. The BROADCAST_SMS permission is not being given to my app, even when it is put in /system/app.
 Not granting permission android.permission.BROADCAST_SMS to package com.runnirr.xvoiceplus (protectionLevel=2 flags=0x88be47)
My understanding is that since I am using an official stock, I cannot get that permission since the app is signed with a different key. I am hoping there is some way around this using root or Xposed.

I am open to suggestions. I

I found the solution to my problem by using Xposed to grant my app permission at start up. I copied how GracityBox does it.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes