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 7627629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:29:05+00:00 2026-05-31T05:29:05+00:00

I was developing one notepad kind of thing in which user can enter in

  • 0

I was developing one notepad kind of thing in which user can enter in edit text, I have also provided one Auto complete text view which help him in writing quick word. but I am not getting how can I add the word from auto text box to edit box without disturbing previous written text.

MY Try: I tried this code

public void afterTextChanged(Editable s){
                String c = s.toString(); // read Content
                ((EditText)view.findViewById(R.id.et_text_area)).setText(c); 
            }
            public void beforeTextChanged(CharSequence s, int start, int count, int after){ }
            public void onTextChanged(CharSequence s, int start, int before, int count){ }
        });

which is coping the text in edit box but also deleting the previously written text. How can I add the word from AutoCompleteTextView to edit box without deleting anything and Also when user select any word, and word appear in edit box Auto text box should become empty.

Is there some API in android

Any help will be appreciated. Thanks in advance

  • 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-05-31T05:29:06+00:00Added an answer on May 31, 2026 at 5:29 am

    Try using OnItemClickListener on your AutoComplete. When the user clicks at a word you can save the position of it. Use that int value to retrieve your word from the specified position of your ArrayList, Adapter or whatever it is your are using as datasource for your AutoCompleteList.

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

Sidebar

Related Questions

I am developing one application which needs the gmail user authentication? How can I
Hai every one I am developing an windows application in which i have to
I'm developing an application via which one can send sms by directing it to
I am developing one small app in which i have multiple NSURLConnection.I have created
I am developing one application which need the following functionalities I have webserver. I
I'm developing a solution which uses an ActiveX control (a commercial one which we
I met strange difficulty developing one project. I dont have enough experience with classes
I am developing one android app in that i have to post some message
I'm developing one AS3 application in which I need to add blank editable box
i m developing one joomla site,, i have assign one article to home page.

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.