Question

I need to obtain MSISDN for authentication.Doing authentication by any another way,is not an option.

I can summarize my research until now as follows:

1.There is no API to obtain MSISDN on J2ME.

2.One method to obtain the MSISDN is to obtain it when an HTTP request is made from the device,since the MSISDN no is sent in an HTTP header.This is not a reliable method,because some service providers do not send the MSISDN no.Also if the request is obtained without passing through the WAP gateway,MSISDN will not be obtained.I have read the HTTP headers(using PHP script) from the concerned service provider and I can confirm that there is no MSISDN no present in the headers.

My doubts are:

1.The product is for a telco service provider.Is there anything we can do to make them include MSISDN no in the header if it is not there?

2.What should happen after MSISDN is recieved during installation?I read some where that changes to the JAD file must be made before download.

3.Are there any other methods for obtaining the MSISDN?

Was it helpful?

Solution

For the information to included in the headers it is totally dependent upon the operators and my experience atleast here in the UK that none of them do. So there is no guarantee that the number will always be there.

There can be a compromise or a work around, since the user is making an http connection to your server you can ask them to enter their number in a form field. Upon receiving that number you send an SMS with a key code which they need to enter on the same web page for the installation to work. I know not exactly what you want but atleast you have some sort of verification that the user is who he/she claims to be. Once you have received the correct keycode back you can modify your jad attributes accordingly before progressing with install.

OTHER TIPS

There was opened internal API when Symbian became OSS some time ago, it can be found in full sources of Symbian OS. Since it's platform dependent, there is no guarantee that compiled for some SDK it will work on target phones.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top