Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

autocomplete autoCompleteTextView

 
teguh sugiono
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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

  •  
    Tim Moores
    Bartender
    Posts: 3136
    50
    • Mark post as helpful
    • send pies
    • 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: 17
    • Mark post as helpful
    • send pies
    • 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
    Bartender
    Posts: 3136
    50
    • Mark post as helpful
    • send pies
    • 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: 17
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    i'm upload program in here

    https://drive.google.com/file/d/0B6Iv_oNW_yWbekdmd0RtSHdrMzg/view
     
    Tim Moores
    Bartender
    Posts: 3136
    50
    • Mark post as helpful
    • send pies
    • 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.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic