如何以编程方式检查地理标记是否已启用? [英] How can I programmatically check whether geo-tagging is enabled?

查看:113
本文介绍了如何以编程方式检查地理标记是否已启用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



是否可以在我的应用程序中以编程方式检查,如果选项我在使用camera-app(我使用的)设置中为geo-tagging图片激活了吗?

解决方案

通过 Camera.Parameters Javadoc ,但没有找到任何相关的方法。我认为这是不可能的,除非你重新实现 com.android.camera


I spent some time searching for an answer by myself, but couldn't find a solution.

Is it possible to check programmatically in my App, if the option for geo-tagging pictures in the settings of the camera-app (which I use) is activated or not?

解决方案

I looked through the Camera.Parameters Javadoc but didn't find any relevant methods. I don't think it is possible to do that programmatically unless you re-implement com.android.camera.

这篇关于如何以编程方式检查地理标记是否已启用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆