楼主:
kai1006 (kai)
2014-05-28 20:58:14各位大大好,
目前想在APP内调用系统相簿,
程式码如下:
Intent intent = new Intent(Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
intent.setType("image/*");
startActivityForResult(intent, 123);
但有个问题是,执行后,会先跳出一个对话框,
标题是"选择要使用的应用程式",
然后列出了两个可用的应用程式(A和B)让使用者选。
这边有没有办法筛选掉其中一个应用程式(B),
这样以后就固定使用A呢?
目前有GOOGLE过,有想过用filter或直接透过A的名称来启动。
可是filter部份不太有头绪,而透过指定名称的作法感觉不太
可能适用在所有android手机上。
谢谢!