Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AndiovisualRecord
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yu_Tung
AndiovisualRecord
Commits
18cb5e19
Commit
18cb5e19
authored
Jul 03, 2020
by
Yu_Tung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
因為只能單檔上傳所以先將分割檔案的功能去掉
parent
5d9f5315
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
build.gradle
app/build.gradle
+1
-1
MainActivity.java
...a/com/example/audiovisualrecord/ui/main/MainActivity.java
+11
-1
login.xml
app/src/main/res/layout/login.xml
+1
-0
No files found.
app/build.gradle
View file @
18cb5e19
...
@@ -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
{
...
...
app/src/main/java/com/example/audiovisualrecord/ui/main/MainActivity.java
View file @
18cb5e19
...
@@ -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
}
}
...
...
app/src/main/res/layout/login.xml
View file @
18cb5e19
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment