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.
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?
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.
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?