Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > J2ME, MIDP 2.0 and detecting phone number

Reply
Thread Tools

J2ME, MIDP 2.0 and detecting phone number

 
 
Vagif Abilov
Guest
Posts: n/a
 
      11-25-2003
Hello,

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? It does not look so. How then this task is
usually approached? Very often it is necessary to know the MSN (for billing
purposes for example), so I believe this must be a common problem.

Thanks in advance

Vagif Abilov


 
Reply With Quote
 
 
 
 
Darryl L. Pierce
Guest
Posts: n/a
 
      11-25-2003
Vagif Abilov 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.

> It does not look so. How then this task
> is usually approached? Very often it is necessary to know the MSN (for
> billing purposes for example), so I believe this must be a common problem.


You could have the user enter their phone number in a form and store it
locally.

--
Darryl L. Pierce <>
Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
"What do you care what other people think, Mr. Feynman?"
 
Reply With Quote
 
 
 
 
Vagif Abilov
Guest
Posts: n/a
 
      11-26-2003
Thanks,

The problem that to let user enter phone number does not really work if the
number is used in billing purposes. People can enter other people's number,
and they can also swap SIM cards after the number is stored. Too bad.

Best regards
Vagif


"Darryl L. Pierce" <> wrote in message
news: s.com...
> Vagif Abilov 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.
>
> > It does not look so. How then this task
> > is usually approached? Very often it is necessary to know the MSN (for
> > billing purposes for example), so I believe this must be a common

problem.
>
> You could have the user enter their phone number in a form and store it
> locally.
>
> --
> Darryl L. Pierce <>
> Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
> "What do you care what other people think, Mr. Feynman?"



 
Reply With Quote
 
Darryl L. Pierce
Guest
Posts: n/a
 
      11-26-2003
Vagif Abilov wrote:

> The problem that to let user enter phone number does not really work if
> the number is used in billing purposes. People can enter other people's
> number, and they can also swap SIM cards after the number is stored. Too
> bad.


Then you could issue them a key and let that be the way by which you
identify their device.

--
Darryl L. Pierce <>
Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
"What do you care what other people think, Mr. Feynman?"
 
Reply With Quote
 
Darryl L. Pierce
Guest
Posts: n/a
 
      11-26-2003
Vagif Abilov wrote:

> AFAIK issuing a key is a part of PKI support that MIDP 2.0 has (was not
> possible in MIDP 1.0). Is this what you meant?


No. I meant issue them a unique identifier (a key) that they need to use in
order to use your application.

--
Darryl L. Pierce <>
Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
"What do you care what other people think, Mr. Feynman?"
 
Reply With Quote
 
Vagif Abilov
Guest
Posts: n/a
 
      11-26-2003
AFAIK issuing a key is a part of PKI support that MIDP 2.0 has (was not
possible in MIDP 1.0). Is this what you meant?

Thank you

Vagif


"Darryl L. Pierce" <> wrote in message
news: s.com...
> Vagif Abilov wrote:
>
> > The problem that to let user enter phone number does not really work if
> > the number is used in billing purposes. People can enter other people's
> > number, and they can also swap SIM cards after the number is stored. Too
> > bad.

>
> Then you could issue them a key and let that be the way by which you
> identify their device.
>
> --
> Darryl L. Pierce <>
> Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
> "What do you care what other people think, Mr. Feynman?"



 
Reply With Quote
 
Anton Spaans
Guest
Posts: n/a
 
      11-26-2003
One possible key can be the phone's IMEI number (serial number).
This is available on GSM phones and uniquely identifies the phone.
For TDMA/CDMA etc. phones, i don't know how to get this number...

-- Anton.

"Vagif Abilov" <> wrote in message
news:vu2xb.1584$...
> AFAIK issuing a key is a part of PKI support that MIDP 2.0 has (was not
> possible in MIDP 1.0). Is this what you meant?
>
> Thank you
>
> Vagif
>
>
> "Darryl L. Pierce" <> wrote in message
> news: s.com...
> > Vagif Abilov wrote:
> >
> > > The problem that to let user enter phone number does not really work

if
> > > the number is used in billing purposes. People can enter other

people's
> > > number, and they can also swap SIM cards after the number is stored.

Too
> > > bad.

> >
> > Then you could issue them a key and let that be the way by which you
> > identify their device.
> >
> > --
> > Darryl L. Pierce <>
> > Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
> > "What do you care what other people think, Mr. Feynman?"

>
>



 
Reply With Quote
 
Tim Ward
Guest
Posts: n/a
 
      11-26-2003
"Anton Spaans" <aspaans at(noSPAM) smarttime dot(noSPAM) com> wrote in
message news:-_...
> One possible key can be the phone's IMEI number (serial number).
> This is available on GSM phones and uniquely identifies the phone.


The phone, not the user. Plus in many phones the IMEI is not hard-wired as
required by the GSM standards but can be reprogrammed. So it can't even
reliably do the one thing you might have thought it useful for, ie identify
stolen phones.

--
Tim Ward
Brett Ward Limited - www.brettward.co.uk


 
Reply With Quote
 
Anton Spaans
Guest
Posts: n/a
 
      11-26-2003
Many software programs for phones are sold using the phone's IMEI number. I
know, it is possible to reprogram the IMEI, but it is illegal. It is
possible to remove your car's identifcation (VIN) number as well....

If the worry is that a phone may get stolen, then you need to require a
login from the user every time (s)he needs to access the services you sell,
because you can't store login-info (in case it gets stolen).
Maybe a login-id is the safest (note that many phones do not support secure
connections (e.g. https))....

-- Anton

"Tim Ward" <> wrote in message
news:bq2gm9$1td1tf$...
> "Anton Spaans" <aspaans at(noSPAM) smarttime dot(noSPAM) com> wrote in
> message news:-_...
> > One possible key can be the phone's IMEI number (serial number).
> > This is available on GSM phones and uniquely identifies the phone.

>
> The phone, not the user. Plus in many phones the IMEI is not hard-wired as
> required by the GSM standards but can be reprogrammed. So it can't even
> reliably do the one thing you might have thought it useful for, ie

identify
> stolen phones.
>
> --
> Tim Ward
> Brett Ward Limited - www.brettward.co.uk
>
>



 
Reply With Quote
 
Tim Tyler
Guest
Posts: n/a
 
      11-27-2003
Darryl L. Pierce <> wrote or quoted:
> Vagif Abilov 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.

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.
--
__________
|im |yler http://timtyler.org/ Remove lock to reply.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Phone to Phone Calling.. From any phone to any other anywhere coolguy17111987 Cisco 0 07-01-2007 07:27 AM
MIDP-only phone that supports raw audio recording? And how to find out... CharlesW Java 0 09-27-2006 03:45 PM
java.lang.NullPointerException at com.sun.kvem.midp.MIDP.run(MIDP.java:651) Fahad Java 1 08-08-2005 02:11 PM
Will application J2ME MIDP 2.0 based of one device run another J2ME MIDP 2.0 device? nishadixit Java 5 06-01-2005 05:40 AM
MIDP MIDlet: which characters are supported in the phone font? Jens Java 13 12-15-2004 01:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57