1. Download our Official Android App: Forums for Android!

Apps fetching data from mysql database and display on android edittext and spinner box

Discussion in 'Android Development' started by krishnaveni, Jan 30, 2013.

  1. krishnaveni

    krishnaveni Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    55
    Posts:
    158
    Joined:
    Dec 16, 2011

    Dec 16, 2011
    158
    0
    55
    chennai
    Hi.,
    I have to develop one android native application.

    Here i have to fetch the value from mysql database and display on android edittext and spinner box.

    I have to run the app means the value is fetching from database and displayed on android edittext.but not display on spinner box.

    How can i display the value on android spinner box fetching from mysql database.

    I have used the below webservice code:

    These is my android code:

    Here i have to run the app means am getting following error on my console window:

    Why am getting the above error??? please help me how can i resolve the above error ???? how can i display the fetching data on spinner box list on first item...
     

    Advertisement

  2. krishnaveni

    krishnaveni Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    55
    Posts:
    158
    Joined:
    Dec 16, 2011

    Dec 16, 2011
    158
    0
    55
    chennai
    Hi.,

    I got the solution for these after put the createSpinnerDropDown(); function inside the try clause....
     

Share This Page

Loading...