Unable to Update using Android

public void update() {
Backendless.initApp(this,“D61AD5D2-92Ckkey…”, “5D614D7E-AD91-key…”, “v1”); // where to get the argument values for this call
Backendless.UserService.login(email, password, new AsyncCallback<BackendlessUser>() {
public void handleResponse(BackendlessUser user) {
String cemail = pemail.getText().toString();
String cname = pname.getText().toString();
String cphone = pphone.getText().toString();
// user has been logged in, now user properties can be updated
user.setEmail(cemail);
user.setProperty(“name”,cname);
user.setProperty(“phone”, cphone);
Backendless.UserService.update(user, new AsyncCallback<BackendlessUser>() {
public void handleResponse(BackendlessUser user) {
// user has been updated
Toast.makeText(getApplicationContext(),“updated”,Toast.LENGTH_LONG).show();
}
public void handleFault(BackendlessFault fault) {
Toast.makeText(getApplicationContext(),“not updated”,Toast.LENGTH_LONG).show();
// user update failed, to get the error code call fault.getCode()
}
});
}
public void handleFault(BackendlessFault fault) {
Toast.makeText(getApplicationContext(),fault.getCode(),Toast.LENGTH_LONG).show();
// login failed, to get the error code call fault.getCode()
}
});
I get IllegalArgumentException can you guys tell me why

If it is IllegalArgumentException for the login call then either email or password is null or empty.

what should be the email and password i assume it should be of the current user so i am using getEmail ang getPassoword method for it is this the right approach

BackendlessUser user = Backendless.UserService.CurrentUser();
if (user != null) {
email = user.getEmail();
password = user.getPassword();after the Toast i get the email correctly but for password i get a null value

Hi Reuben!

You cannot get user password due to security reasons.
Regards,
Kate.

ooh i get it mam so what email and password should i provide in the function

Backendless.UserService.login(email, password, new AsyncCallback<BackendlessUser>() {

It is the email and password of the user that will be logging into your app… You know, the data from something like this:

http://support.backendless.com/public/attachments/15d568b879e84373c6c3337fdd614c8e.png&lt;/img&gt;

ooh so you mean i should store that data in sql lite and use that right ?

You do not have real users logging in to the app? Do you use hard-coded user credentials?

I dint get you mark

Please re-read the entire conversation and try to make sense of it.