Commit 18cb5e19 by Yu_Tung

因為只能單檔上傳所以先將分割檔案的功能去掉

parent 5d9f5315
...@@ -9,7 +9,7 @@ android { ...@@ -9,7 +9,7 @@ android {
targetSdkVersion 29 targetSdkVersion 29
versionCode 1 versionCode 1
versionName "1.0.2" versionName "1.0.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
buildTypes { buildTypes {
......
...@@ -371,7 +371,17 @@ public class MainActivity extends BaseActivity implements MainContract.View, Vie ...@@ -371,7 +371,17 @@ public class MainActivity extends BaseActivity implements MainContract.View, Vie
String path = FileUtil.getFileAbsolutePath(this, data.getData()); String path = FileUtil.getFileAbsolutePath(this, data.getData());
String name = FileUtil.fileName(path); String name = FileUtil.fileName(path);
uriList.add(path); uriList.add(path);
mPresenter.segVideo(path, getResourceString(R.string.on_upload_vedio));
// 2020/07/03廠商方面說先做單檔上傳不用分割影片
//所以segVideo Function暫時先不用
// mPresenter.segVideo(path, getResourceString(R.string.on_upload_vedio));
ArrayList<String> VideoList = new ArrayList<>();
VideoList.add(path);
Log.e("Listsize",VideoList.size()+"");
Log.e("List",VideoList.get(0));
mPresenter.onGetSid(VideoList, getResourceString(R.string.on_upload_vedio));
// TODO here==================== // TODO here====================
//影片的uri //影片的uri
} }
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
android:hint="@string/login_password_hint" android:hint="@string/login_password_hint"
android:inputType="textPassword" android:inputType="textPassword"
android:textColorHint="@color/white" android:textColorHint="@color/white"
android:paddingStart="100dp" android:paddingStart="100dp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment