Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
android
android_highgold
Commits
704bc6e1
Commit
704bc6e1
authored
May 07, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
7c82de37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
HytechVedioActivity.java
.../com/mints/highgold/ui/activitys/HytechVedioActivity.java
+6
-6
No files found.
highgold/app/src/main/java/com/mints/highgold/ui/activitys/HytechVedioActivity.java
View file @
704bc6e1
...
@@ -456,12 +456,12 @@ public class HytechVedioActivity extends BaseActivity
...
@@ -456,12 +456,12 @@ public class HytechVedioActivity extends BaseActivity
// } else if (TextUtils.equals(btnText, "下载完成")) {
// } else if (TextUtils.equals(btnText, "下载完成")) {
// setInstallPermission();
// setInstallPermission();
// }
// }
Intent
intent
=
new
Intent
();
//
Intent intent = new Intent();
intent
.
setAction
(
"android.intent.action.VIEW"
);
//
intent.setAction("android.intent.action.VIEW");
Uri
content_url
=
Uri
.
parse
(
hytechVideoBean
.
getC_url
());
//
Uri content_url = Uri.parse(hytechVideoBean.getC_url());
intent
.
setData
(
content_url
);
//
intent.setData(content_url);
intent
.
setClassName
(
"com.android.browser"
,
"com.android.browser.BrowserActivity"
);
//
intent.setClassName("com.android.browser", "com.android.browser.BrowserActivity");
startActivity
(
intent
);
//
startActivity(intent);
}
}
}
}
break
;
break
;
...
...
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