hi ,
i want to put a login and log out
options in menu.
which one will be the good way to get that.
should i implement rms to store password.
or is there any other way as well.
hi ,
i want to put a login and log out
options in menu.
which one will be the good way to get that.
should i implement rms to store password.
or is there any other way as well.
TextBox and TextField both support a constraint option PASSWORD, which doesn't echo the input.
RMS would be the place to store the password. Keep in mind that, on some devices, it may be possible to retrieve and read the RMS files. If you need security you should encrypt the password.
Cheers,
Graham.
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
Hi,
Yup,that is totally depends upon the requirement....and the security level you wana implement in the application....
I think server concept is far better..
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
ya u can hit the server and get response from server. If server response is unauthorised person then denied his access to application. But what in the case when server is down or there is no network or user has no balance in his mobile and he has to access the application. Think also from the view of user too. So both the options ie RMS and SERVER are good but maintain only that one which is more user friendly and protective in nature.
thanks,
jitu_goldie..
KEEP TRYING..
thanks jitu_goldie,
At the moment, i am working with record store .
i want to write two record
login and
password
in a Record Store
easy way to retrieve these two strings.
first time working with record store.
when first time application runs create a RMS for password and check whether it is empty or not. If empty the take input from user on a form with three textfields, one for login name,second for password and third for confirm password. check that password in both the fields are same or not. If same then save the login name and password to RMS. From next time when user starts the application then he face a login form with two textfields asking for login name and password. Compare the login name and password enter here by the user with the saved one in RMS. U can also give the functionality of change login information to user. here user has to enter the old information as well as new login name and password. If the old information match with the saved information then update the information saved in RMS with the new one.
But take care of the suggestion gives by graham to protect the RMS from illegal access.
So encrypt the login information before save it in RMS.
Please check the link for encryption and decryption..
http://www.codemiles.com/java/j2me-encryption-t703.html
Hope this makes some sense to u.
Last edited by jitu_goldie; 2009-04-08 at 12:11.
thanks,
jitu_goldie..
KEEP TRYING..
Thanks jitu_goldie,
you help is appreciable!
Cheers
public static RecordStore openRecordStore(String recordStoreName,
boolean createIfNecessary)
where is this data base stored on hard drive.
or how can i see this data "recordStoreName".
Is it like filing in c++?
I just need to know where midlet is storing the data.
I think u have to first learn about recordstore..
Please check out this link it helps u alot..
http://www.java2s.com/Tutorial/Java/...ecordStore.htm
in netbeans at which emulator platform do u work?
is it wtk2.5.2 or wtk 2.5?
Please check out the same.
thanks,
jitu_goldie..
KEEP TRYING..