Android call intent with '#' sign as number, prevent Uri.parse remove # -


i want call number '*140*123456#' or '141#123456#'. uri.parse(phonenumber) method removes '#' signs , numbers after it. it's solution?

use

uri.encode(phonenumber) 

to encode unresevered characters

take @ https://developer.android.com/reference/android/net/uri.html#encode(java.lang.string, java.lang.string)


Comments

Popular posts from this blog

4x4 Matrix in Python -

python - String indices must be integers and while issue -

python - PyInstaller UAC not working in onefile mode -