1

梦梦,

我想在德国北部更改(在 ICS 中)/system/etc/gps.conf 文件中的一些值以获得更好的值,以加快 locationManager/locationProvider 的启动。

是否有可能(无需植根设备)以编程方式使用 android API 读取/设置这些值,甚至暂时用于我的应用程序?

伊迪丝:来自 etc/gps/gpsconfig.xml 的 fe

- <job id="Assisted_Cold_Starts">
  - <task repeat="1000000">
    <startup ignore_rom_alm="true" ignore_ram_alm="true" /> 
  - <asst>
    - <!-- pos Lat="-30.0" Lon="-50.0" Alt="50" /--> 
      <pos Lat="33.7691" Lon="-84.4062" Alt="300" /> 
    - <!-- pos Lat="37.0" Lon="-122.0" Alt="50" /--> 
    - <!-- pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /--> 
    </asst>
    <req_pos_single acc="50" timeout="30" /> 
    </task>
  </job>

并来自 /etc/gps.conf:

NTP_SERVER=tw.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=http://207.114.133.116
SUPL_PORT=59910

想把它改成

NTP_SERVER=de.pool.npt.org
SUPL_HOST=supl.google.com
SUPL_PORT=7276
4

0 回答 0