| | |
| | | import com.tejia.lijin.app.util.Tools; |
| | | import com.tejia.lijin.app.util.clipboard.ClipboardUtil; |
| | | |
| | | import java.net.URLDecoder; |
| | | |
| | | public class WebViewUtil { |
| | | |
| | | public static Boolean interceptUrl(final Context context, String url) { |
| | |
| | | return true; |
| | | } else |
| | | return true; |
| | | } else if (url.startsWith("snssdk1128://")) {//抖音 |
| | | try { |
| | | Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); |
| | | intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); |
| | | context.startActivity(intent); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return true; |
| | | } |
| | | |
| | | return true; |