How does android handle the +-sign in a phonenumber -


I'm trying to call a calling card through code and intend to send the desired Uri to:

accessnumber + pause + phonenumber + #

Phononumber comes from the address list, but I handle + (as in the exit code) because it is in instances 011, Is in Europe 00. And I think I can not send it only in intent. Is there any way to handle this?

The problem is that calling card plus for example 00 or as a 011.

  string uri = "tel:" + Uri.encode (phone number) {intentCol = new intent (intent.ACTION_CALL) Try it; IntentCall.setData (Uri.parse (URI)); StartActivity (intentCall); } Hold (ActionlineFound Exception E) {}    

To use Android compatible telephone URI For RFC 3966 specifies that '+' is used for international dialing, therefore Android should recognize the character '+' and behave properly with it.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -