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.
電話番号が事前に入力されたテキストボックスを作成したとします。[通話]ボタンをクリックしたときに電話をかけるにはどうすればよいですか。テキストボックスで指定された番号に電話をかける必要があります。
J2MEで指定された番号にプログラムで電話をかける方法は?
ありがとう
このコードを試してください。
private void call(String number) { try { platformRequest("tel:" + number); } catch (ConnectionNotFoundException ex) { // TODO: Exception handling } }