How to end a call programmatically in j2me?

I am developing an application in which I need the user's phone number, so I call the server from the user's j2me application, and for this purpose I use platformRequest("tel:" + number); in his program.

But the problem is that I do not know how I can interrupt a call, because a minute call is enough for the server to get the user number.

I want to know if there is any API or instruction to cancel the call or some kind of trick? for example, is pressing the RED button programmatically possible in j2me?

+4
source share
1 answer

There is no way to do this, it is best to make the server somehow terminate the call.

+1
source

Source: https://habr.com/ru/post/1433482/


All Articles