package mars.mobile;

import android.os.AsyncTask;

/**
 * Created by cho on 2015-10-19.
 */


public class regist extends AsyncTask<String , Integer , String> {

    String url,regId,PhoneNumber,index;
    @Override
    protected String doInBackground(String... params) {
        // TODO Auto-generated method stub
         url=params[0];
         regId=params[1];
        PhoneNumber=params[2];
        index= params[3];

        return regId;
    }

    @Override
    protected void onPostExecute(String result) {
        // TODO Auto-generated method stub
        super.onPostExecute(result);

        registDB task = new registDB( );
        task.execute(url,regId,PhoneNumber,index);
    }

}