| | |
| | | import com.tencent.mm.opensdk.openapi.WXAPIFactory; |
| | | import com.weikou.beibeivideo.entity.JumpDetail; |
| | | import com.weikou.beibeivideo.ui.login.LoginActivity; |
| | | import com.weikou.beibeivideo.ui.mine.BrowserActivity; |
| | | |
| | | import org.json.JSONException; |
| | | |
| | |
| | | |
| | | break; |
| | | |
| | | case "web": |
| | | if (params == null) |
| | | return; |
| | | { |
| | | String webUrl = params.getString("url").toString(); |
| | | String title = params.getString("title"); |
| | | context.startActivity(new Intent(context, BrowserActivity.class).putExtra("url", webUrl).putExtra("title", title)); |
| | | } |
| | | |
| | | |
| | | break; |
| | | |
| | | default: { |
| | | try { |
| | | Intent intent = new Intent(context, Class.forName(JumpActivityUtil.filterActivityName(detail.getActivity()))); |