Showing
464 changed files
with
1891 additions
and
0 deletions
코드/CCTedV/app/.gitignore
0 → 100644
1 | +/build |
코드/CCTedV/app/build.gradle
0 → 100644
1 | +apply plugin: 'com.android.application' | ||
2 | + | ||
3 | +android { | ||
4 | + compileSdkVersion 28 | ||
5 | + | ||
6 | + | ||
7 | + defaultConfig { | ||
8 | + applicationId "com.example.cctedv" | ||
9 | + minSdkVersion 22 | ||
10 | + targetSdkVersion 28 | ||
11 | + versionCode 1 | ||
12 | + versionName "1.0" | ||
13 | + | ||
14 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
15 | + } | ||
16 | + | ||
17 | + buildTypes { | ||
18 | + release { | ||
19 | + minifyEnabled false | ||
20 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
21 | + } | ||
22 | + } | ||
23 | + | ||
24 | + packagingOptions { | ||
25 | + exclude 'META-INF/DEPENDENCIES' | ||
26 | + exclude 'META-INF/LICENSE' | ||
27 | + exclude 'META-INF/LICENSE.txt' | ||
28 | + exclude 'META-INF/license.txt' | ||
29 | + exclude 'META-INF/NOTICE' | ||
30 | + exclude 'META-INF/NOTICE.txt' | ||
31 | + exclude 'META-INF/notice.txt' | ||
32 | + exclude 'META-INF/ASL2.0' | ||
33 | + exclude("META-INF/*.kotlin_module") | ||
34 | + } | ||
35 | + | ||
36 | +} | ||
37 | + | ||
38 | +dependencies { | ||
39 | + implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
40 | + | ||
41 | + implementation 'androidx.appcompat:appcompat:1.1.0' | ||
42 | + implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | ||
43 | + testImplementation 'junit:junit:4.12' | ||
44 | + androidTestImplementation 'androidx.test.ext:junit:1.1.1' | ||
45 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | ||
46 | + implementation project(path: ':libstreaming') | ||
47 | + implementation 'com.google.android.material:material:1.0.0' | ||
48 | + implementation("com.squareup.okhttp3:okhttp:4.6.0") | ||
49 | + compile 'com.squareup.mimecraft:mimecraft:1.1.1' | ||
50 | + | ||
51 | + | ||
52 | +} |
코드/CCTedV/app/proguard-rules.pro
0 → 100644
1 | +# Add project specific ProGuard rules here. | ||
2 | +# You can control the set of applied configuration files using the | ||
3 | +# proguardFiles setting in build.gradle. | ||
4 | +# | ||
5 | +# For more details, see | ||
6 | +# http://developer.android.com/guide/developing/tools/proguard.html | ||
7 | + | ||
8 | +# If your project uses WebView with JS, uncomment the following | ||
9 | +# and specify the fully qualified class name to the JavaScript interface | ||
10 | +# class: | ||
11 | +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
12 | +# public *; | ||
13 | +#} | ||
14 | + | ||
15 | +# Uncomment this to preserve the line number information for | ||
16 | +# debugging stack traces. | ||
17 | +#-keepattributes SourceFile,LineNumberTable | ||
18 | + | ||
19 | +# If you keep the line number information, uncomment this to | ||
20 | +# hide the original source file name. | ||
21 | +#-renamesourcefileattribute SourceFile |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import android.content.Context; | ||
4 | + | ||
5 | +import androidx.test.platform.app.InstrumentationRegistry; | ||
6 | +import androidx.test.ext.junit.runners.AndroidJUnit4; | ||
7 | + | ||
8 | +import org.junit.Test; | ||
9 | +import org.junit.runner.RunWith; | ||
10 | + | ||
11 | +import static org.junit.Assert.*; | ||
12 | + | ||
13 | +/** | ||
14 | + * Instrumented test, which will execute on an Android device. | ||
15 | + * | ||
16 | + * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
17 | + */ | ||
18 | +@RunWith(AndroidJUnit4.class) | ||
19 | +public class ExampleInstrumentedTest { | ||
20 | + @Test | ||
21 | + public void useAppContext() { | ||
22 | + // Context of the app under test. | ||
23 | + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); | ||
24 | + | ||
25 | + assertEquals("com.example.cctedv", appContext.getPackageName()); | ||
26 | + } | ||
27 | +} |
코드/CCTedV/app/src/main/AndroidManifest.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + package="com.example.cctedv" | ||
4 | + android:installLocation="auto" > | ||
5 | + | ||
6 | + <application | ||
7 | + android:allowBackup="true" | ||
8 | + android:icon="@mipmap/ic_launcher" | ||
9 | + android:label="@string/app_name" | ||
10 | + android:roundIcon="@mipmap/ic_launcher_round" | ||
11 | + android:supportsRtl="true" | ||
12 | + android:usesCleartextTraffic="true" | ||
13 | + android:theme="@style/AppTheme"> | ||
14 | + <activity android:name=".MainActivity"> | ||
15 | + <intent-filter> | ||
16 | + <action android:name="android.intent.action.MAIN" /> | ||
17 | + | ||
18 | + <category android:name="android.intent.category.LAUNCHER" /> | ||
19 | + </intent-filter> | ||
20 | + </activity> | ||
21 | + <activity android:name=".RecordActivity" /> | ||
22 | + <activity android:name=".SetUserImgActivity" /> | ||
23 | + </application> | ||
24 | + <uses-permission android:name="android.permission.INTERNET" /> | ||
25 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
26 | + <uses-permission android:name="android.permission.RECORD_AUDIO" android:required="true" /> | ||
27 | + <uses-permission android:name="android.permission.CAMERA" android:required="true" /> | ||
28 | + | ||
29 | +</manifest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import android.graphics.Bitmap; | ||
4 | + | ||
5 | +public class ImgItem { | ||
6 | + private String mFilename; | ||
7 | + private Bitmap selectedImage; | ||
8 | + public ImgItem() { | ||
9 | + mFilename = ""; | ||
10 | + } | ||
11 | + public String getmFilename() { | ||
12 | + return mFilename; | ||
13 | + } | ||
14 | + public void setmFilename(String name) { | ||
15 | + this.mFilename = name; | ||
16 | + } | ||
17 | + public Bitmap getSelectedImage(){return selectedImage;} | ||
18 | + public void setSelectedImage(Bitmap bm) {this.selectedImage = bm;} | ||
19 | +} |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import android.content.Context; | ||
4 | +import android.util.Log; | ||
5 | +import android.view.LayoutInflater; | ||
6 | +import android.view.View; | ||
7 | +import android.view.ViewGroup; | ||
8 | +import android.widget.BaseAdapter; | ||
9 | +import android.widget.ImageView; | ||
10 | +import android.widget.TextView; | ||
11 | + | ||
12 | +import java.util.ArrayList; | ||
13 | + | ||
14 | +public class ImgListAdapter extends BaseAdapter { | ||
15 | + private ArrayList<ImgItem> mImgList; | ||
16 | + private LayoutInflater mInflater; | ||
17 | + | ||
18 | + public ImgListAdapter(ArrayList<ImgItem> mImgList) { | ||
19 | + this.mImgList = mImgList; | ||
20 | + } | ||
21 | + @Override | ||
22 | + public int getCount() { | ||
23 | + return mImgList.size(); | ||
24 | + } | ||
25 | + | ||
26 | + @Override | ||
27 | + public View getView(int position, View convertView, ViewGroup parent) { | ||
28 | + | ||
29 | + final Context context = parent.getContext(); | ||
30 | + | ||
31 | + if (convertView == null) { | ||
32 | + if (mInflater == null) { | ||
33 | + mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); | ||
34 | + } | ||
35 | + convertView=LayoutInflater.from(context).inflate(R.layout.listview_img,null); | ||
36 | + } | ||
37 | + | ||
38 | + ImageView imgView = convertView.findViewById(R.id.img_source); | ||
39 | + TextView fileName = convertView.findViewById(R.id.list_file_name); | ||
40 | + | ||
41 | + ImgItem file = mImgList.get(position); | ||
42 | + Log.i("ITEM : ", file.getmFilename()); | ||
43 | + fileName.setText(file.getmFilename()); | ||
44 | + imgView.setImageBitmap(file.getSelectedImage()); | ||
45 | + | ||
46 | + convertView.setTag("" + position); | ||
47 | + return convertView; | ||
48 | + } | ||
49 | + | ||
50 | + @Override | ||
51 | + public long getItemId(int position) { | ||
52 | + return position; | ||
53 | + } | ||
54 | + | ||
55 | + @Override | ||
56 | + public Object getItem(int position) { | ||
57 | + return mImgList.get(position); | ||
58 | + } | ||
59 | + | ||
60 | + | ||
61 | +} |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import androidx.appcompat.app.AppCompatActivity; | ||
4 | +import androidx.core.app.ActivityCompat; | ||
5 | +import androidx.core.content.ContextCompat; | ||
6 | + | ||
7 | +import android.Manifest; | ||
8 | +import android.content.Intent; | ||
9 | +import android.content.pm.PackageManager; | ||
10 | +import android.os.AsyncTask; | ||
11 | +import android.os.Bundle; | ||
12 | +import android.util.Log; | ||
13 | +import android.view.View; | ||
14 | +import android.widget.Button; | ||
15 | +import android.widget.EditText; | ||
16 | +import android.widget.Toast; | ||
17 | + | ||
18 | + | ||
19 | +import java.util.ArrayList; | ||
20 | + | ||
21 | +public class MainActivity extends AppCompatActivity { | ||
22 | + /* | ||
23 | + * 데이터 수집용 페이지의 메인 액티비티 입니다. | ||
24 | + * 이 화면에서 사진 등록 페이지로 이동하거나, 사용자 등록 후 데이터 수집을 할 수 있습니다. | ||
25 | + * */ | ||
26 | + private static final int CAMERA_PERMISSION = 1; | ||
27 | + private static final int REQ_RECORDING_PERMISSION = 1; | ||
28 | + | ||
29 | + @Override | ||
30 | + protected void onCreate(Bundle savedInstanceState) { | ||
31 | + super.onCreate(savedInstanceState); | ||
32 | + setContentView(R.layout.activity_main); | ||
33 | + grantPermissions(); | ||
34 | + Button mButton; | ||
35 | + Button imgActivity; | ||
36 | + final EditText mEdit; | ||
37 | + | ||
38 | + Button fab = findViewById(R.id.fab); | ||
39 | + fab.setOnClickListener(new View.OnClickListener() { | ||
40 | + @Override | ||
41 | + public void onClick(View view) { | ||
42 | + Log.i("MainActivity","화면 전환"); | ||
43 | + Intent intent = new Intent(MainActivity.this, RecordActivity.class); | ||
44 | + startActivity(intent); | ||
45 | + } | ||
46 | + }); | ||
47 | + | ||
48 | + mEdit = (EditText)findViewById(R.id.userId); | ||
49 | + mButton = (Button)findViewById(R.id.enroll_user); | ||
50 | + mButton.setOnClickListener( | ||
51 | + new View.OnClickListener() | ||
52 | + { | ||
53 | + public void onClick(View view) | ||
54 | + { | ||
55 | + Singleton.getInstance().setUserId(mEdit.getText().toString()); | ||
56 | + String url = "http://victoria.khunet.net:5900/user"; | ||
57 | + final AsyncTask<Void, Void, String> execute = new NetworkTask(url, Singleton.getInstance().getUserId()).execute(); | ||
58 | + | ||
59 | + Log.v("UserId", Singleton.getInstance().getUserId()); | ||
60 | + } | ||
61 | + }); | ||
62 | + | ||
63 | + imgActivity = (Button)findViewById(R.id.img_activity); | ||
64 | + imgActivity.setOnClickListener(new View.OnClickListener() | ||
65 | + { | ||
66 | + public void onClick(View view) { | ||
67 | + Intent intent = new Intent(MainActivity.this, SetUserImgActivity.class); | ||
68 | + startActivity(intent); | ||
69 | + } | ||
70 | + }); | ||
71 | + | ||
72 | + } | ||
73 | + | ||
74 | + public boolean grantPermissions() { | ||
75 | + ArrayList<String> permissions_array = new ArrayList<>(); | ||
76 | + if (ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) { | ||
77 | + permissions_array.add(Manifest.permission.WRITE_EXTERNAL_STORAGE); | ||
78 | + permissions_array.add(Manifest.permission.READ_EXTERNAL_STORAGE); | ||
79 | + } | ||
80 | + if (ActivityCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) != PackageManager.PERMISSION_GRANTED) { | ||
81 | + permissions_array.add(Manifest.permission.RECORD_AUDIO); | ||
82 | + } | ||
83 | + if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) { | ||
84 | + permissions_array.add(Manifest.permission.CAMERA); | ||
85 | + } | ||
86 | + if(!permissions_array.isEmpty()) { | ||
87 | + String[] permissions = new String[permissions_array.size()]; | ||
88 | + permissions_array.toArray(permissions); | ||
89 | + //Callback으로 onRequestPermissionsResult 함수가 실행됨 | ||
90 | + ActivityCompat.requestPermissions(this, permissions, REQ_RECORDING_PERMISSION); | ||
91 | + ActivityCompat.requestPermissions(this, permissions, CAMERA_PERMISSION); | ||
92 | + return false; | ||
93 | + } else { | ||
94 | + return true; | ||
95 | + } | ||
96 | + } | ||
97 | + | ||
98 | + @Override | ||
99 | + public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { | ||
100 | + super.onRequestPermissionsResult(requestCode, permissions, grantResults); | ||
101 | + if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED){ | ||
102 | + Log.v(" ","Permission: " + permissions[0] + "was " + grantResults[0]); | ||
103 | + if (requestCode == REQ_RECORDING_PERMISSION) { | ||
104 | + for (int i = 0; i < grantResults.length ; i++) { | ||
105 | + if (grantResults[i] < 0) { | ||
106 | + Toast.makeText(MainActivity.this, "해당 권한을 활성화하셔야 합니다.",Toast.LENGTH_SHORT).show(); | ||
107 | + return; | ||
108 | + } | ||
109 | + } | ||
110 | + Log.v("info : ","mic permission"); | ||
111 | + } else if (requestCode == CAMERA_PERMISSION) { | ||
112 | + for (int i = 0; i < grantResults.length ; i++) { | ||
113 | + if (grantResults[i] < 0) { | ||
114 | + Toast.makeText(MainActivity.this, "해당 권한을 활성화하셔야 합니다.",Toast.LENGTH_SHORT).show(); | ||
115 | + return; | ||
116 | + } | ||
117 | + } | ||
118 | + Log.v("info : ","mic permission"); | ||
119 | + } | ||
120 | + } | ||
121 | + } | ||
122 | + | ||
123 | +} | ||
124 | + |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import android.os.AsyncTask; | ||
4 | +import android.util.Log; | ||
5 | + | ||
6 | +import java.io.File; | ||
7 | +import java.io.IOException; | ||
8 | +import okhttp3.MultipartBody; | ||
9 | +import okhttp3.OkHttpClient; | ||
10 | +import okhttp3.Request; | ||
11 | +import okhttp3.RequestBody; | ||
12 | +import okhttp3.Response; | ||
13 | + | ||
14 | +public class NetworkTask extends AsyncTask<Void, Void, String> { | ||
15 | + /* | ||
16 | + * 이 NetworkTask Class를 기반으로 http 통신을 이용하여 api를 호출 할 수 있습니다. | ||
17 | + * 이 NetworkTask Class는 사용자 프레임데이터를 송신하거나, 사용자 아이디를 등록할 때 사용됩니다. | ||
18 | + * */ | ||
19 | + private String url; | ||
20 | + private String data; | ||
21 | + private File mFiles = null; | ||
22 | + private String mDate = null; | ||
23 | + | ||
24 | + public NetworkTask(String url, String data) { | ||
25 | + this.url = url; | ||
26 | + this.data = data; | ||
27 | + } | ||
28 | + public NetworkTask(String url, String data, File mFiles, String mDate) { | ||
29 | + this.url = url; | ||
30 | + this.data = data; | ||
31 | + this.mFiles = mFiles; | ||
32 | + this.mDate = mDate; | ||
33 | + } | ||
34 | + | ||
35 | + @Override | ||
36 | + protected String doInBackground(Void... params) { | ||
37 | + | ||
38 | + if(mFiles == null) { | ||
39 | + RequestBody requestBody = new MultipartBody.Builder().setType(MultipartBody.FORM) | ||
40 | + .addFormDataPart("userId", data) | ||
41 | + .addFormDataPart("userToken", "") | ||
42 | + .build(); | ||
43 | + | ||
44 | + OkHttpClient client = new OkHttpClient(); | ||
45 | + Request request = new Request.Builder().url(url).post(requestBody).build(); | ||
46 | + Response response = null; | ||
47 | + try { | ||
48 | + response = client.newCall(request).execute(); | ||
49 | + } catch (IOException e) { | ||
50 | + e.printStackTrace(); | ||
51 | + } | ||
52 | + if (response != null) | ||
53 | + Log.i("RES", response.toString()); | ||
54 | + } else { | ||
55 | + Log.i("DATA SIZE ", String.valueOf(this.data.length())); | ||
56 | + RequestBody requestBody = new MultipartBody.Builder().setType(MultipartBody.FORM) | ||
57 | + .addFormDataPart("befEncoding", this.data) | ||
58 | + .addFormDataPart("userId", Singleton.getInstance().getUserId()) | ||
59 | + .addFormDataPart("timeStamp", this.mDate) | ||
60 | + .build(); | ||
61 | + | ||
62 | + | ||
63 | + OkHttpClient client = new OkHttpClient(); | ||
64 | + Request request = new Request.Builder().url(url).post(requestBody).build(); | ||
65 | + Response response = null; | ||
66 | + try { | ||
67 | + response = client.newCall(request).execute(); | ||
68 | + } catch (IOException e) { | ||
69 | + e.printStackTrace(); | ||
70 | + } | ||
71 | + if (response != null) | ||
72 | + Log.i("RES", response.toString()); | ||
73 | + } | ||
74 | + return "hello"; | ||
75 | + } | ||
76 | + | ||
77 | + @Override | ||
78 | + protected void onPostExecute(String s) { | ||
79 | + super.onPostExecute(s); | ||
80 | + if(s != null) | ||
81 | + Log.i("RESPONSE : ", s); | ||
82 | + } | ||
83 | + | ||
84 | + @Override | ||
85 | + protected void onPreExecute() { | ||
86 | + | ||
87 | + } | ||
88 | +} |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import android.app.Activity; | ||
4 | +import android.graphics.Bitmap; | ||
5 | +import android.graphics.BitmapFactory; | ||
6 | +import android.graphics.Matrix; | ||
7 | +import android.graphics.SurfaceTexture; | ||
8 | +import android.hardware.Camera; | ||
9 | +import android.os.Build; | ||
10 | +import android.os.Bundle; | ||
11 | +import android.os.Environment; | ||
12 | +import android.util.Log; | ||
13 | +import android.view.Gravity; | ||
14 | +import android.view.TextureView; | ||
15 | +import android.widget.FrameLayout; | ||
16 | + | ||
17 | +import java.io.ByteArrayOutputStream; | ||
18 | +import java.io.File; | ||
19 | +import java.io.FileNotFoundException; | ||
20 | +import java.io.FileOutputStream; | ||
21 | +import java.io.IOException; | ||
22 | +import java.text.DateFormat; | ||
23 | +import java.text.SimpleDateFormat; | ||
24 | +import java.util.Base64; | ||
25 | +import java.util.Date; | ||
26 | +import java.util.TimeZone; | ||
27 | + | ||
28 | +import androidx.annotation.RequiresApi; | ||
29 | + | ||
30 | +public class RecordActivity extends Activity implements TextureView.SurfaceTextureListener { | ||
31 | + private Camera mCamera; | ||
32 | + private TextureView mTextureView; | ||
33 | + | ||
34 | + private String mOutputFile; // 파일 | ||
35 | + private DateFormat mDateFormat; | ||
36 | + private String mDate; | ||
37 | + private String mUserName = "victoria"; | ||
38 | + public File directory; | ||
39 | + private FileOutputStream mFileOutputStream; | ||
40 | + private File mFiles; | ||
41 | + private boolean isCameraOpen = false; | ||
42 | + | ||
43 | + private int mUnitTime = 2000; | ||
44 | + private int mRemainingFileSize; | ||
45 | + /* | ||
46 | + * 이 RecordActivity는 사용자별 데이터 프레임을 일정 unitTime별로 서버에 전송합니다. | ||
47 | + * */ | ||
48 | + | ||
49 | + @Override | ||
50 | + protected void onCreate(Bundle savedInstanceState) { | ||
51 | + super.onCreate(savedInstanceState); | ||
52 | + setContentView(R.layout.activity_record); | ||
53 | + | ||
54 | + mTextureView = new TextureView(this); | ||
55 | + mTextureView.setSurfaceTextureListener(this); | ||
56 | + | ||
57 | + | ||
58 | + setContentView(mTextureView); | ||
59 | + } | ||
60 | + | ||
61 | + | ||
62 | + public void settingVideoInfo() { | ||
63 | + TimeZone mTimeZone = TimeZone.getDefault(); | ||
64 | + mDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); | ||
65 | + mDateFormat.setTimeZone(mTimeZone); | ||
66 | + mDate = mDateFormat.format(new Date()); | ||
67 | + mOutputFile = Environment.getExternalStorageDirectory().getAbsolutePath() + "/CCTedV" + "/" + mUserName + "_" + mDate; | ||
68 | + Log.i("PATH :: ", mOutputFile); | ||
69 | + mFiles = new File(mOutputFile); | ||
70 | + | ||
71 | + mRemainingFileSize = calculateGap(mDate)*44100*2; | ||
72 | + try { | ||
73 | + mFileOutputStream = new FileOutputStream(mOutputFile); | ||
74 | + } catch (FileNotFoundException e) { | ||
75 | + e.printStackTrace(); | ||
76 | + } | ||
77 | + } | ||
78 | + | ||
79 | + public void makeDir(){ | ||
80 | + directory = new File(Environment.getExternalStorageDirectory() + File.separator + "CCTedV"); | ||
81 | + boolean success = true; | ||
82 | + if (!directory.exists()) { | ||
83 | + success = directory.mkdirs(); | ||
84 | + } | ||
85 | + if (success) { | ||
86 | + Log.v("FILE", "Directory is exist"); | ||
87 | + } else { | ||
88 | + Log.e("FILE", "Directory not created"); | ||
89 | + } | ||
90 | + } | ||
91 | + | ||
92 | + @Override | ||
93 | + public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { | ||
94 | + Log.i("hello", "aaa"); | ||
95 | + makeDir(); | ||
96 | + settingVideoInfo(); | ||
97 | + | ||
98 | + isCameraOpen = true; | ||
99 | + mCamera = Camera.open(); | ||
100 | + | ||
101 | + Camera.Size previewSize = mCamera.getParameters().getPreviewSize(); | ||
102 | + mTextureView.setLayoutParams(new FrameLayout.LayoutParams( | ||
103 | + previewSize.width, previewSize.height, Gravity.CENTER)); | ||
104 | + | ||
105 | + try { | ||
106 | + mCamera.setPreviewTexture(surface); | ||
107 | + } catch (IOException t) { | ||
108 | + } | ||
109 | + | ||
110 | + mCamera.startPreview(); | ||
111 | + | ||
112 | + mCamera.setPreviewCallback(new Camera.PreviewCallback() { | ||
113 | + | ||
114 | + @RequiresApi(api = Build.VERSION_CODES.O) | ||
115 | + public void onPreviewFrame(final byte[] data, final Camera camera) { | ||
116 | + if(isCameraOpen) { | ||
117 | + if(!accumulateFile(data)) { | ||
118 | + if (mFiles.exists()) { | ||
119 | + try { | ||
120 | + //파일 저장 | ||
121 | + mFileOutputStream.close(); | ||
122 | + mFileOutputStream.flush(); | ||
123 | + mFileOutputStream = null; | ||
124 | + mFiles.delete(); | ||
125 | + // URL 설정. | ||
126 | + String url = "http://victoria.khunet.net:5900/upload"; | ||
127 | + | ||
128 | + mDate = mDateFormat.format(new Date()); | ||
129 | + File photo=new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/CCTedV" + "/" + "img" + "_" + mDate+".jpeg"); | ||
130 | + FileOutputStream fos = new FileOutputStream(photo); | ||
131 | + Bitmap bmp = mTextureView.getBitmap(); | ||
132 | + ByteArrayOutputStream stream = new ByteArrayOutputStream(); | ||
133 | + bmp.compress(Bitmap.CompressFormat.JPEG, 100, stream); | ||
134 | + byte[] currentData = stream.toByteArray(); | ||
135 | + | ||
136 | +// fos = new FileOutputStream(photo); | ||
137 | +// fos.write(currentData); | ||
138 | +// fos.flush(); | ||
139 | +// fos.close(); | ||
140 | + | ||
141 | + String s = Base64.getEncoder().encodeToString(currentData); | ||
142 | + | ||
143 | + // AsyncTask를 통해 HttpURLConnection 수행. | ||
144 | + (new NetworkTask(url, s, mFiles, mDate)).execute(); | ||
145 | + photo.delete(); | ||
146 | + | ||
147 | + | ||
148 | + } catch (IOException e) { | ||
149 | + e.printStackTrace(); | ||
150 | + } | ||
151 | + | ||
152 | + //다시 시작 | ||
153 | + settingVideoInfo(); | ||
154 | + } | ||
155 | + } | ||
156 | + } | ||
157 | + // Process the contents of byte for whatever you need | ||
158 | + } | ||
159 | + }); | ||
160 | + } | ||
161 | + | ||
162 | + @Override | ||
163 | + public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { | ||
164 | + | ||
165 | + } | ||
166 | + | ||
167 | + @Override | ||
168 | + public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { | ||
169 | + isCameraOpen = false; | ||
170 | + try { | ||
171 | + mFileOutputStream.close(); | ||
172 | + mFileOutputStream = null; | ||
173 | + } catch (IOException e) { | ||
174 | + e.printStackTrace(); | ||
175 | + } | ||
176 | + mCamera.stopPreview(); | ||
177 | + mCamera.release(); | ||
178 | + return true; | ||
179 | + } | ||
180 | + | ||
181 | + private boolean accumulateFile(byte[] byteBuffer) { | ||
182 | + try { | ||
183 | + if(mRemainingFileSize >0) { | ||
184 | + if(byteBuffer != null) { | ||
185 | + mFileOutputStream.write(byteBuffer); | ||
186 | + | ||
187 | + mRemainingFileSize -= byteBuffer.length * 2; | ||
188 | + return true; | ||
189 | + } else { | ||
190 | +// Toast.makeText(RecorderService.this, "Playing...", Toast.LENGTH_SHORT).show(); | ||
191 | + } | ||
192 | + } | ||
193 | + else { | ||
194 | + mFileOutputStream.close(); | ||
195 | + } | ||
196 | + }catch (IOException e){ | ||
197 | + Log.e("file out" , e.toString()); | ||
198 | + } | ||
199 | + return false; | ||
200 | + } | ||
201 | + | ||
202 | + private int calculateGap(String date) { | ||
203 | + String time = date.substring(11, date.length()); | ||
204 | + final int hour = Integer.parseInt(time.substring(0, 2)); | ||
205 | + final int min = Integer.parseInt(time.substring(3, 5)); | ||
206 | + final int sec = Integer.parseInt(time.substring(6, time.length())); | ||
207 | + final int timeInSecond = hour * 3600 + min * 60 + sec; | ||
208 | + final int gap = mUnitTime - (timeInSecond % mUnitTime); | ||
209 | + return gap; | ||
210 | + } | ||
211 | + | ||
212 | + @Override | ||
213 | + public void onSurfaceTextureUpdated(SurfaceTexture surface) { | ||
214 | + | ||
215 | + } | ||
216 | +} |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import android.content.DialogInterface; | ||
4 | +import android.content.Intent; | ||
5 | +import android.database.Cursor; | ||
6 | +import android.graphics.Bitmap; | ||
7 | +import android.graphics.BitmapFactory; | ||
8 | +import android.net.Uri; | ||
9 | +import android.os.Bundle; | ||
10 | +import android.provider.MediaStore; | ||
11 | +import android.util.Log; | ||
12 | +import android.view.LayoutInflater; | ||
13 | +import android.view.View; | ||
14 | +import android.widget.Button; | ||
15 | +import android.widget.EditText; | ||
16 | +import android.widget.ListView; | ||
17 | +import android.widget.Toast; | ||
18 | + | ||
19 | +import java.io.FileNotFoundException; | ||
20 | +import java.io.InputStream; | ||
21 | +import java.util.ArrayList; | ||
22 | + | ||
23 | +import androidx.appcompat.app.AlertDialog; | ||
24 | +import androidx.appcompat.app.AppCompatActivity; | ||
25 | + | ||
26 | +public class SetUserImgActivity extends AppCompatActivity { | ||
27 | + private ListView mListView; | ||
28 | + private ImgListAdapter mAdapter; | ||
29 | + private ArrayList<ImgItem> mImgList = null; | ||
30 | + private Button mImgAddButton; | ||
31 | + private Button uploadButton; | ||
32 | + private static int RESULT_LOAD_IMG = 1; | ||
33 | + | ||
34 | + | ||
35 | + InputStream imageStream; | ||
36 | + EditText mItemName; | ||
37 | + | ||
38 | + @Override | ||
39 | + protected void onCreate(Bundle savedInstanceState) { | ||
40 | + super.onCreate(savedInstanceState); | ||
41 | + setContentView(R.layout.activity_img); | ||
42 | + | ||
43 | + mListView = findViewById(R.id.list_view); | ||
44 | + mImgAddButton = (Button)findViewById(R.id.img_upload); | ||
45 | + mImgList = new ArrayList<>(); | ||
46 | + ImgItem t = new ImgItem(); | ||
47 | +// t.setmFilename(""); | ||
48 | + mImgList.add(t); | ||
49 | + | ||
50 | + mListView.setAdapter(mAdapter); | ||
51 | + | ||
52 | + mImgAddButton.setOnClickListener(new View.OnClickListener() | ||
53 | + { | ||
54 | + public void onClick(View view) { | ||
55 | + openBuilder(); | ||
56 | + } | ||
57 | + }); | ||
58 | + | ||
59 | + } | ||
60 | +// @Override | ||
61 | +// protected void onActivityResult(int reqCode, int resultCode, Intent data) { | ||
62 | +// super.onActivityResult(reqCode, resultCode, data); | ||
63 | +// if (resultCode == RESULT_OK) { | ||
64 | +// try { | ||
65 | +// final Uri imageUri = data.getData(); | ||
66 | +// imageStream = getContentResolver().openInputStream(imageUri); | ||
67 | +// | ||
68 | +// } catch (FileNotFoundException e) { | ||
69 | +// e.printStackTrace(); | ||
70 | +//// Toast.makeText(PostImage.this, "Something went wrong", Toast.LENGTH_LONG).show(); | ||
71 | +// } | ||
72 | +// | ||
73 | +// }else { | ||
74 | +//// Toast.makeText(PostImage.this, "You haven't picked Image",Toast.LENGTH_LONG).show(); | ||
75 | +// } | ||
76 | +// } | ||
77 | + | ||
78 | + public void openBuilder() { | ||
79 | + AlertDialog.Builder builder = new AlertDialog.Builder(this); | ||
80 | + // Get the layout inflater | ||
81 | + LayoutInflater inflater = this.getLayoutInflater(); | ||
82 | + View view = inflater.inflate(R.layout.dialog_img_upload, null); | ||
83 | + | ||
84 | +// AlertDialog alert = builder.create(); | ||
85 | +// mItemName = (EditText) view.findViewById(R.id.filename); | ||
86 | + | ||
87 | +// uploadButton = (Button) view.findViewById(R.id.select_img); | ||
88 | +// uploadButton.setOnClickListener(new View.OnClickListener() { | ||
89 | +// @Override | ||
90 | +// public void onClick(View v) { | ||
91 | +// Log.i("??","!"); | ||
92 | +// Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); | ||
93 | +// photoPickerIntent.setType("image/*"); | ||
94 | +// startActivityForResult(photoPickerIntent, RESULT_LOAD_IMG); | ||
95 | +// } | ||
96 | +// }); | ||
97 | + | ||
98 | + builder.setView(inflater.inflate(R.layout.dialog_img_upload, null)) | ||
99 | + // Add action buttons | ||
100 | + .setNegativeButton("UPLOAD", new DialogInterface.OnClickListener() { | ||
101 | + public void onClick(DialogInterface dialog, int id) { | ||
102 | +// Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); | ||
103 | +// photoPickerIntent.setType("image/*"); | ||
104 | +// startActivityForResult(photoPickerIntent, RESULT_LOAD_IMG); | ||
105 | + Intent i = new Intent( | ||
106 | + Intent.ACTION_PICK, | ||
107 | + android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); | ||
108 | + | ||
109 | + startActivityForResult(i, RESULT_LOAD_IMG); | ||
110 | + } | ||
111 | + }); | ||
112 | + | ||
113 | + | ||
114 | +// builder.setView(inflater.inflate(R.layout.dialog_img_upload, null)) | ||
115 | +// // Add action buttons | ||
116 | +// .setPositiveButton("OK", new DialogInterface.OnClickListener() { | ||
117 | +// public void onClick(DialogInterface dialog, int id) { | ||
118 | +// ImgItem t = new ImgItem(); | ||
119 | +//// t.setmFilename(mItemName.getText().toString()); | ||
120 | +//// Log.i("name : ", mItemName.getText().toString()); | ||
121 | +// final Bitmap selectedImage = BitmapFactory.decodeStream(imageStream); | ||
122 | +// t.setSelectedImage(selectedImage); | ||
123 | +// Log.i("?", selectedImage.toString()); | ||
124 | +// mImgList.add(t); | ||
125 | +// mAdapter = new ImgListAdapter(mImgList); | ||
126 | +// | ||
127 | +// mListView.setAdapter(mAdapter); | ||
128 | +// } | ||
129 | +// }); | ||
130 | + | ||
131 | + | ||
132 | + builder.show(); | ||
133 | + | ||
134 | + } | ||
135 | + | ||
136 | + @Override | ||
137 | + protected void onActivityResult(int requestCode, int resultCode, Intent data) { | ||
138 | + super.onActivityResult(requestCode, resultCode, data); | ||
139 | + | ||
140 | + if (requestCode == RESULT_LOAD_IMG && resultCode == RESULT_OK && null != data) { | ||
141 | + Uri selectedImage = data.getData(); | ||
142 | + String[] filePathColumn = { MediaStore.Images.Media.DATA }; | ||
143 | + | ||
144 | + Cursor cursor = getContentResolver().query(selectedImage, | ||
145 | + filePathColumn, null, null, null); | ||
146 | + cursor.moveToFirst(); | ||
147 | + | ||
148 | + int columnIndex = cursor.getColumnIndex(filePathColumn[0]); | ||
149 | + String picturePath = cursor.getString(columnIndex); | ||
150 | + cursor.close(); | ||
151 | + | ||
152 | + ImgItem t = new ImgItem(); | ||
153 | +// t.setmFilename(mItemName.getText().toString()); | ||
154 | +// Log.i("name : ", mItemName.getText().toString()); | ||
155 | + Bitmap selectedImg = BitmapFactory.decodeFile(picturePath); | ||
156 | + t.setSelectedImage(selectedImg); | ||
157 | + mImgList.add(t); | ||
158 | + mAdapter = new ImgListAdapter(mImgList); | ||
159 | + | ||
160 | + mListView.setAdapter(mAdapter); | ||
161 | + | ||
162 | +// ImageView imageView = (ImageView) findViewById(R.id.imgView); | ||
163 | +// imageView.setImageBitmap(BitmapFactory.decodeFile(picturePath)); | ||
164 | + | ||
165 | + } | ||
166 | + | ||
167 | + | ||
168 | + } | ||
169 | + | ||
170 | + @Override | ||
171 | + public void onResume() { | ||
172 | + super.onResume(); | ||
173 | + mAdapter = new ImgListAdapter(mImgList); | ||
174 | + Log.d("size", String.valueOf(mImgList.size())); | ||
175 | + mListView.setAdapter(mAdapter); | ||
176 | + } | ||
177 | +} |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +public class Singleton { | ||
4 | + private String userId; | ||
5 | + public String getUserId() | ||
6 | + { | ||
7 | + return userId; | ||
8 | + } | ||
9 | + public void setUserId(String data) | ||
10 | + { | ||
11 | + this.userId = data; | ||
12 | + } | ||
13 | + private static Singleton instance = null; | ||
14 | + /* | ||
15 | + * 이 Singleton은 애플리케이션이 시작될 때 어떤 클래스가 최초 한번만 메모리를 할당하고(Static) 그 메모리에 인스턴스를 만들어 사용하는 클래스입니다. | ||
16 | + * 유저 정보를 저장하고 접근할 때, 사용됩니다. | ||
17 | + * */ | ||
18 | + public static synchronized Singleton getInstance(){ | ||
19 | + if(null == instance){ | ||
20 | + instance = new Singleton(); | ||
21 | + } | ||
22 | + return instance; | ||
23 | + } | ||
24 | +} |
8.44 KB
2.4 KB
3.05 KB
2.11 KB
8.22 KB
1 | +<vector android:height="24dp" android:tint="#FFFFFF" | ||
2 | + android:viewportHeight="24.0" android:viewportWidth="24.0" | ||
3 | + android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> | ||
4 | + <path android:fillColor="#010101" android:pathData="M12,12m-8,0a8,8 0,1 1,16 0a8,8 0,1 1,-16 0"/> | ||
5 | +</vector> |
1 | +<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | + xmlns:aapt="http://schemas.android.com/aapt" | ||
3 | + android:width="108dp" | ||
4 | + android:height="108dp" | ||
5 | + android:viewportWidth="108" | ||
6 | + android:viewportHeight="108"> | ||
7 | + <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z"> | ||
8 | + <aapt:attr name="android:fillColor"> | ||
9 | + <gradient | ||
10 | + android:endX="85.84757" | ||
11 | + android:endY="92.4963" | ||
12 | + android:startX="42.9492" | ||
13 | + android:startY="49.59793" | ||
14 | + android:type="linear"> | ||
15 | + <item | ||
16 | + android:color="#44000000" | ||
17 | + android:offset="0.0" /> | ||
18 | + <item | ||
19 | + android:color="#00000000" | ||
20 | + android:offset="1.0" /> | ||
21 | + </gradient> | ||
22 | + </aapt:attr> | ||
23 | + </path> | ||
24 | + <path | ||
25 | + android:fillColor="#FFFFFF" | ||
26 | + android:fillType="nonZero" | ||
27 | + android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z" | ||
28 | + android:strokeWidth="1" | ||
29 | + android:strokeColor="#00000000" /> | ||
30 | +</vector> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
4.72 KB
4.95 KB
8.44 KB
2.4 KB
3.05 KB
2.11 KB
8.22 KB
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + android:width="108dp" | ||
4 | + android:height="108dp" | ||
5 | + android:viewportWidth="108" | ||
6 | + android:viewportHeight="108"> | ||
7 | + <path | ||
8 | + android:fillColor="#3DDC84" | ||
9 | + android:pathData="M0,0h108v108h-108z" /> | ||
10 | + <path | ||
11 | + android:fillColor="#00000000" | ||
12 | + android:pathData="M9,0L9,108" | ||
13 | + android:strokeWidth="0.8" | ||
14 | + android:strokeColor="#33FFFFFF" /> | ||
15 | + <path | ||
16 | + android:fillColor="#00000000" | ||
17 | + android:pathData="M19,0L19,108" | ||
18 | + android:strokeWidth="0.8" | ||
19 | + android:strokeColor="#33FFFFFF" /> | ||
20 | + <path | ||
21 | + android:fillColor="#00000000" | ||
22 | + android:pathData="M29,0L29,108" | ||
23 | + android:strokeWidth="0.8" | ||
24 | + android:strokeColor="#33FFFFFF" /> | ||
25 | + <path | ||
26 | + android:fillColor="#00000000" | ||
27 | + android:pathData="M39,0L39,108" | ||
28 | + android:strokeWidth="0.8" | ||
29 | + android:strokeColor="#33FFFFFF" /> | ||
30 | + <path | ||
31 | + android:fillColor="#00000000" | ||
32 | + android:pathData="M49,0L49,108" | ||
33 | + android:strokeWidth="0.8" | ||
34 | + android:strokeColor="#33FFFFFF" /> | ||
35 | + <path | ||
36 | + android:fillColor="#00000000" | ||
37 | + android:pathData="M59,0L59,108" | ||
38 | + android:strokeWidth="0.8" | ||
39 | + android:strokeColor="#33FFFFFF" /> | ||
40 | + <path | ||
41 | + android:fillColor="#00000000" | ||
42 | + android:pathData="M69,0L69,108" | ||
43 | + android:strokeWidth="0.8" | ||
44 | + android:strokeColor="#33FFFFFF" /> | ||
45 | + <path | ||
46 | + android:fillColor="#00000000" | ||
47 | + android:pathData="M79,0L79,108" | ||
48 | + android:strokeWidth="0.8" | ||
49 | + android:strokeColor="#33FFFFFF" /> | ||
50 | + <path | ||
51 | + android:fillColor="#00000000" | ||
52 | + android:pathData="M89,0L89,108" | ||
53 | + android:strokeWidth="0.8" | ||
54 | + android:strokeColor="#33FFFFFF" /> | ||
55 | + <path | ||
56 | + android:fillColor="#00000000" | ||
57 | + android:pathData="M99,0L99,108" | ||
58 | + android:strokeWidth="0.8" | ||
59 | + android:strokeColor="#33FFFFFF" /> | ||
60 | + <path | ||
61 | + android:fillColor="#00000000" | ||
62 | + android:pathData="M0,9L108,9" | ||
63 | + android:strokeWidth="0.8" | ||
64 | + android:strokeColor="#33FFFFFF" /> | ||
65 | + <path | ||
66 | + android:fillColor="#00000000" | ||
67 | + android:pathData="M0,19L108,19" | ||
68 | + android:strokeWidth="0.8" | ||
69 | + android:strokeColor="#33FFFFFF" /> | ||
70 | + <path | ||
71 | + android:fillColor="#00000000" | ||
72 | + android:pathData="M0,29L108,29" | ||
73 | + android:strokeWidth="0.8" | ||
74 | + android:strokeColor="#33FFFFFF" /> | ||
75 | + <path | ||
76 | + android:fillColor="#00000000" | ||
77 | + android:pathData="M0,39L108,39" | ||
78 | + android:strokeWidth="0.8" | ||
79 | + android:strokeColor="#33FFFFFF" /> | ||
80 | + <path | ||
81 | + android:fillColor="#00000000" | ||
82 | + android:pathData="M0,49L108,49" | ||
83 | + android:strokeWidth="0.8" | ||
84 | + android:strokeColor="#33FFFFFF" /> | ||
85 | + <path | ||
86 | + android:fillColor="#00000000" | ||
87 | + android:pathData="M0,59L108,59" | ||
88 | + android:strokeWidth="0.8" | ||
89 | + android:strokeColor="#33FFFFFF" /> | ||
90 | + <path | ||
91 | + android:fillColor="#00000000" | ||
92 | + android:pathData="M0,69L108,69" | ||
93 | + android:strokeWidth="0.8" | ||
94 | + android:strokeColor="#33FFFFFF" /> | ||
95 | + <path | ||
96 | + android:fillColor="#00000000" | ||
97 | + android:pathData="M0,79L108,79" | ||
98 | + android:strokeWidth="0.8" | ||
99 | + android:strokeColor="#33FFFFFF" /> | ||
100 | + <path | ||
101 | + android:fillColor="#00000000" | ||
102 | + android:pathData="M0,89L108,89" | ||
103 | + android:strokeWidth="0.8" | ||
104 | + android:strokeColor="#33FFFFFF" /> | ||
105 | + <path | ||
106 | + android:fillColor="#00000000" | ||
107 | + android:pathData="M0,99L108,99" | ||
108 | + android:strokeWidth="0.8" | ||
109 | + android:strokeColor="#33FFFFFF" /> | ||
110 | + <path | ||
111 | + android:fillColor="#00000000" | ||
112 | + android:pathData="M19,29L89,29" | ||
113 | + android:strokeWidth="0.8" | ||
114 | + android:strokeColor="#33FFFFFF" /> | ||
115 | + <path | ||
116 | + android:fillColor="#00000000" | ||
117 | + android:pathData="M19,39L89,39" | ||
118 | + android:strokeWidth="0.8" | ||
119 | + android:strokeColor="#33FFFFFF" /> | ||
120 | + <path | ||
121 | + android:fillColor="#00000000" | ||
122 | + android:pathData="M19,49L89,49" | ||
123 | + android:strokeWidth="0.8" | ||
124 | + android:strokeColor="#33FFFFFF" /> | ||
125 | + <path | ||
126 | + android:fillColor="#00000000" | ||
127 | + android:pathData="M19,59L89,59" | ||
128 | + android:strokeWidth="0.8" | ||
129 | + android:strokeColor="#33FFFFFF" /> | ||
130 | + <path | ||
131 | + android:fillColor="#00000000" | ||
132 | + android:pathData="M19,69L89,69" | ||
133 | + android:strokeWidth="0.8" | ||
134 | + android:strokeColor="#33FFFFFF" /> | ||
135 | + <path | ||
136 | + android:fillColor="#00000000" | ||
137 | + android:pathData="M19,79L89,79" | ||
138 | + android:strokeWidth="0.8" | ||
139 | + android:strokeColor="#33FFFFFF" /> | ||
140 | + <path | ||
141 | + android:fillColor="#00000000" | ||
142 | + android:pathData="M29,19L29,89" | ||
143 | + android:strokeWidth="0.8" | ||
144 | + android:strokeColor="#33FFFFFF" /> | ||
145 | + <path | ||
146 | + android:fillColor="#00000000" | ||
147 | + android:pathData="M39,19L39,89" | ||
148 | + android:strokeWidth="0.8" | ||
149 | + android:strokeColor="#33FFFFFF" /> | ||
150 | + <path | ||
151 | + android:fillColor="#00000000" | ||
152 | + android:pathData="M49,19L49,89" | ||
153 | + android:strokeWidth="0.8" | ||
154 | + android:strokeColor="#33FFFFFF" /> | ||
155 | + <path | ||
156 | + android:fillColor="#00000000" | ||
157 | + android:pathData="M59,19L59,89" | ||
158 | + android:strokeWidth="0.8" | ||
159 | + android:strokeColor="#33FFFFFF" /> | ||
160 | + <path | ||
161 | + android:fillColor="#00000000" | ||
162 | + android:pathData="M69,19L69,89" | ||
163 | + android:strokeWidth="0.8" | ||
164 | + android:strokeColor="#33FFFFFF" /> | ||
165 | + <path | ||
166 | + android:fillColor="#00000000" | ||
167 | + android:pathData="M79,19L79,89" | ||
168 | + android:strokeWidth="0.8" | ||
169 | + android:strokeColor="#33FFFFFF" /> | ||
170 | +</vector> |
4.72 KB
4.95 KB
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + android:layout_width="match_parent" | ||
4 | + android:layout_height="match_parent" | ||
5 | + xmlns:tools="http://schemas.android.com/tools"> | ||
6 | + <LinearLayout | ||
7 | + android:id="@+id/rl_down" | ||
8 | + android:layout_width="match_parent" | ||
9 | + android:layout_height="match_parent" | ||
10 | + tools:context=".SetUserImgActivity" | ||
11 | + android:orientation="vertical" | ||
12 | + android:background="@drawable/pic_back02" | ||
13 | + tools:ignore="MissingConstraints"> | ||
14 | + <Button | ||
15 | + android:id="@+id/img_upload" | ||
16 | + android:layout_width="137dp" | ||
17 | + android:layout_height="137dp" | ||
18 | + android:layout_marginTop="40dp" | ||
19 | + android:layout_gravity="center" | ||
20 | + android:background="@drawable/btn_upload" | ||
21 | + /> | ||
22 | + <ListView | ||
23 | + android:id="@+id/list_view" | ||
24 | + android:layout_width="match_parent" | ||
25 | + android:layout_height="match_parent"/> | ||
26 | + </LinearLayout> | ||
27 | + | ||
28 | +</androidx.constraintlayout.widget.ConstraintLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + xmlns:app="http://schemas.android.com/apk/res-auto" | ||
4 | + xmlns:tools="http://schemas.android.com/tools" | ||
5 | + android:layout_width="match_parent" | ||
6 | + android:layout_height="match_parent" | ||
7 | + tools:context=".MainActivity"> | ||
8 | + | ||
9 | + <LinearLayout | ||
10 | + android:id="@+id/rl" | ||
11 | + android:layout_width="match_parent" | ||
12 | + android:layout_height="560dp" | ||
13 | + android:background="@drawable/pic_back" | ||
14 | + android:orientation="vertical" | ||
15 | + app:layout_constraintStart_toStartOf="parent" | ||
16 | + app:layout_constraintTop_toTopOf="parent" | ||
17 | + tools:context=".MainActivity"> | ||
18 | + | ||
19 | + <LinearLayout | ||
20 | + android:id="@+id/rl_up" | ||
21 | + android:layout_width="match_parent" | ||
22 | + android:layout_height="300dp" | ||
23 | + android:orientation="vertical" | ||
24 | + tools:context=".MainActivity"> | ||
25 | + | ||
26 | + <TextView | ||
27 | + android:layout_width="315dp" | ||
28 | + android:layout_height="wrap_content" | ||
29 | + android:layout_gravity="center" | ||
30 | + android:layout_marginTop="45dp" | ||
31 | + android:fontFamily="@res/font/nanumsquarer" | ||
32 | + android:gravity="left" | ||
33 | + android:text="User ID Setting" | ||
34 | + android:textColor="#FFFFFF" | ||
35 | + android:textSize="24dp" | ||
36 | + /> | ||
37 | + | ||
38 | + <EditText | ||
39 | + android:id="@+id/userId" | ||
40 | + android:layout_width="315dp" | ||
41 | + android:layout_height="56dp" | ||
42 | + android:layout_gravity="center" | ||
43 | + android:layout_marginTop="45dp" | ||
44 | + android:backgroundTint = "#FFFFFF"/> | ||
45 | + | ||
46 | + <Button | ||
47 | + android:id="@+id/enroll_user" | ||
48 | + android:layout_width="315dp" | ||
49 | + android:layout_height="56dp" | ||
50 | + android:layout_gravity="center" | ||
51 | + android:layout_marginTop="45dp" | ||
52 | + android:background="@drawable/btn_enroll" /> | ||
53 | + </LinearLayout> | ||
54 | + | ||
55 | + <LinearLayout | ||
56 | + android:id="@+id/rl_down" | ||
57 | + android:layout_width="match_parent" | ||
58 | + android:layout_height="260dp" | ||
59 | + android:orientation="vertical" | ||
60 | + tools:context=".MainActivity"> | ||
61 | + | ||
62 | + <TextView | ||
63 | + android:layout_width="315dp" | ||
64 | + android:layout_height="wrap_content" | ||
65 | + android:layout_gravity="center" | ||
66 | + android:layout_marginTop="20dp" | ||
67 | + android:fontFamily="@res/font/nanumsquarer" | ||
68 | + android:gravity="center" | ||
69 | + android:text="Recording" | ||
70 | + android:textColor="#FFFFFF" | ||
71 | + android:textSize="30dp" /> | ||
72 | + | ||
73 | + <LinearLayout | ||
74 | + android:layout_width="match_parent" | ||
75 | + android:layout_height="0dp" | ||
76 | + android:layout_weight="1" | ||
77 | + android:gravity="bottom" | ||
78 | + android:paddingTop="10dp" | ||
79 | + android:layout_marginTop="23dp" | ||
80 | + android:orientation="horizontal"> | ||
81 | + | ||
82 | + <androidx.constraintlayout.widget.ConstraintLayout | ||
83 | + android:layout_width="0dp" | ||
84 | + android:layout_height="match_parent" | ||
85 | + android:layout_weight="1" | ||
86 | + android:gravity="center" | ||
87 | + android:orientation="vertical"> | ||
88 | + </androidx.constraintlayout.widget.ConstraintLayout> | ||
89 | + <androidx.constraintlayout.widget.ConstraintLayout | ||
90 | + android:layout_width="0dp" | ||
91 | + android:layout_height="match_parent" | ||
92 | + android:layout_weight="2" | ||
93 | + android:gravity="center" | ||
94 | + android:orientation="vertical"> | ||
95 | + <Button | ||
96 | + android:id="@+id/fab" | ||
97 | + android:layout_width="137dp" | ||
98 | + android:layout_height="137dp" | ||
99 | + android:layout_gravity="center" | ||
100 | + android:background="@drawable/btn_cam" | ||
101 | + app:layout_constraintEnd_toEndOf="parent" | ||
102 | + app:layout_constraintStart_toStartOf="parent" | ||
103 | + tools:layout_editor_absoluteY="0dp" /> | ||
104 | + </androidx.constraintlayout.widget.ConstraintLayout> | ||
105 | + <androidx.constraintlayout.widget.ConstraintLayout | ||
106 | + android:layout_width="0dp" | ||
107 | + android:layout_height="match_parent" | ||
108 | + android:layout_weight="1" | ||
109 | + android:gravity="center" | ||
110 | + android:orientation="vertical"> | ||
111 | + | ||
112 | + <Button | ||
113 | + android:id="@+id/img_activity" | ||
114 | + android:layout_width="58dp" | ||
115 | + android:layout_height="58dp" | ||
116 | + android:layout_gravity="center" | ||
117 | + android:background="@drawable/btn_plus" | ||
118 | + app:layout_constraintEnd_toEndOf="parent" | ||
119 | + app:layout_constraintStart_toStartOf="parent" | ||
120 | + app:layout_constraintBottom_toBottomOf="parent" | ||
121 | + android:layout_marginBottom="15dp" | ||
122 | + tools:layout_editor_absoluteY="92dp" /> | ||
123 | + | ||
124 | + </androidx.constraintlayout.widget.ConstraintLayout> | ||
125 | + </LinearLayout> | ||
126 | + | ||
127 | + </LinearLayout> | ||
128 | + </LinearLayout> | ||
129 | + | ||
130 | + <androidx.coordinatorlayout.widget.CoordinatorLayout | ||
131 | + android:id="@+id/coordinatorLayout" | ||
132 | + android:layout_width="match_parent" | ||
133 | + android:layout_height="wrap_content" | ||
134 | + app:layout_constraintBottom_toBottomOf="parent" | ||
135 | + app:layout_constraintEnd_toStartOf="parent" | ||
136 | + app:layout_constraintStart_toStartOf="parent"> | ||
137 | + | ||
138 | + <com.google.android.material.bottomappbar.BottomAppBar | ||
139 | + android:id="@+id/bottom_app_bar" | ||
140 | + android:layout_width="match_parent" | ||
141 | + android:layout_height="wrap_content" | ||
142 | + android:layout_gravity="bottom" | ||
143 | + app:backgroundTint="#303F9F" | ||
144 | + app:fabAlignmentMode="center" /> | ||
145 | + | ||
146 | + </androidx.coordinatorlayout.widget.CoordinatorLayout> | ||
147 | +</androidx.constraintlayout.widget.ConstraintLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + xmlns:app="http://schemas.android.com/apk/res-auto" | ||
4 | + xmlns:tools="http://schemas.android.com/tools" | ||
5 | + android:layout_width="match_parent" | ||
6 | + android:layout_height="match_parent" | ||
7 | + tools:context=".RecordActivity"> | ||
8 | + <TextureView | ||
9 | + android:id="@+id/textureView1" | ||
10 | + android:layout_width="wrap_content" | ||
11 | + android:layout_height="wrap_content" | ||
12 | + android:layout_alignParentTop="true" | ||
13 | + android:layout_centerHorizontal="true" /> | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | +</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + android:orientation="vertical" | ||
4 | + android:layout_width="300dp" | ||
5 | + android:layout_height="230dp"> | ||
6 | + | ||
7 | + <TextView | ||
8 | + android:layout_width="match_parent" | ||
9 | + android:layout_height="64dp" | ||
10 | + android:layout_gravity="center" | ||
11 | + android:background="#193B81" | ||
12 | + android:textColor="#FFFFFF" | ||
13 | + android:fontFamily="@res/font/nanumsquarer" | ||
14 | + android:text="이미지 업로드" | ||
15 | + android:gravity="center" | ||
16 | + android:textSize="20dp" | ||
17 | + /> | ||
18 | + | ||
19 | + | ||
20 | +</LinearLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + android:layout_width="match_parent" | ||
4 | + android:layout_height="wrap_content" | ||
5 | + android:orientation="vertical" | ||
6 | + android:paddingTop="20dp" | ||
7 | + android:paddingRight="23dp" | ||
8 | + android:paddingLeft="23dp"> | ||
9 | + <LinearLayout | ||
10 | + android:layout_width="match_parent" | ||
11 | + android:layout_height="wrap_content" | ||
12 | + android:orientation="horizontal" | ||
13 | + android:padding="5dp"> | ||
14 | + <ImageView | ||
15 | + android:id="@+id/img_source" | ||
16 | + android:layout_width="150dp" | ||
17 | + android:layout_height="150dp"/> | ||
18 | + <LinearLayout | ||
19 | + android:layout_marginLeft="3dp" | ||
20 | + android:layout_width="match_parent" | ||
21 | + android:layout_height="wrap_content" | ||
22 | + android:layout_marginTop="60dp" | ||
23 | + android:orientation="horizontal" | ||
24 | + android:layout_marginStart="3dp"> | ||
25 | + <TextView | ||
26 | + android:id="@+id/list_file_name" | ||
27 | + android:layout_width="match_parent" | ||
28 | + android:layout_height="match_parent" | ||
29 | + android:gravity="center" | ||
30 | + android:text="권주희" | ||
31 | + android:textColor="#000000" | ||
32 | + android:textSize="20dp" | ||
33 | + /> | ||
34 | + </LinearLayout> | ||
35 | + </LinearLayout> | ||
36 | + | ||
37 | + | ||
38 | +</LinearLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | + <background android:drawable="@drawable/ic_launcher_background" /> | ||
4 | + <foreground android:drawable="@drawable/ic_launcher_foreground" /> | ||
5 | +</adaptive-icon> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | + <background android:drawable="@drawable/ic_launcher_background" /> | ||
4 | + <foreground android:drawable="@drawable/ic_launcher_foreground" /> | ||
5 | +</adaptive-icon> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
3.51 KB
5.21 KB
2.57 KB
3.31 KB
4.81 KB
7.3 KB
7.72 KB
11.6 KB
10.4 KB
16.2 KB
코드/CCTedV/app/src/main/res/values/colors.xml
0 → 100644
코드/CCTedV/app/src/main/res/values/styles.xml
0 → 100644
1 | +<resources> | ||
2 | + | ||
3 | + <!-- Base application theme. --> | ||
4 | + <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
5 | + <!-- Customize your theme here. --> | ||
6 | + <item name="colorPrimary">@color/colorPrimary</item> | ||
7 | + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
8 | + <item name="colorAccent">@color/colorAccent</item> | ||
9 | + </style> | ||
10 | + | ||
11 | +</resources> |
1 | +package com.example.cctedv; | ||
2 | + | ||
3 | +import org.junit.Test; | ||
4 | + | ||
5 | +import static org.junit.Assert.*; | ||
6 | + | ||
7 | +/** | ||
8 | + * Example local unit test, which will execute on the development machine (host). | ||
9 | + * | ||
10 | + * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
11 | + */ | ||
12 | +public class ExampleUnitTest { | ||
13 | + @Test | ||
14 | + public void addition_isCorrect() { | ||
15 | + assertEquals(4, 2 + 2); | ||
16 | + } | ||
17 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
코드/CCTedV/build.gradle
0 → 100644
1 | +// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
2 | + | ||
3 | +buildscript { | ||
4 | + | ||
5 | + repositories { | ||
6 | + google() | ||
7 | + jcenter() | ||
8 | + | ||
9 | + } | ||
10 | + dependencies { | ||
11 | + classpath 'com.android.tools.build:gradle:3.6.3' | ||
12 | + | ||
13 | + // NOTE: Do not place your application dependencies here; they belong | ||
14 | + // in the individual module build.gradle files | ||
15 | + } | ||
16 | +} | ||
17 | + | ||
18 | +allprojects { | ||
19 | + repositories { | ||
20 | + google() | ||
21 | + jcenter() | ||
22 | + | ||
23 | + } | ||
24 | +} | ||
25 | + | ||
26 | +task clean(type: Delete) { | ||
27 | + delete rootProject.buildDir | ||
28 | +} |
코드/CCTedV/gradle.properties
0 → 100644
1 | +# Project-wide Gradle settings. | ||
2 | +# IDE (e.g. Android Studio) users: | ||
3 | +# Gradle settings configured through the IDE *will override* | ||
4 | +# any settings specified in this file. | ||
5 | +# For more details on how to configure your build environment visit | ||
6 | +# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
7 | +# Specifies the JVM arguments used for the daemon process. | ||
8 | +# The setting is particularly useful for tweaking memory settings. | ||
9 | +org.gradle.jvmargs=-Xmx1536m | ||
10 | +# When configured, Gradle will run in incubating parallel mode. | ||
11 | +# This option should only be used with decoupled projects. More details, visit | ||
12 | +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
13 | +# org.gradle.parallel=true | ||
14 | +# AndroidX package structure to make it clearer which packages are bundled with the | ||
15 | +# Android operating system, and which are packaged with your app's APK | ||
16 | +# https://developer.android.com/topic/libraries/support-library/androidx-rn | ||
17 | +android.useAndroidX=true | ||
18 | +# Automatically convert third-party libraries to use AndroidX | ||
19 | +android.enableJetifier=true | ||
20 | + |
코드/CCTedV/gradle/wrapper/gradle-wrapper.jar
0 → 100644
No preview for this file type
코드/CCTedV/gradlew
0 → 100755
1 | +#!/usr/bin/env sh | ||
2 | + | ||
3 | +############################################################################## | ||
4 | +## | ||
5 | +## Gradle start up script for UN*X | ||
6 | +## | ||
7 | +############################################################################## | ||
8 | + | ||
9 | +# Attempt to set APP_HOME | ||
10 | +# Resolve links: $0 may be a link | ||
11 | +PRG="$0" | ||
12 | +# Need this for relative symlinks. | ||
13 | +while [ -h "$PRG" ] ; do | ||
14 | + ls=`ls -ld "$PRG"` | ||
15 | + link=`expr "$ls" : '.*-> \(.*\)$'` | ||
16 | + if expr "$link" : '/.*' > /dev/null; then | ||
17 | + PRG="$link" | ||
18 | + else | ||
19 | + PRG=`dirname "$PRG"`"/$link" | ||
20 | + fi | ||
21 | +done | ||
22 | +SAVED="`pwd`" | ||
23 | +cd "`dirname \"$PRG\"`/" >/dev/null | ||
24 | +APP_HOME="`pwd -P`" | ||
25 | +cd "$SAVED" >/dev/null | ||
26 | + | ||
27 | +APP_NAME="Gradle" | ||
28 | +APP_BASE_NAME=`basename "$0"` | ||
29 | + | ||
30 | +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
31 | +DEFAULT_JVM_OPTS="" | ||
32 | + | ||
33 | +# Use the maximum available, or set MAX_FD != -1 to use that value. | ||
34 | +MAX_FD="maximum" | ||
35 | + | ||
36 | +warn () { | ||
37 | + echo "$*" | ||
38 | +} | ||
39 | + | ||
40 | +die () { | ||
41 | + echo | ||
42 | + echo "$*" | ||
43 | + echo | ||
44 | + exit 1 | ||
45 | +} | ||
46 | + | ||
47 | +# OS specific support (must be 'true' or 'false'). | ||
48 | +cygwin=false | ||
49 | +msys=false | ||
50 | +darwin=false | ||
51 | +nonstop=false | ||
52 | +case "`uname`" in | ||
53 | + CYGWIN* ) | ||
54 | + cygwin=true | ||
55 | + ;; | ||
56 | + Darwin* ) | ||
57 | + darwin=true | ||
58 | + ;; | ||
59 | + MINGW* ) | ||
60 | + msys=true | ||
61 | + ;; | ||
62 | + NONSTOP* ) | ||
63 | + nonstop=true | ||
64 | + ;; | ||
65 | +esac | ||
66 | + | ||
67 | +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar | ||
68 | + | ||
69 | +# Determine the Java command to use to start the JVM. | ||
70 | +if [ -n "$JAVA_HOME" ] ; then | ||
71 | + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then | ||
72 | + # IBM's JDK on AIX uses strange locations for the executables | ||
73 | + JAVACMD="$JAVA_HOME/jre/sh/java" | ||
74 | + else | ||
75 | + JAVACMD="$JAVA_HOME/bin/java" | ||
76 | + fi | ||
77 | + if [ ! -x "$JAVACMD" ] ; then | ||
78 | + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME | ||
79 | + | ||
80 | +Please set the JAVA_HOME variable in your environment to match the | ||
81 | +location of your Java installation." | ||
82 | + fi | ||
83 | +else | ||
84 | + JAVACMD="java" | ||
85 | + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
86 | + | ||
87 | +Please set the JAVA_HOME variable in your environment to match the | ||
88 | +location of your Java installation." | ||
89 | +fi | ||
90 | + | ||
91 | +# Increase the maximum file descriptors if we can. | ||
92 | +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then | ||
93 | + MAX_FD_LIMIT=`ulimit -H -n` | ||
94 | + if [ $? -eq 0 ] ; then | ||
95 | + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then | ||
96 | + MAX_FD="$MAX_FD_LIMIT" | ||
97 | + fi | ||
98 | + ulimit -n $MAX_FD | ||
99 | + if [ $? -ne 0 ] ; then | ||
100 | + warn "Could not set maximum file descriptor limit: $MAX_FD" | ||
101 | + fi | ||
102 | + else | ||
103 | + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" | ||
104 | + fi | ||
105 | +fi | ||
106 | + | ||
107 | +# For Darwin, add options to specify how the application appears in the dock | ||
108 | +if $darwin; then | ||
109 | + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" | ||
110 | +fi | ||
111 | + | ||
112 | +# For Cygwin, switch paths to Windows format before running java | ||
113 | +if $cygwin ; then | ||
114 | + APP_HOME=`cygpath --path --mixed "$APP_HOME"` | ||
115 | + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` | ||
116 | + JAVACMD=`cygpath --unix "$JAVACMD"` | ||
117 | + | ||
118 | + # We build the pattern for arguments to be converted via cygpath | ||
119 | + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` | ||
120 | + SEP="" | ||
121 | + for dir in $ROOTDIRSRAW ; do | ||
122 | + ROOTDIRS="$ROOTDIRS$SEP$dir" | ||
123 | + SEP="|" | ||
124 | + done | ||
125 | + OURCYGPATTERN="(^($ROOTDIRS))" | ||
126 | + # Add a user-defined pattern to the cygpath arguments | ||
127 | + if [ "$GRADLE_CYGPATTERN" != "" ] ; then | ||
128 | + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" | ||
129 | + fi | ||
130 | + # Now convert the arguments - kludge to limit ourselves to /bin/sh | ||
131 | + i=0 | ||
132 | + for arg in "$@" ; do | ||
133 | + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` | ||
134 | + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option | ||
135 | + | ||
136 | + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition | ||
137 | + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` | ||
138 | + else | ||
139 | + eval `echo args$i`="\"$arg\"" | ||
140 | + fi | ||
141 | + i=$((i+1)) | ||
142 | + done | ||
143 | + case $i in | ||
144 | + (0) set -- ;; | ||
145 | + (1) set -- "$args0" ;; | ||
146 | + (2) set -- "$args0" "$args1" ;; | ||
147 | + (3) set -- "$args0" "$args1" "$args2" ;; | ||
148 | + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; | ||
149 | + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; | ||
150 | + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; | ||
151 | + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; | ||
152 | + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; | ||
153 | + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; | ||
154 | + esac | ||
155 | +fi | ||
156 | + | ||
157 | +# Escape application args | ||
158 | +save () { | ||
159 | + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done | ||
160 | + echo " " | ||
161 | +} | ||
162 | +APP_ARGS=$(save "$@") | ||
163 | + | ||
164 | +# Collect all arguments for the java command, following the shell quoting and substitution rules | ||
165 | +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" | ||
166 | + | ||
167 | +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong | ||
168 | +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then | ||
169 | + cd "$(dirname "$0")" | ||
170 | +fi | ||
171 | + | ||
172 | +exec "$JAVACMD" "$@" |
코드/CCTedV/gradlew.bat
0 → 100644
1 | +@if "%DEBUG%" == "" @echo off | ||
2 | +@rem ########################################################################## | ||
3 | +@rem | ||
4 | +@rem Gradle startup script for Windows | ||
5 | +@rem | ||
6 | +@rem ########################################################################## | ||
7 | + | ||
8 | +@rem Set local scope for the variables with windows NT shell | ||
9 | +if "%OS%"=="Windows_NT" setlocal | ||
10 | + | ||
11 | +set DIRNAME=%~dp0 | ||
12 | +if "%DIRNAME%" == "" set DIRNAME=. | ||
13 | +set APP_BASE_NAME=%~n0 | ||
14 | +set APP_HOME=%DIRNAME% | ||
15 | + | ||
16 | +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
17 | +set DEFAULT_JVM_OPTS= | ||
18 | + | ||
19 | +@rem Find java.exe | ||
20 | +if defined JAVA_HOME goto findJavaFromJavaHome | ||
21 | + | ||
22 | +set JAVA_EXE=java.exe | ||
23 | +%JAVA_EXE% -version >NUL 2>&1 | ||
24 | +if "%ERRORLEVEL%" == "0" goto init | ||
25 | + | ||
26 | +echo. | ||
27 | +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
28 | +echo. | ||
29 | +echo Please set the JAVA_HOME variable in your environment to match the | ||
30 | +echo location of your Java installation. | ||
31 | + | ||
32 | +goto fail | ||
33 | + | ||
34 | +:findJavaFromJavaHome | ||
35 | +set JAVA_HOME=%JAVA_HOME:"=% | ||
36 | +set JAVA_EXE=%JAVA_HOME%/bin/java.exe | ||
37 | + | ||
38 | +if exist "%JAVA_EXE%" goto init | ||
39 | + | ||
40 | +echo. | ||
41 | +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | ||
42 | +echo. | ||
43 | +echo Please set the JAVA_HOME variable in your environment to match the | ||
44 | +echo location of your Java installation. | ||
45 | + | ||
46 | +goto fail | ||
47 | + | ||
48 | +:init | ||
49 | +@rem Get command-line arguments, handling Windows variants | ||
50 | + | ||
51 | +if not "%OS%" == "Windows_NT" goto win9xME_args | ||
52 | + | ||
53 | +:win9xME_args | ||
54 | +@rem Slurp the command line arguments. | ||
55 | +set CMD_LINE_ARGS= | ||
56 | +set _SKIP=2 | ||
57 | + | ||
58 | +:win9xME_args_slurp | ||
59 | +if "x%~1" == "x" goto execute | ||
60 | + | ||
61 | +set CMD_LINE_ARGS=%* | ||
62 | + | ||
63 | +:execute | ||
64 | +@rem Setup the command line | ||
65 | + | ||
66 | +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ||
67 | + | ||
68 | +@rem Execute Gradle | ||
69 | +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | ||
70 | + | ||
71 | +:end | ||
72 | +@rem End local scope for the variables with windows NT shell | ||
73 | +if "%ERRORLEVEL%"=="0" goto mainEnd | ||
74 | + | ||
75 | +:fail | ||
76 | +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | ||
77 | +rem the _cmd.exe /c_ return code! | ||
78 | +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | ||
79 | +exit /b 1 | ||
80 | + | ||
81 | +:mainEnd | ||
82 | +if "%OS%"=="Windows_NT" endlocal | ||
83 | + | ||
84 | +:omega |
코드/CCTedV/import-summary.txt
0 → 100644
1 | +ECLIPSE ANDROID PROJECT IMPORT SUMMARY | ||
2 | +====================================== | ||
3 | + | ||
4 | +Ignored Files: | ||
5 | +-------------- | ||
6 | +The following files were *not* copied into the new Gradle project; you | ||
7 | +should evaluate whether these are still needed in your project and if | ||
8 | +so manually move them: | ||
9 | + | ||
10 | +* .gitignore | ||
11 | +* LICENSE | ||
12 | +* README.md | ||
13 | +* build.xml | ||
14 | +* doc/ | ||
15 | +* doc/allclasses-frame.html | ||
16 | +* doc/allclasses-noframe.html | ||
17 | +* doc/constant-values.html | ||
18 | +* doc/deprecated-list.html | ||
19 | +* doc/help-doc.html | ||
20 | +* doc/index-all.html | ||
21 | +* doc/index.html | ||
22 | +* doc/net/ | ||
23 | +* doc/net/majorkernelpanic/ | ||
24 | +* doc/net/majorkernelpanic/streaming/ | ||
25 | +* doc/net/majorkernelpanic/streaming/MediaStream.html | ||
26 | +* doc/net/majorkernelpanic/streaming/Session.Callback.html | ||
27 | +* doc/net/majorkernelpanic/streaming/Session.html | ||
28 | +* doc/net/majorkernelpanic/streaming/SessionBuilder.html | ||
29 | +* doc/net/majorkernelpanic/streaming/Stream.html | ||
30 | +* doc/net/majorkernelpanic/streaming/audio/ | ||
31 | +* doc/net/majorkernelpanic/streaming/audio/AACStream.html | ||
32 | +* doc/net/majorkernelpanic/streaming/audio/AMRNBStream.html | ||
33 | +* doc/net/majorkernelpanic/streaming/audio/AudioQuality.html | ||
34 | +* doc/net/majorkernelpanic/streaming/audio/AudioStream.html | ||
35 | +* doc/net/majorkernelpanic/streaming/audio/package-frame.html | ||
36 | +* doc/net/majorkernelpanic/streaming/audio/package-summary.html | ||
37 | +* doc/net/majorkernelpanic/streaming/audio/package-tree.html | ||
38 | +* doc/net/majorkernelpanic/streaming/exceptions/ | ||
39 | +* doc/net/majorkernelpanic/streaming/exceptions/CameraInUseException.html | ||
40 | +* doc/net/majorkernelpanic/streaming/exceptions/ConfNotSupportedException.html | ||
41 | +* doc/net/majorkernelpanic/streaming/exceptions/InvalidSurfaceException.html | ||
42 | +* doc/net/majorkernelpanic/streaming/exceptions/StorageUnavailableException.html | ||
43 | +* doc/net/majorkernelpanic/streaming/exceptions/package-frame.html | ||
44 | +* doc/net/majorkernelpanic/streaming/exceptions/package-summary.html | ||
45 | +* doc/net/majorkernelpanic/streaming/exceptions/package-tree.html | ||
46 | +* doc/net/majorkernelpanic/streaming/gl/ | ||
47 | +* doc/net/majorkernelpanic/streaming/gl/SurfaceManager.html | ||
48 | +* doc/net/majorkernelpanic/streaming/gl/SurfaceView.ViewAspectRatioMeasurer.html | ||
49 | +* doc/net/majorkernelpanic/streaming/gl/SurfaceView.html | ||
50 | +* doc/net/majorkernelpanic/streaming/gl/TextureManager.html | ||
51 | +* doc/net/majorkernelpanic/streaming/gl/package-frame.html | ||
52 | +* doc/net/majorkernelpanic/streaming/gl/package-summary.html | ||
53 | +* doc/net/majorkernelpanic/streaming/gl/package-tree.html | ||
54 | +* doc/net/majorkernelpanic/streaming/hw/ | ||
55 | +* doc/net/majorkernelpanic/streaming/hw/CodecManager.html | ||
56 | +* doc/net/majorkernelpanic/streaming/hw/EncoderDebugger.html | ||
57 | +* doc/net/majorkernelpanic/streaming/hw/NV21Convertor.html | ||
58 | +* doc/net/majorkernelpanic/streaming/hw/package-frame.html | ||
59 | +* doc/net/majorkernelpanic/streaming/hw/package-summary.html | ||
60 | +* doc/net/majorkernelpanic/streaming/hw/package-tree.html | ||
61 | +* doc/net/majorkernelpanic/streaming/mp4/ | ||
62 | +* doc/net/majorkernelpanic/streaming/mp4/MP4Config.html | ||
63 | +* doc/net/majorkernelpanic/streaming/mp4/MP4Parser.html | ||
64 | +* doc/net/majorkernelpanic/streaming/mp4/package-frame.html | ||
65 | +* doc/net/majorkernelpanic/streaming/mp4/package-summary.html | ||
66 | +* doc/net/majorkernelpanic/streaming/mp4/package-tree.html | ||
67 | +* doc/net/majorkernelpanic/streaming/package-frame.html | ||
68 | +* doc/net/majorkernelpanic/streaming/package-summary.html | ||
69 | +* doc/net/majorkernelpanic/streaming/package-tree.html | ||
70 | +* doc/net/majorkernelpanic/streaming/rtcp/ | ||
71 | +* doc/net/majorkernelpanic/streaming/rtcp/SenderReport.html | ||
72 | +* doc/net/majorkernelpanic/streaming/rtcp/package-frame.html | ||
73 | +* doc/net/majorkernelpanic/streaming/rtcp/package-summary.html | ||
74 | +* doc/net/majorkernelpanic/streaming/rtcp/package-tree.html | ||
75 | +* doc/net/majorkernelpanic/streaming/rtp/ | ||
76 | +* doc/net/majorkernelpanic/streaming/rtp/AACADTSPacketizer.html | ||
77 | +* doc/net/majorkernelpanic/streaming/rtp/AACLATMPacketizer.html | ||
78 | +* doc/net/majorkernelpanic/streaming/rtp/AMRNBPacketizer.html | ||
79 | +* doc/net/majorkernelpanic/streaming/rtp/AbstractPacketizer.html | ||
80 | +* doc/net/majorkernelpanic/streaming/rtp/H263Packetizer.html | ||
81 | +* doc/net/majorkernelpanic/streaming/rtp/H264Packetizer.html | ||
82 | +* doc/net/majorkernelpanic/streaming/rtp/MediaCodecInputStream.html | ||
83 | +* doc/net/majorkernelpanic/streaming/rtp/RtpSocket.html | ||
84 | +* doc/net/majorkernelpanic/streaming/rtp/package-frame.html | ||
85 | +* doc/net/majorkernelpanic/streaming/rtp/package-summary.html | ||
86 | +* doc/net/majorkernelpanic/streaming/rtp/package-tree.html | ||
87 | +* doc/net/majorkernelpanic/streaming/rtsp/ | ||
88 | +* doc/net/majorkernelpanic/streaming/rtsp/RtspClient.Callback.html | ||
89 | +* doc/net/majorkernelpanic/streaming/rtsp/RtspClient.html | ||
90 | +* doc/net/majorkernelpanic/streaming/rtsp/RtspServer.CallbackListener.html | ||
91 | +* doc/net/majorkernelpanic/streaming/rtsp/RtspServer.LocalBinder.html | ||
92 | +* doc/net/majorkernelpanic/streaming/rtsp/RtspServer.html | ||
93 | +* doc/net/majorkernelpanic/streaming/rtsp/UriParser.html | ||
94 | +* doc/net/majorkernelpanic/streaming/rtsp/package-frame.html | ||
95 | +* doc/net/majorkernelpanic/streaming/rtsp/package-summary.html | ||
96 | +* doc/net/majorkernelpanic/streaming/rtsp/package-tree.html | ||
97 | +* doc/net/majorkernelpanic/streaming/video/ | ||
98 | +* doc/net/majorkernelpanic/streaming/video/CodecManager.html | ||
99 | +* doc/net/majorkernelpanic/streaming/video/H263Stream.html | ||
100 | +* doc/net/majorkernelpanic/streaming/video/H264Stream.html | ||
101 | +* doc/net/majorkernelpanic/streaming/video/VideoQuality.html | ||
102 | +* doc/net/majorkernelpanic/streaming/video/VideoStream.html | ||
103 | +* doc/net/majorkernelpanic/streaming/video/package-frame.html | ||
104 | +* doc/net/majorkernelpanic/streaming/video/package-summary.html | ||
105 | +* doc/net/majorkernelpanic/streaming/video/package-tree.html | ||
106 | +* doc/overview-frame.html | ||
107 | +* doc/overview-summary.html | ||
108 | +* doc/overview-tree.html | ||
109 | +* doc/package-list | ||
110 | +* doc/resources/ | ||
111 | +* doc/resources/background.gif | ||
112 | +* doc/resources/tab.gif | ||
113 | +* doc/resources/titlebar.gif | ||
114 | +* doc/resources/titlebar_end.gif | ||
115 | +* doc/serialized-form.html | ||
116 | +* doc/stylesheet.css | ||
117 | +* pom.xml | ||
118 | +* proguard-project.txt | ||
119 | + | ||
120 | +Moved Files: | ||
121 | +------------ | ||
122 | +Android Gradle projects use a different directory structure than ADT | ||
123 | +Eclipse projects. Here's how the projects were restructured: | ||
124 | + | ||
125 | +* AndroidManifest.xml => libstreaming/src/main/AndroidManifest.xml | ||
126 | +* res/ => libstreaming/src/main/res/ | ||
127 | +* src/ => libstreaming/src/main/java/ | ||
128 | + | ||
129 | +Next Steps: | ||
130 | +----------- | ||
131 | +You can now build the project. The Gradle project needs network | ||
132 | +connectivity to download dependencies. | ||
133 | + | ||
134 | +Bugs: | ||
135 | +----- | ||
136 | +If for some reason your project does not build, and you determine that | ||
137 | +it is due to a bug or limitation of the Eclipse to Gradle importer, | ||
138 | +please file a bug at http://b.android.com with category | ||
139 | +Component-Tools. | ||
140 | + | ||
141 | +(This import summary is for your information only, and can be deleted | ||
142 | +after import once you are satisfied with the results.) |
코드/CCTedV/libstreaming/build.gradle
0 → 100644
1 | +apply plugin: 'com.android.library' | ||
2 | + | ||
3 | +android { | ||
4 | + compileSdkVersion 28 | ||
5 | + buildToolsVersion "28.0.3" | ||
6 | + | ||
7 | + defaultConfig { | ||
8 | + minSdkVersion 22 | ||
9 | + targetSdkVersion 28 | ||
10 | + } | ||
11 | + | ||
12 | + buildTypes { | ||
13 | + release { | ||
14 | + minifyEnabled false | ||
15 | + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
16 | + } | ||
17 | + } | ||
18 | +} |
1 | +o/classes |
1 | +o/classes |
코드/CCTedV/libstreaming/build/.transforms/9a2661818141376b3b46b3136993b447/classes/classes 2.dex
0 → 100644
No preview for this file type
코드/CCTedV/libstreaming/build/.transforms/9a2661818141376b3b46b3136993b447/classes/classes.dex
0 → 100644
No preview for this file type
1 | +o/classes |
1 | +o/classes |
코드/CCTedV/libstreaming/build/.transforms/ee83d86b4de389724518094209bbcc5d/classes/classes 3.dex
0 → 100644
No preview for this file type
코드/CCTedV/libstreaming/build/.transforms/ee83d86b4de389724518094209bbcc5d/classes/classes.dex
0 → 100644
No preview for this file type
1 | +/** | ||
2 | + * Automatically generated file. DO NOT MODIFY | ||
3 | + */ | ||
4 | +package net.majorkernelpanic.streaming; | ||
5 | + | ||
6 | +public final class BuildConfig { | ||
7 | + public static final boolean DEBUG = Boolean.parseBoolean("true"); | ||
8 | + public static final String LIBRARY_PACKAGE_NAME = "net.majorkernelpanic.streaming"; | ||
9 | + /** | ||
10 | + * @deprecated APPLICATION_ID is misleading in libraries. For the library package name use LIBRARY_PACKAGE_NAME | ||
11 | + */ | ||
12 | + @Deprecated | ||
13 | + public static final String APPLICATION_ID = "net.majorkernelpanic.streaming"; | ||
14 | + public static final String BUILD_TYPE = "debug"; | ||
15 | + public static final String FLAVOR = ""; | ||
16 | + public static final int VERSION_CODE = 40; | ||
17 | + public static final String VERSION_NAME = "4.0"; | ||
18 | +} |
1 | +/** | ||
2 | + * Automatically generated file. DO NOT MODIFY | ||
3 | + */ | ||
4 | +package net.majorkernelpanic.streaming; | ||
5 | + | ||
6 | +public final class BuildConfig { | ||
7 | + public static final boolean DEBUG = Boolean.parseBoolean("true"); | ||
8 | + public static final String LIBRARY_PACKAGE_NAME = "net.majorkernelpanic.streaming"; | ||
9 | + /** | ||
10 | + * @deprecated APPLICATION_ID is misleading in libraries. For the library package name use LIBRARY_PACKAGE_NAME | ||
11 | + */ | ||
12 | + @Deprecated | ||
13 | + public static final String APPLICATION_ID = "net.majorkernelpanic.streaming"; | ||
14 | + public static final String BUILD_TYPE = "debug"; | ||
15 | + public static final String FLAVOR = ""; | ||
16 | + public static final int VERSION_CODE = 40; | ||
17 | + public static final String VERSION_NAME = "4.0"; | ||
18 | +} |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + package="net.majorkernelpanic.streaming" | ||
4 | + android:versionCode="40" | ||
5 | + android:versionName="4.0" > | ||
6 | + | ||
7 | + <uses-sdk | ||
8 | + android:minSdkVersion="22" | ||
9 | + android:targetSdkVersion="28" /> | ||
10 | + | ||
11 | +</manifest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + package="net.majorkernelpanic.streaming" | ||
4 | + android:versionCode="40" | ||
5 | + android:versionName="4.0" > | ||
6 | + | ||
7 | + <uses-sdk | ||
8 | + android:minSdkVersion="22" | ||
9 | + android:targetSdkVersion="28" /> | ||
10 | + | ||
11 | +</manifest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
코드/CCTedV/libstreaming/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json
0 → 100644
1 | +[{"outputType":{"type":"AAPT_FRIENDLY_MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":40,"versionName":"4.0","enabled":true,"outputFile":"libstreaming-debug.aar","fullName":"debug","baseName":"debug","dirName":""},"path":"AndroidManifest.xml","properties":{"packageId":"net.majorkernelpanic.streaming","split":""}}] | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
No preview for this file type
1 | +{} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
코드/CCTedV/libstreaming/build/intermediates/annotation_processor_list/debug/annotationProcessors.json
0 → 100644
1 | +{} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
File mode changed
File mode changed
No preview for this file type
No preview for this file type
코드/CCTedV/libstreaming/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R 3.jar
0 → 100644
No preview for this file type
코드/CCTedV/libstreaming/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar
0 → 100644
No preview for this file type
File mode changed
File mode changed
No preview for this file type
No preview for this file type
코드/CCTedV/libstreaming/build/intermediates/incremental/debug-mergeNativeLibs/merge-state 2
0 → 100644
No preview for this file type
코드/CCTedV/libstreaming/build/intermediates/incremental/mergeDebugJniLibFolders/merger 3.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/jniLibs"/></dataSet></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
코드/CCTedV/libstreaming/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/jniLibs"/></dataSet></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/shaders"/></dataSet></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/shaders"/></dataSet></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/assets"/><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/build/intermediates/shader_assets/debug/out"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/assets"/></dataSet></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/assets"/><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/build/intermediates/shader_assets/debug/out"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/assets"/></dataSet></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +#Sun Jun 14 15:17:15 KST 2020 |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/res"/><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/build/generated/res/rs/debug"/><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/main/res"/><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/build/generated/res/rs/debug"/><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/gwonjoohee/Desktop/CCTedV/libstreaming/src/debug/res"/></dataSet><mergedItems/></merger> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
코드/CCTedV/libstreaming/build/intermediates/symbol_list_with_package_name/debug/package-aware-r 2.txt
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/audio/AMRNBStream.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/audio/AudioQuality.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/audio/AudioStream.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/gl/SurfaceManager.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/gl/TextureManager.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/hw/EncoderDebugger.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/hw/NV21Convertor.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtcp/SenderReport.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/AACADTSPacketizer.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/AACLATMPacketizer.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/AMRNBPacketizer.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/AbstractPacketizer.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/H263Packetizer.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/H264Packetizer.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtp/MediaCodecInputStream.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/rtsp/RtcpDeinterleaver.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/video/CodecManager.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/video/H263Stream.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/video/H264Stream.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/video/VideoQuality.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/java/net/majorkernelpanic/streaming/video/VideoStream.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/libstreaming/src/main/res/.gitkeep
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/local.properties
0 → 100644
This diff is collapsed. Click to expand it.
코드/CCTedV/settings.gradle
0 → 100644
This diff is collapsed. Click to expand it.
코드/README.md
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/db.sqlite3
0 → 100644
No preview for this file type
코드/file_server/detection/__init__.py
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
코드/file_server/detection/admin.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/detection/apps.py
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
코드/file_server/detection/models.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/detection/tests.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/detection/urls.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/detection/views.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/__init__.py
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
코드/file_server/file/admin.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/apps.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/forms.py
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/file_server/file/migrations/__init__.py
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
코드/file_server/file/models.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/serializers.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/tests.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/urls.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file/views.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file_server/__init__.py
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
코드/file_server/file_server/settings.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file_server/urls.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/file_server/wsgi.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/manage.py
0 → 100755
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
104 KB
코드/file_server/user/__init__.py
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
코드/file_server/user/admin.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/user/apps.py
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/file_server/user/migrations/__init__.py
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
코드/file_server/user/models.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/user/tests.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/user/urls.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/file_server/user/views.py
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/README.md
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/app/.gitignore
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/app/build.gradle
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/app/proguard-rules.pro
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/whatsUP/app/src/main/AndroidManifest.xml
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/whatsUP/app/src/main/java/com/example/whatsup/ui/notifications/NotificationsFragment.java
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/app/src/main/java/com/example/whatsup/ui/notifications/NotificationsViewModel.java
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
3.51 KB
5.21 KB
2.57 KB
3.31 KB
4.81 KB
7.3 KB
7.72 KB
11.6 KB
10.4 KB
16.2 KB
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
코드/whatsUP/build.gradle
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/gradle.properties
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/gradle/wrapper/gradle-wrapper.jar
0 → 100644
No preview for this file type
This diff is collapsed. Click to expand it.
코드/whatsUP/gradlew
0 → 100755
This diff is collapsed. Click to expand it.
코드/whatsUP/gradlew.bat
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/local.properties
0 → 100644
This diff is collapsed. Click to expand it.
코드/whatsUP/settings.gradle
0 → 100644
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment