• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Is there any way to handle send premium text in android?

sml004

Lurker
I use Hangout as my default SMS and I also develop an application which to send and receive SMS.

In handgout, when I send text to 2122. there is a dialog to confirm if I want to send or cancel. If I click Cancel, message will not send.

CbWxr.png


I want to handle in my app in that way also. For now, in my application, I cannot detect if user click Cancel.

Of course, there is another way which is to set permission in AppInfo to send "always/never/ask". I dont want to ask user to do it. I want to handle in my application.

Have idea?
 
Back
Top Bottom