Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、通話マネージャーへの通話を処理する Android アプリを作成しようとしています。問題はURI.parse()、電話番号で許可されていないすべての記号を削除する方法ですが、「#」が含まれる番号を渡す必要がありました。
URI.parse()
「012347#5687」のような整数を Android action_call インテントに渡す方法はありますか?
私はこのコードを使用し、魅力のように機能します
Intent my_callIntent = new Intent(Intent.ACTION_CALL); my_callIntent.setData(Uri.parse("tel:*131%23"));
ここで、%23 は # を表します
この助けを願っています