Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME Problem

 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have developed a J2ME app which requires the user to login using username&pwd.But i have to bypass this feature and provide automatic login.Can u guys think of any suggestion as how to do this?
the user should be able to login automatically without even entering any username&pwd.how do i achieve this?we get the MSISDN based on username & pwd and its very imp to us. the java app is sent to the user using WapPush.guys pls help me.any suggestions/opinions will be highly appreciated..
cheers,
Sachin
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about saving the pw/username in the RMS the first time the user logs in,
and when the user tries to log on the next time, the username and pw will be
retrived from the RMS, and the login process wil happen automaticly.

/Svend Rost
 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
thanks for ur reply. Well im already using RMS to do First time login. but my boss wants to bypass this altogether.i dont fully support his view and i cant help it.i need the user to enter username & pwd to get the MSISDN from DB.without which the app is useless as we push the content to his MSISDN.as u know i have no way of getting MSISDN from java menu.any other suggestions?how about unique security key?
pls help
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are trying to solve the "handset identification" problem and there is no easy runs-on-anything solution. Maybe you can give us more details about what you are trying to do.

When you say the user has to "login", what exactly do you mean? Does this MIDlet communicate with a remote server that requires a username/password? Who assigns the username/password? You say you need the MSISDN. How is the login information used to retrieve the MSISDN?

How is the MIDlet installed on the phone in the first place? Does the user visit your website using thier phone's browser and then download the application? Do you send a text message to the user with a link to download the app? Do you install the app OTA at all or does the user install it over a cable or Bluetooth connection?

Can you embed a unique serial number into the application and then use that in place of the MSISDN?

Here's a conversation about attempts to determine the phone number from a MIDlet on Sprint PCS phones:

http://www.sprintdevelopers.com/postt36.html


William Frantz
http://SprintDevelopers
 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi William thanks for the reply.let me explain in detail.

When you say the user has to "login", what exactly do you mean? Does this MIDlet communicate with a remote server that requires a username/password? Who assigns the username/password? You say you need the MSISDN. How is the login information used to retrieve the MSISDN?

when i say the user has to login,means the Midlet communicates with the remote server with its username & pwd to use the app.the username/pwd is assigned to the user who downloads the app.the app is sent through wappush and done by ASP pages.this ASP Page stores the users MSISDN,username & pwd in a database.this app connects to this database with the users username & pwd and thus gets it MSISDN.

How is the MIDlet installed on the phone in the first place? Does the user visit your website using thier phone's browser and then download the application? Do you send a text message to the user with a link to download the app? Do you install the app OTA at all or does the user install it over a cable or Bluetooth connection?

The Midlet is installed through wappush.The username & pwd is sent to the user as a text message.

Can you embed a unique serial number into the application and then use that in place of the MSISDN?

i was thinking in the same lines of having a unique serial number but lets say that there are 50 different users downloading the midlet.do i have that many midlets in my server with each unique serial number?how do i go about it?I need MSISDN because we send content through the phone.Even if i store unique number how will i match it to the Database during the login process?Login is necessary because the MSISDN is stored in Database when the user gets the WAPPush.
hope this explains....
thanks again for ur reply
cheers,
Sachin
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you must have the MSISDN when you perform the WAP Push, right? You should push a link like this:

http://acme.com/midlet.asp?msisdn=xxxyyyzzzz

Where xxxyyyzzzz is the phone number. Then write an ASP script that extracts the MSISDN and dynamically generates a JAD file with the MSISDN embedded in the properties. Write your application to check for the MSISDN property and retrieve the number. Pass the number back to the server every time you establish a connection.

Here's an example of dynamically generated JAD files using PHP:

http://www.sprintdevelopers.com/postt6.html


William Frantz
http://sprintdevelopers.com
 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks william. will try that
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic