Brilliant Idea. Thanks for the suggestion. Will get back if I have
more queries!

On Feb 26, 4:36 am, Justin Anderson <[email protected]> wrote:
> Have the constructor in your adapter class read the file and place the names
> in an array...
>
> On Fri, Feb 25, 2011 at 2:14 AM, Arun N R <[email protected]> wrote:
>
> > Hi,
> >     I am new to Android Development. I am trying to write a small
> > search application. My requirement is: I have a list of 1000+ names in
> > a text file. I just want to check whether a particular name is
> > existing or not in the list. My UI should have just have one searh box
> > and menu to add more names from the list.
>
> > To start off with, I looked at sample programs, which was very
> > helpful. I looked at this particular example:
>
> >http://developer.android.com/resources/tutorials/views/hello-autocomp...
>
> > This is exactly what I wanted. But in this example, they are storing
> > all the names in a String Array, which I cannot add more entries in
> > the course of time. So can you tell me how to modify this to search so
> > that the array adapter picks the names from a file instead of the
> > String Array? Or Please suggest if there are any other better ways to
> > achieve it.
>
> > Thanks in Advance,
> > Arun
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to