J2ME: How to make a call?
Asked Answered
O

1

5

Let's suppose i have created a text box with a phone number in it prefilled. How do i make a call when a button Call is clicked. The call should be for the number specified in the text box.

How to make a call programatically for the specified number in J2ME?

Thanks

Orelu answered 16/1, 2010 at 11:29 Comment(0)
H
9

Try this code.

 private void call(String number) {
    try {
    platformRequest("tel:" + number);
    } catch (ConnectionNotFoundException ex) {
    // TODO: Exception handling
    }
    }
Haem answered 16/1, 2010 at 12:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.