[android-developers] AutoCompleteTextView API for Global Search like Google

2014-10-07 Thread Krishna Mahadik
Hi Guys, Recently working with AutoCompleteTextView Android. I was able to develope program by binding hardcoded ArrayAdapter to AutoCompleteTextView. I wanted to know whether is there any api which one can use to get google search like results in AutoCompleteTextView of an Android app. Thanks,

Re: [android-developers] AutoCompleteTextView API for Global Search like Google

2014-10-07 Thread Aaa Ass
There is no special Api for autocomplete but u can use Autocamplete text.view. Krishna Mahadik krishna.maha...@gmail.com wrote: Hi Guys, Recently working with AutoCompleteTextView Android. I was able to develope program by binding hardcoded ArrayAdapter to AutoCompleteTextView. I wanted to

[android-developers] AutoCompleteTextView for contacts

2014-01-23 Thread Muhammad Rashid
Hi I would like to say that I am developing an android SMS app. I am using AutoCompleteTextView for contacts suggestions. Here I am using SimpleAdapter with three fields name, phoneNumber and phoneType. But when I put any text like m, it suggests all contacts with phoneType mobile. Same if

Re: [android-developers] AutoCompleteTextView for contacts

2014-01-23 Thread TreKing
On Thu, Jan 23, 2014 at 5:54 AM, Muhammad Rashid muhammad.rash...@gmail.com wrote: But when I put any text like m, it suggests all contacts with phoneType mobile. Same if I put h, it suggests all contacts with phoneType home. But I want to get only suggestions for name and phoneNumber not

[android-developers] AutoCompleteTextView behavior

2014-01-14 Thread Gary Blakely
I'm trying to convert an EditText to a AutoCompleteTextView. There is another EditText on the same page. When I had two EditText controls, the keyboard would say Next while the entry was going on for the fist one and then say done for the second one. After converting the first EditText to an

[android-developers] AutoCompleteTextview multi line (not dropdown but textbox)

2013-12-26 Thread Sandeep Armal
I am using one autocomplete. I want to show this autocomplete as a multiline. I don't want to show dropdown as a multi line but i want to show textbox as a multi line. I also use multiline attribute in .xml file but it's showing nextline key on keyboard and i don't want to use user to press

[android-developers] AutoCompleteTextview to have prefix then start suggestion

2013-02-26 Thread djhacktor
m stuck with a problem, not able to add prefix in autocompletetextview like Call michael or Call back michael after user type call or call back it suggest name (from different adapter lets say contact ) so there will be two adapter one action and other action upon here action is : call ,

Re: [android-developers] AutoCompleteTextview to have prefix then start suggestion

2013-02-26 Thread Narendra Singh Rathore
It seems, you need *MultiAutoCompleteTextView*, instead of * AutoCompleteTextView.* -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] AutoCompleteTextview to have prefix then start suggestion

2013-02-26 Thread djhacktor
nopes MultiAutoCompleteTextView *suggest * from from same adapter multiple time but in my case in need action from on adapter and actionable item from another adapter On Wednesday, 27 February 2013 00:49:54 UTC+5:30, Narendra Singh Rathore wrote: It seems, you need

[android-developers] AutoCompleteTextView - hide soft-keyboard on suggestion list scroll

2013-02-21 Thread Chris Georgoulis
I have an AutoCompleteTextView which as usual provides suggestions after a user types 3 letters. I have already implemented OnItemClickListener on the AutoCompleteTextView so the soft-keyboard closes after a value is chosen from the list. However, I also want the soft-keyboard to be hidden once

[android-developers] AutoCompleteTextView behaves differently in different versions of android

2012-12-30 Thread Etienne
I am not clear whether this is an issue with different versions of Android, or different screen sizes, but I am getting some unpredictable behavior. I am testing the UI of the dropdown of a MultiAutoCompleteTextView on a Nexus S which is onAndroid v4.1.2 and I am testing on a Nexus 4 which is

[android-developers] AutoCompleteTextView remove/change color delimiter

2012-08-08 Thread Dmitriy F
Is it possible to remove/change color of the delimiter(it's grey by default) in AutoCompleteTextView's popup ? In ListView I get use of the delimiter parameter, but I haven't found any similar in AutoCompleteTextView. Thanks. -- You received this message because you are subscribed to the

[android-developers] AutoCompleteTextView cursor position.

2012-07-30 Thread Lakshman Bana
Hi Everyone, I'm having a very simple issue i.e. the cursor goes to the front of the text when item is selected from my ArrayList in emulator. here is the sample code: SimpleAdapter sa = new SimpleAdapter(this, myArrayList, R.layout.contacts, new String[] { name, number }, new int [] {

Re: [android-developers] AutoCompleteTextView for RTL in Android

2012-07-14 Thread Z.A Jafari
please help,i desperately need a solution On 12 July 2012 09:51, Z.A Jafari zjaff...@gmail.com wrote: Hi Romain, thanks for your feedback.can you provide some e.g. do you mean only changing the locale to persian and language of the phone to persian/farsi will allow me to trpe in persian

[android-developers] AutoCompleteTextView for RTL in Android

2012-07-11 Thread Z.A Jafari
Hello there, I have an autocomplete textview which is working perfect with english but I want to to use it for farsi/persian language. Does android support it?. The data in the autocomplete is got from the db. Can somebody please help me to make this work? please help cheers Zolf -- You

Re: [android-developers] AutoCompleteTextView for RTL in Android

2012-07-11 Thread Romain Guy
Hi, Full RTL support for text is a feature of Android 4.1. On Tue, Jul 10, 2012 at 10:21 PM, Z.A Jafari zjaff...@gmail.com wrote: Hello there, I have an autocomplete textview which is working perfect with english but I want to to use it for farsi/persian language. Does android support

Re: [android-developers] AutoCompleteTextView for RTL in Android

2012-07-11 Thread Z.A Jafari
Hi Romain, thanks for your feedback.can you provide some e.g. do you mean only changing the locale to persian and language of the phone to persian/farsi will allow me to trpe in persian and filter the words from the autocomplete or what.can you please elaborate. by the way i am using gingerbread

[android-developers] AutoCompleteTextView Behavior

2012-06-19 Thread Ghanshyam Bhatt
Hi, I have posted a question on StackOverflow. Pplease follow it here: http://stackoverflow.com/questions/11089929/unable-to-understand-behavior-of-autocompletetextview-android I am unable to understand this behavior. Please help. Thank you. -- You received this message because you are

[android-developers] AutoCompleteTextView doesn't show dictionary suggestions

2012-03-05 Thread kaciula
I have a custom AutoCompleteTextView where the user can freely enter text and whenever the user writes @ I show a dropdown with suggestions of custom usernames. Unfortunately, I also need to show the dictionary word suggestions above the keyboard and, for some reason,

[android-developers] AutoCompleteTextView suggestions select take user to the interface.

2012-01-26 Thread Kenneth Lor
So say i am tring to use the AutoCompleteTextView suggestions to be able to bring user to the .xml i have created. If you cant understand please have a look here http://stackoverflow.com/questions/8997684/autocompletetextview-or-searchdialog Here are my codes, i marked errors in comment //

[android-developers] AutoCompleteTextView with Contacts Directory Problem (Android Honeycomb)

2012-01-20 Thread BVB
Hello Everyone, I am attempting to add an AutoCompleteTextView to my Android Honeycomb application. I would like the AutoCompleteTextView to access the contacts of the primary Google account that is registered on the device. Specifically, I would it to provide suggestions for e-mail addresses

[android-developers] AutoCompleteTextView Cursor messing up

2011-09-27 Thread New Developer
Hi I have an AutoCompleteTextView which uses a CursorAdapter to read entries from the database Funny thing is If I type d I get the list (dam , dog , drain , duck) which is correct then if I type r (to now have dr) I should get drainbut the drop down still shows damthe

[android-developers] AutoCompleteTextView data binding problem

2011-09-16 Thread Monzurul Islam Shamim
Hi, I have following two arrays and I want to bind them to a AutoCompleteTextView. My problem is when type on the textview it filters the nameArr and I lost the correct index in the idArr. How do I bind idArr to the view? String idArr[] = new String[]{1,2,3}; String nameArr[] = new

[android-developers] autocompleteTextView

2011-08-01 Thread New Developer
I have an autocompleteTextView which is linked to an Adapter that will search though the database and find items in the database based on the few characters entered. However, is there anyway to double tap the TextView or Tap and Hold and have it display the entire database list ? almost

[android-developers] AutoCompleteTextView with restricted input

2011-05-11 Thread delta42
Greetings Androidians, I would like to have a special control that behaves like an AutoCompleteTextView but does not allow the user to type any characters that would not cause the AutoCompleteTextView to bring up values in its list. Put another way, I have a list of 400+ states and

[android-developers] AutoCompleteTextView and a ContentProvider

2011-03-17 Thread mac-systems
Hello, what would be the best approach to use an ContentProvider and a AutoCompleteTextView ? Looks like i have to use the CursorAdapter ? regards, Jens -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] AutoCompleteTextView focus problem

2010-11-16 Thread vibhu
Whenever focus is set to AutoCompleteTextView the menu, back and othe buttons stop working and the focus is always there on it so m not even able to close the activity -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] AutoCompleteTextView performance

2010-09-23 Thread Mohammad Haque
Hi All, Has anyone has experience of working on AutoCompleteTextView with large number of data sets (~3000 - in string array). I'm working on a application that has used a this view where user can pick a station name by typing first few characters. But it appears to be very slow this size of data

[android-developers] AutoCompleteTextView and Ajax-like request

2010-09-01 Thread Ken
Hello, I am trying to implement an AutoCompleteTextView backed by HTTP requests. i.e., the content of the suggestion comes from a web service and is obtained by a HTTP request (for example, the symbol lookup field on Google finance). Here's the code I wrote to initialize the autocomplete field:

[android-developers] AutoCompleteTextView

2010-06-24 Thread praveena ankitha
hi all, I have One AutocompleTextView and I want to make the virtual keyboard disappear when he hits DONE at the AutocompleTextView. So far, the buttons NEXT/DONE do nothing at all Unfortunately I found no resources addressing this problem. Any suggestions? thanks in advance -- You

[android-developers] AutoCompleteTextView DropDown leaves ghost elements in View / IME area

2010-06-24 Thread TheGroove
When typing in an AutoCompleteTextView, when the list shrinks because the number of matches goes down, the DropDown leaves several ghost elements on the screen. This only seems to happen when an IME is visible, and visually, it appears to be limited to the area that shows the autocomplete

[android-developers] AutoCompleteTextView with autoText

2010-06-17 Thread creativepragmatic
I am trying to get autoText to work with AutoCompleteTextView. Since AutoCompleteTextView is a subclass of EditText, it should work but doesn't. Is this possible? Thanks in advance for any help, Orville -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] AutoCompleteTextView with autoText

2010-06-17 Thread Nandan .
hii in this code i m used autocomplete text box to display phone no from contect list and dialed no. this can help you phonetext = (AutoCompleteTextView) findViewById(R.id.PhoneText); ContentResolver content = getContentResolver(); Cursor cursor = content.query(Calls.CONTENT_URI,

[android-developers] AutoCompleteTextView and SimpleCursorAdapter

2010-06-06 Thread EvgenyV
Hi All, I'm using AutoCompleteTextView with SimpleCursorAdapter. It works properly except one issue: I can't get regular list dropdown view. When performing filtering the lines are narrow. I've tested API Demos AutoCompelte1 example and got the normal dropdown view when using ArrayAdapterString.

Re: [android-developers] AutoCompleteTextView static data. Slow performance.

2010-06-02 Thread TreKing
On Tue, Jun 1, 2010 at 7:27 AM, Oleksandr Stashuk sashko.stas...@gmail.comwrote: Is there any way to speed this up? Don't use such a large list. Try breaking up the one massive list into something you can index. For example, instead of 1 list of ~2000 items, you can have 26 lists of about 80

[android-developers] AutoCompleteTextView static data. Slow performance.

2010-06-01 Thread Oleksandr Stashuk
Hi, all. I am facing the following problem: I have a big list of street names(~2000 entries), which is stored as a variable. I have an AutoCompleteTextView which should complete the names. The process takes really long time(approx. 2 - 3 seconds) to complete the suggestion. Is there any way to

[android-developers] AutoCompleteTextView not working?

2010-05-17 Thread Tommy
Hey everyone, I have an AutoCompleteTextView and what I would like it to do is to show up above the text box it is attached to because it gets covered up by the virtual keyboard when typing. I am trying to set dropDownVerticalOffset=25px but I get an error: No resource identifier found for

[android-developers] AutoCompleteTextView and setText()

2010-05-15 Thread Matthew LeMieux
I found a thread with this subject from about 6 months ago with no resolution, so I'll start it up again. This is an excerpt from the TextView API: public void addTextChangedListener (TextWatcher watcher) Since: API Level 1 Adds a TextWatcher to the list of those whose methods are called

[android-developers] AutoCompleteTextView with http datasource

2010-05-12 Thread Ken
Hi, I have an ajax URL that returns a list of strings based on a partial search keywrod. Then I try to use this as the data source of an AutoCompleteTextView. However all the sample code I found so far are database-related, meaning that I have to deal with a Cursor. Is there an easier way or do I

[android-developers] AutoCompleteTextView / ArrayAdapter performance

2010-04-25 Thread oriharel
Hi All! I have an AutoCompleteTextView which the user can enter a name of an airport. the suggestion strings looks like this (for example): John F. Kennedy (JFK) New York, United States I'm using an ArrayAdapterString (following the examples in Android documentation) and when I construct it, I

[android-developers] AutoCompleteTextView weirdness

2010-04-08 Thread Ning
I have an AutoCompleteTextView defined as the following inside a RelativeLayout, AutoCompleteTextView android:id=@+id/edit_tag android:layout_width=fill_parent android:layout_height=wrap_content

[android-developers] AutoCompleteTextView with updated suggestions from web?

2010-03-16 Thread Pipen
Is it possible with the AutoCompleteTextView to make the suggestions get new suggestion values from a webservice? instead of pre populating it with 100 different strings. Every time the user enters a new character, i want the AutoCompleteTextView to get new values from a web service. please

[android-developers] AutoCompleteTextView and show suggestions

2010-02-26 Thread Steven
Hello, If I have an EditText, it shows suggestions of words automatically when typing. For example, when I start typing Tra, it suggests words above the keyboard such as travel, training, etc. However, if I make the field an AutoCompleteTextView, I can get it to drop down suggestions of

Re: [android-developers] AutoCompleteTextView doesn't work with android:style/Theme.Light

2009-12-15 Thread Jonas Petersson
Hi Romain and Pooper, Romain Guy wrote: This has been fixed since 1.5. I just stumbled into this one too and I experience the same as Pooper even under 2.0.1. So either I'm doing something silly or the fix was not correct. I found a bug filed about a week ago (including source):

[android-developers] AutoCompleteTextView and setText()

2009-11-28 Thread Klaus Kartou
Hi! I have a AutoCompleteTextView with a CursorAdapter with data. I need to be able to set a text in the AutoCompleteTextView programmatically without the autocomplete mechanism kicking in. If I use *setText *on the AutoCompleteTextView it will start the autocomplete. I tried calling

[android-developers] AutoCompleteTextView without Adapter?

2009-11-16 Thread Shirley Cohen
Hi, I'd like to be able to use auto-completion on a name and address field without having to specify all the possible names and address values for these fields. Is there any way to do an auto-complete field without defining an adapter for it? Another way to ask the question is, does the SDK come

[android-developers] AutoCompleteTextView, passing the focus and Android 1.6

2009-11-15 Thread Armond Avanes
Hi Guys, Has anyone noticed that AutoCompleteTextView doesn't pass the focus to the next field when you tap on NEXT button on soft keyboard? And it's all happening on Android 1.6. v1.5 works flawlessly! Is there any known solution for this? Thank you, Armond -- You received this message

[android-developers] AutoCompleteTextView doesn't work with android:style/Theme.Light

2009-11-15 Thread Pooper
I can't seem to get AutoCompleteTextView to work with Theme.Light The problem is the autocomplete popup draws the suggestions text in white on a white background. You can only see what the suggestions are after they are selected, because then the white text is drawn over top of the selector

Re: [android-developers] AutoCompleteTextView doesn't work with android:style/Theme.Light

2009-11-15 Thread Romain Guy
This has been fixed since 1.5. On Sat, Nov 14, 2009 at 5:02 AM, Pooper code...@gmail.com wrote: I can't seem to get AutoCompleteTextView to work with Theme.Light The problem is the autocomplete popup draws the suggestions text in white on a white background.  You can only see what the

[android-developers] AutoCompleteTextView update from thread problem

2009-11-04 Thread Tim
I've posted this in a couple of places without any help so hopefully this group has some helpful people :) I have an AutoCompleteTextView which I want to populate with artist names based on what the user types. The problem is that I have a thread for retrieving the names from a web service, but

[android-developers] AutoCompleteTextView in an AppWidget?

2009-08-13 Thread moorederodeo
Is it possible to add an AutoCompleteTextView to a widget? Every time i've tried, it gives me a Problem loading widget error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] AutoCompleteTextView

2009-08-12 Thread Gavin
all, Is there any method to control popup window in AutoCompleteTextView? Such as location, background...? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] AutoCompleteTextView with SimpleAdapter

2009-08-04 Thread kostmo
Hello, I am trying to use a SimpleAdapter to populate my AutoCompleteTextView. I observe that the Filter runs after the third keystroke as specified in my layout, and suggestion_list is being populated with at least five elements. After the filter runs, the completionHint drops down from the

[android-developers] autocompletetextview: get Cursor

2009-07-15 Thread Saurav Mukherjee
hi, i m using an auto complete text view with a cursor adapter. can anyone tell me how i can get the reference to the cursor of the record that is selected from the auto complete list??? thanks in advance. --~--~-~--~~~---~--~~ You received this message because

[android-developers] AutoCompleteTextView and AdapterView.onItemClickListener with onscreen keyboard not working

2009-05-31 Thread Ty
I have an app that has been working great until I changed the app to use sensor and tested in 1.5. When turning the phone sideways with keyboard closed, I click on the autoCompleteTextView EditText I have setup. This brings up the on screen keyboard. Great. I start typing a name and get a

[android-developers] AutoCompleteTextView in Eclipse layout editor?

2009-05-28 Thread Chris McCurdy
I'm porting an app of mine to work better with API 1.5, and I'm having problems with the layout files where I'm using an AutoCompleteTextView (and, naturally, MultiAutoCompleteTextView). Whenever I have them present in a layout, the graphical representation of the layout disappears, and

[android-developers] AutoCompleteTextView in AlertDialog

2009-05-19 Thread skyman
Hello, Im developing simple public transport navigation app. There is activity for searching and displaying best connection, which will be in future launched in many ways (from main Activity, Contacts, Browser etc.), when there is no Intent data it should open dialog with AutoCompleteTextView.

[android-developers] AutocompleteTextView

2009-05-03 Thread 余雷
Hi , all. Can any one give me a example or source code of using AutocompleteTextView, I met a lot problems of using this view. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] AutoCompleteTextView in 1.5 SDK

2009-04-28 Thread Daniel
My app consists of a dialog-style activity with only one AutoCompleteTextView. In 1.1 the drop-down list of the AutoCompleteTextView was drawn down till the bottom of the screen. But now in 1.5, it is only drawn down to the bottom of the dialog box. So the drop-down list is only a few pixels

[android-developers] AutoCompleteTextView and Theme.Light

2009-04-23 Thread Huebi
Hi, if I use an AutoCompleteTextView and the Theme.Light, I cannot see the text in the dropdown-box as the font is changed to white and the background of the dropdown is white as well. Any help on how to change the font color of the dropdown list?

[android-developers] AutoCompleteTextView and SimpleCursorAdapter

2009-04-14 Thread ppmoore
Hello, I am trying to connect a AutoCompleteTextView with a SimpleCursorAdapter, which narrows down the selection of a list of words, when the user starts typing. Following some other posts here, I've come up with the following code, but it doesn't work. I defined a FilterQueryProvider

[android-developers] AutoCompleteTextView for contacts

2009-01-16 Thread Miguel Paraz
Hi, How can I have a AutoCompleteTextView which autocompletes from the Contacts, the way the Messaging app does? It's possible to read the contacts from the Contacts provider, and use this for the AutoCompleteTextView's adapter. But, how does the Messaging app show two lines with the contact

[android-developers] AutoCompleteTextView: Need help.

2009-01-15 Thread Don Rules
I have written an application to show the contacts in the AutoCompleteTextView. while the user types the alphabets, it fetches the matching contacts to display. For this I have used a CursorAdapter Now I have to get the Contact name when the contact is clicked. How do i use

[android-developers] AutocompleteTextView with cursor

2009-01-06 Thread jphdsn
hi , How to use AutoCompleteTextWiew with a cursor ? I tried for instance for the cursor addr contact.addTextChangedListener(this); contact.setAdapter(new SimpleCursorAdapter (this,R.layout.selectmail_item,addr, new String[]

[android-developers] AutoCompleteTextView dropdown color

2009-01-04 Thread loty
I have identical AutoCompleteTextView code in 2 different applications, however one displays dropdown items in nice black text on white background and the other displays white on white (invisible unless you highlight the item) Here is the extract from xml files - I don't do any changes in code

[android-developers] AutoCompleteTextView without keyboard input

2008-11-23 Thread [EMAIL PROTECTED]
Hello, This is what i am doing, I have a AutoCompleteTextView that filters the contact names while you type them similar to what the sms app does right now. In my app I have a virtual keyboard and I need the same functionality to happen when I type with my VK. For example, When I open the

[android-developers] AutoCompleteTextView showing filtered results

2008-08-28 Thread sacoskun
Hello, I am using AutoCompleteTextView with my custom adapter which implements Filterable. On the getFilter() method, I am able create a new Filter instance and override performFiltering() method to find the matched results. Inside performFiltering all the matched results are added into

[android-developers] AutoCompleteTextView - does not display content

2008-07-11 Thread Christian Wiesbauer
Hi, I have following problem. I’m using an AutoCompleteTextView in my activity. My problem is that whenever, the view loses focus, it does not display content in the box. However, when I switch back to AutoCompleteTextView it starts displaying it. Does anyone know how to avoid this? Thanks,

[android-developers] AutoCompleteTextView Problem - Does not display content

2008-03-31 Thread [EMAIL PROTECTED]
Hi! Here is the focus change handler I wrote for an AutoCompleteTextView. Now my problem is that whenever, the view loses focus, it does not display content in the box. However, when I switch back to AutoCompleteTextView it starts displaying it. I think this is a wrong behaviour. Any comments.