Android

Get contact list and show in custom listview android

  • yogi puranik

    Hey @aneh thakur i want to display number in listview..And it is working perfect. But i want to put condition when it read contact from device. The Condition are
    1) if number digit <10 { –don't add into list-}
    2)else if(number is starting from 0 then repalce with 91){–Add to list}
    3)else if{number is start from + then remove it }{–add to list}
    4)else{other are directly add to list}

    plz help me to solve this issue..

    • Hi yogi puranik, You can perform all this condition before setting data to your setter or before adapter.

  • Mahmudur Rahman

    Its a very nice code. I look for this last 3 days. Thank you so much.

  • Marlon Antonio Medina Taguican

    I already like your page, so where can I download the source code?

  • Aakash Shah

    how to remove duplicat name and number ?

  • Amar

    after running app successfully it just shows the search box in my fragment and nothing else happening so what could be the problem?

  • Sergio Antonio Sánchez Camarer

    Please can you put the code of RoundImage?
    Thanks

  • Sergio Antonio Sánchez Camarer

    Hi,
    Are there any case to no duplicate de contact?¿

    Tnahs

ABOUT
Trinity tuts is one of the best place for beginners to learn android, php, google and web design tutorial and tips. - Maintained by Aneh Thakur
Subscribe to Blog via Email

Join 62 other subscribers