启用GPS不转发用户QUOT&;设置"? [英] Enable GPS without forwarding the user to "settings"?

查看:121
本文介绍了启用GPS不转发用户QUOT&;设置"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经被问类似的表格前,但我发现有关下列问题上没有真正的答案:

在我的Nexus One有一个小窗口打开/关闭几件事情在我的手机像WLAN,蓝牙,GPS,..

为什么这个小工具可以访问GPS,不转发我的设置屏幕?

和我怎么能在我自己的应用程序使用此功能?

在中提到许多网站,这是因为安全原因而作出的......但在一个strage的方式,这个小工具可以做到这一点?为什么?而更好的问题是:怎样

是否有人有线索?

解决方案
  

为什么这个小工具可以访问   GPS,不转发我的   设置屏幕?

由于小部件是由固件作者开发,谁写的设置屏幕相同的人。

  

和我怎么可以使用此功能   在我自己的应用程序?

您不能,由于Android 1.5的。对不起!

  

在中提到许多网站,这是   由于安全原因而作出的。

由于要求GPS谁被禁用的用户没有接入点preciate应用决定自己来重新启用它。

I know this question has been asked in similar forms before, but I found no real answer about the following issue:

On my Nexus One there's a widget to toggle on/off several things on my phone like wlan, bluetooth, gps,..

Why does this widget has access to the GPS, without forwarding me to the settings screen?

And how can I use this functionality in my own apps?

On many sites it is mentioned, this is done because of security reasons...but in a strage way, this widget may do this? why? and the better question is: how?

Does someone have a clue?

解决方案

Why does this widget has access to the GPS, without forwarding me to the settings screen?

Because the widget was developed by the firmware authors, the same people who wrote the Settings screen.

And how can I use this functionality in my own apps?

You can't, as of Android 1.5. Sorry!

On many sites it is mentioned, this is done because of security reasons

Because users who ask for GPS to be disabled do not appreciate applications deciding on their own to re-enable it.

这篇关于启用GPS不转发用户QUOT&;设置"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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