Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
LinkBack Thread Tools
Old August 24th, 2012, 04:11 AM   #1 (permalink)
Thread Author (OP)
Join Date: Dec 2011
Location: chennai
Posts: 158
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default selected spinner value is updated in mysql db via soap webservice in android

hi i got the solution for selected spinner item is inserted in mysql database through calling soap webservice..thanks for giving nice ideas.but i can't develop update spinner value is save in mysql database.please refer my android code:http://pastie.org/4578986

webservice code :http://pastie.org/4578991...the above both link for inserting code for both android and webservices....please help me...what line is change for update spinner value also change in mysql database....

package com.xcart;

import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    public class update {
     public String insertData(String status,String username){
       Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/androidlogin","root","");
       PreparedStatement statement =  con.prepareStatement("UPDATE `user` set `status` = 'C'  where `status` = 'Q'");
       int result = statement.executeUpdate();
       catch(Exception exc){
      return "Updation successfull!!";
please help me how is wrote android code for this update function...

krishnaveni is offline  
Reply With Quote
sponsored links
android, java on android, soap, spinner, webservices

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 02:25 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.