Android 相机意图
我有一个简单的应用程序,它有一个按钮,允许用户通过单击它进入相机应用程序。如果我要在平板电脑处于横向模式下拍照的话,似乎一切都很好。它提示用户保存或放弃。点击保存后,返回到我的应用程序。
但是,当我尝试使用肖像模式拍摄照片时,单击“保存”按钮后,它将再次返回到相机应用程序。
为什么会这样呢?
I have a simple application that has a button that allows the user to enter the camera application by clicking it. It seems that things work fine if I were to take a picture having the tablet in landscape mode. It prompts the user to save or discard. After clicking save, it returns to my application.
However, when I attempted to capture a photo with a portrait mode, after clicking the save button, it will return to the camera application again.
Why is this so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
和你的申请没有任何关系。通过触发意图,您将调用设备上存在的相机应用程序。它的行为超出了你的能力范围
It has nothing to do with your application. By firing intent you are invoking camera application present on your device. Its behaviour out of your reach