Page 301 - 3-3
P. 301

}


                파) DB8.java
                package layout;


                // 불러올 클래스들을 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;


                //DB2  클래스
                public class DB8 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 = "Control_PushUp";




                                                          - 301 -
   296   297   298   299   300   301   302   303   304   305   306