Re: J2ME, MIDP 2.0 and detecting phone number

From: Darryl L. Pierce (mcpierce_at_myrealbox.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 00:46:21 GMT

Tim Tyler wrote:

>>> We need to provide access to our services from the mobile phone, so we
>>> tried J2ME and Java applications (Midlets) for mobile phones.
>>> There's one thing we can't figure out: is there any generic way to
>>> detect mobile phone subscriber's number?
>>
>> No. There are no APIs in the MIDP to determine the phone number since not
>> all MIDs are mobile phones.
>
> Not all MIDP devices have colour screens - and yet there is an API for
> dealing with them.

No, but most of them do, so your point is non sequitor.. The MIDP is
intended as the foundation on which many profiles will be implemented.
Having the MIDP be a catch-all for such things as phone numbers from a
mobile is unnecessary; other profile can be implemented to do that.

> I suspect there is a sensible reason for MIDP devices not giving out
> their phone numbers to unsigned MIDlets on an ad-hoc basis, though:
> phone numbers are personal information.

And the MIDP is not intended to be implemented only on mobiles. When
writing an application for a router, of what purpose would such an API
for fetching the mobile number be?

The point is, there are some APIs that would make no sense on a headless
device, such as the gaming APIs. But, those are there since they have
an immediate need and do make sense on other non-mobile devices (though
not on all platforms where the MIDP will be implemented). Something like
an API to retrieve a mobile's number makes no sense *except* on a single
device type, a mobile. What's your iPAQ's mobile number? Your router's?
See my point?

-- 
Darryl L. Pierce <mcpierce@myrealbox.com>
Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
"What do you care what other people think, Mr. Feynman?"


Relevant Pages

  • Re: J2ME Floating point Library ?
    ... There's not such thing as "J2ME for MIDP". ... profiles) for mobile, pervasive and embedded devices. ...
    (comp.lang.java.programmer)
  • Re: Has independent Palm deveopment died?
    ... Are the java, windows mobile, symbian markets viable? ... The Java platform is the most common, ... Mobile is becoming more common but is limited to quite high-end phones ... J2ME would be much more useful if it had mandated standard APIs to ...
    (comp.sys.palmtops)
  • Re: Developing MIDlet for PDAs and cell phones
    ... >> added to the Personal Basis for specific groups of devices? ... But, again, there's no MIDP 3 TMK. ... new functionality will be made possible in PDAs? ... Somehow the existing APIs would need ...
    (comp.lang.java.programmer)
  • Re: Playing a midi in midp (J2ME).
    ... > midp device (my cell phone). ... have sound APIs, but most OEMs provide their own proprietary APIs. ... but get the error message ...
    (comp.lang.java.help)
  • Re: Cell phones and java
    ... Because the APIs your 10 lines of code requires aren't available on a ... The mobile is based on the Mobile Information Device Profile ... would you assume that it would have the exact same Java runtime environment? ... "By doubting we come to inquiry, through inquiry truth." ...
    (comp.lang.java.programmer)