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.
メソッドを使用して文字列を取得し、解析する際に問題がありますUri.parse()。
Uri.parse()
次のコードを試しました:
EditText edit = (EditText) findViewById(R.id.enter); String telephone = edit.getText().toString(); Uri number = Uri.parse(telephone);
しかし、適用力は閉鎖されました。
tel:携帯電話番号に「 」プレフィックスを追加する必要があります。
tel: