• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

autocomplete autoCompleteTextView

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if the data I have type numbers or letters, then the autocomplete run properly when selected. but if the data I have of numbers and letters example B91829UXY , then autocomplete is not going well.
please help me .

  • MainActivity



  • KoneksiMysql



  • Tabel_test



  • activity_main.xml



  • get_auto_truck.php



  • tabel_contoh

  •  
    Saloon Keeper
    Posts: 7585
    176
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    That's a lot of code and data you're asking us to go through, but not a very helpful problem description, I'm afraid.

    Please post both input that works and input that doesn't work, and post the SQL entries for just those two examples. The one you mentioned (B91829UXY) isn't in the list, for example. And if you don't expect people to type the space character, then you need to account for that when retrieving values from the DB (which mostly seems to have those spaces).

    You might also want to account for people typing just the number, without the leading letter, but that's an enhancement for when you got the basics working.

    Lastly, the DB has a couple of entries that have a leading space character - a mistake or by design?
     
    teguh sugiono
    Greenhorn
    Posts: 26
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Error :

    if I select the data in its autocomplete then the data that appears inconsistent with the chosen
     
    Tim Moores
    Saloon Keeper
    Posts: 7585
    176
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Tim Moores wrote:Please post both input that works and input that doesn't work, and post the SQL entries for just those two examples.

     
    teguh sugiono
    Greenhorn
    Posts: 26
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    i'm upload program in here

    https://drive.google.com/file/d/0B6Iv_oNW_yWbekdmd0RtSHdrMzg/view
     
    Tim Moores
    Saloon Keeper
    Posts: 7585
    176
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I'm willing to help you here if you put effort into describing the problem you'd like us to help you with, but I'm not willing to download some file and try to make sense of it.
     
    Liar, liar, pants on fire! refreshing plug:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic