|
@@ -47,14 +47,14 @@ public class BaseActionActivity extends BaseActivity {
|
|
|
finish();
|
|
|
}
|
|
|
|
|
|
- public void videoAction(String userId) {
|
|
|
- Log.d(TAG, "videoAction: " + userId);
|
|
|
+ public void videoAction(String value) {
|
|
|
+ Log.d(TAG, "videoAction: " + value);
|
|
|
String pkg = "com.sikey.skvideo";
|
|
|
String cls = pkg + ".activity.MainActivity";
|
|
|
ComponentName componet = new ComponentName(pkg, cls);
|
|
|
Intent intent = new Intent();
|
|
|
- intent.putExtra("ExtraVideoType", 1); //1:呼出 2:呼入
|
|
|
- intent.putExtra("ExtraVideoTargetId", userId);
|
|
|
+ intent.putExtra(Constant.EXTRA_VIDEO_TYPE, 1); //1:呼出 2:呼入
|
|
|
+ intent.putExtra(Constant.INTENT_VIEW_VALUE, value);
|
|
|
intent.setComponent(componet);
|
|
|
startActivity(intent);
|
|
|
finish();
|