|
@@ -262,10 +262,15 @@ public class FaceSelectActivity extends BaseActivity implements Listener.Content
|
|
|
|
|
|
private void gotoPhoto() {
|
|
|
//跳转相册
|
|
|
- Intent intent = new Intent(Intent.ACTION_PICK);
|
|
|
- intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, false);
|
|
|
- intent.setType("image/*");
|
|
|
- startActivityForResult(intent, 1011);
|
|
|
+ //该应用的包名
|
|
|
+ String pkg = "com.xplora.photos";
|
|
|
+ //应用的主activity类
|
|
|
+ String cls = "com.xplora.photos.MainActivity";
|
|
|
+ ComponentName componet = new ComponentName(pkg, cls);
|
|
|
+
|
|
|
+ Intent i = new Intent();
|
|
|
+ i.setComponent(componet);
|
|
|
+ startActivityForResult(i, 1011);
|
|
|
}
|
|
|
|
|
|
@Override
|