Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can a MIDlet determine the telephone number of the mobile phone hosting it?

0
Posted

Can a MIDlet determine the telephone number of the mobile phone hosting it?

0

Not in any portable way, because the MIDP specification is not limited to mobile phones. The MIDP2.0 API provides a method MIDlet.platformRequest() that a MIDlet can call to ask the runtime system for platform specific data. It is envisaged that telephone details will be made available this way. Of course, this is still vendor-specific, but at least does not require the use of vendor-specific classes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123