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
73569019
Commit
73569019
authored
Sep 17, 2020
by
Yu_Tung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version 1.0.9 20200917
修改MediaSore出現rename前的video
parent
42151151
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
MainActivity.java
...a/com/example/audiovisualrecord/ui/main/MainActivity.java
+2
-1
No files found.
app/src/main/java/com/example/audiovisualrecord/ui/main/MainActivity.java
View file @
73569019
...
@@ -407,10 +407,11 @@ public class MainActivity extends BaseActivity implements MainContract.View, Vie
...
@@ -407,10 +407,11 @@ public class MainActivity extends BaseActivity implements MainContract.View, Vie
}
}
}
}
if
(
requestCode
==
PICK_FILE_REQUEST_CODE
&&
resultCode
==
RESULT_OK
)
{
if
(
requestCode
==
PICK_FILE_REQUEST_CODE
&&
resultCode
==
RESULT_OK
)
{
Uri
selectedFile
=
data
.
getData
();
Uri
selectedFile
=
data
.
getData
();
String
filePath
=
MagicFileChooser
.
getAbsolutePathFromUri
(
this
,
selectedFile
);
String
filePath
=
MagicFileChooser
.
getAbsolutePathFromUri
(
this
,
selectedFile
);
// Log.e("filePath", filePath + "");
// Log.e("filePath", filePath + "
1
");
// Log.e("ggggg", "" + selectedFile);
// Log.e("ggggg", "" + selectedFile);
checkFileTypeAndOpen
(
filePath
,
selectedFile
);
checkFileTypeAndOpen
(
filePath
,
selectedFile
);
}
}
...
...
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