简体   繁体   中英

Intent.ACTION_CALL how to add `,` sign comma

How to add a , comma sign into the phone call intent? 004216378497,,,,,,,,,2

my code is now like :

Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:" + phoneNumber));
context.startActivity(intent);

Try this way (copied)

Uri.parse(String.format("tel:%s", Uri.encode(number)))

Source : Intent.ACTION does not dial after first # sign

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM