Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9014653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:33:32+00:00 2026-06-16T03:33:32+00:00

i have try to develop one android app.here i have to develop forget password

  • 0

i have try to develop one android app.here i have to develop forget password option.i have to click forget password textview means it is go to next activity.next activity have to enter the username of that registered user.i have to check the username is valid or invalid from mysql database.the username is valid means it is goto next activity .next activity have enter some text(password) field.here i have to click update button means the password is updated for that user.

Here i have done the username is valid and invalid activity.but how can i pass username data to next activity and update password for these particular user.

Here i have to update password(2nd activity) from username (based on 1st activity).How can i develop these.please help me.

This is my 1st activity:

 PropertyInfo unameProp =new PropertyInfo();
    unameProp.setName("Username");//Define the variable name in the web service method
    unameProp.setValue(login);//set value for userName variable
    unameProp.setType(String.class);//Define the type of the variable
    request.addProperty(unameProp);
     ----
   -----
   if(status.equals("Valid Username"))
           {

               Intent intent = new Intent(Login.this,RetailerActivity.class);
               intent.putExtra("Username", login);
               startActivity(intent);
           }

The next activity code is like below:

        btninsert = (Button)findViewById(R.id.btn_insert1);
    btninsert.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
             Intent in = getIntent();
       EditText userPassword = (EditText) findViewById(R.id.edittext);
             String user_Name = userPassword.getText().toString();
             SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
            PropertyInfo unameProp =new PropertyInfo();
            unameProp.setName("userPassword");//Define the variable name in the web service method
            unameProp.setValue(user_Name);//Define value for fname variable
            unameProp.setType(String.class);//Define the type of the variable
            request.addProperty(unameProp);
            PropertyInfo idProp =new PropertyInfo();
            idProp.setName("Username");//Define the variable name in the web service method
            idProp.setValue();//Define value for fname variable
            idProp.setType(String.class);//Define the type of the variable
            request.addProperty(idProp);

How can i pass username value from 1st activity to next activity.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T03:33:33+00:00Added an answer on June 16, 2026 at 3:33 am

    you should search before you add a new question:

    Look here: How do I get extra data from intent on Android?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have try to develop one java app.here am getting information from mysql database.
I'm try develop an ActiveX Control in VB6. It have one UserControl and one
I have develop one universal app. I have four type images iphone - simple.png
I have develop one application in which 3 activity. in first activity there are
Trying to develop an android app that integrates social networking, and the first one
I have try to set icon for my App in the xCode. In the
Here is example which I have try <?php include 'spider/classes/simple_html_dom.php'; $html = new simple_html_dom();
Is it considered bad practice to have multiple try's in one method and structure
I occur a problem when develop a application on android. There have two image
Hi i have develop an android application in which i want to prevent user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.