Page 280 - 3-3
P. 280

// 불러올 클래스들을 import       해준다
              import android.content.Context;
              import android.content.Intent;
              import android.os.AsyncTask;
              import android.os.Bundle;
              import android.support.annotation.Nullable;
              import android.support.v4.app.Fragment;
              import android.view.LayoutInflater;
              import android.view.View;
              import android.view.ViewGroup;
              import android.widget.ListAdapter;
              import android.widget.ListView;
              import android.widget.SimpleAdapter;


              import com.helloworld.smartschool.R;


              import org.json.JSONArray;
              import org.json.JSONException;
              import org.json.JSONObject;


              import java.io.BufferedReader;
              import java.io.InputStreamReader;
              import java.net.HttpURLConnection;
              import java.net.URL;
              import java.util.ArrayList;
              import java.util.HashMap;


              //DB3  클래스
              public class DB3 extends Fragment {


                  //Context  생성
                  Context ct;


                  //DB  변수 생성
                  String myJSON;
                  private static final String TAG_ID = "StudentID";
                  private static final String TAG_NAME = "Name";
                  private static final String TAG_REC = "Record";
                  private static final String TAG_JSON = "Communication_Flexibility";


                  //JSON  변수 생성
                  JSONArray peoples = null;
                  ArrayList<HashMap<String, String>> personList;


                  // 리스트뷰 생성


                                                        - 280 -
   275   276   277   278   279   280   281   282   283   284   285