mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 2696|reply: 9
打印 prevThread nextThread

安全帽获取GPS信息非常慢

[copyURL]

21

主题

73

帖子

386

积分

midMem

Rank: 3Rank: 3

积分
386
jumpTo
owner
poston 2019-7-2 13:09 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
在安全帽中加了一个通过GPS模块获取位置信息的服务,服务启动到首次获取到GPS信息差不多半小时,获取到20几条GPS信息后又获取不到了信息了,而且安装“GPS测试仪”这样的app也无法定位。请问如何解决这个问题,谢谢!

locationManager的定义如下:
        locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
        locationManager.addGpsStatusListener(listener);
        locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 1, this);
reply

使用道具 report

10

主题

531

帖子

2491

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2491
sofa
poston 2019-7-2 14:15 | authorOnly
您好,请不要用cus1发帖,您最好注册一个帐号,这样我们好知道您是哪位客户,才能更好的提供服务。
reply agree Against

使用道具 report

0

主题

3

帖子

8

积分

newBie

Rank: 1

积分
8
bench
poston 2019-7-2 14:21 | authorOnly
账户: wangdan
reply agree Against

使用道具 report

10

主题

531

帖子

2491

积分

admin

Rank: 9Rank: 9Rank: 9

积分
2491
ground
poston 2019-7-2 14:25 | authorOnly
好的。
reply

使用道具 report

13

主题

373

帖子

2037

积分

vipMem

Rank: 6Rank: 6

积分
2037
5#
poston 2019-7-2 14:30 | authorOnly
是在户外测试的吗?只有户外才能搜到卫星。
reply agree Against

使用道具 report

0

主题

3

帖子

8

积分

newBie

Rank: 1

积分
8
6#
poston 2019-7-2 14:32 | authorOnly
{"latitude":305103183, "longitude":1144157183, "time": "2019-07-02 12:04:32", "puid": "PU_21322613"},
{"latitude":305104516, "longitude":1144157650, "time": "2019-07-02 12:04:41", "puid": "PU_21322613"},
{"latitude":305138216, "longitude":1144147783, "time": "2019-07-02 12:05:05", "puid": "PU_21322613"},
{"latitude":305114033, "longitude":1144153300, "time": "2019-07-02 12:05:11", "puid": "PU_21322613"},
{"latitude":305102183, "longitude":1144156066, "time": "2019-07-02 12:05:16", "puid": "PU_21322613"},
{"latitude":305101500, "longitude":1144156516, "time": "2019-07-02 12:05:21", "puid": "PU_21322613"},
{"latitude":305101650, "longitude":1144156683, "time": "2019-07-02 12:05:26", "puid": "PU_21322613"},
{"latitude":305101833, "longitude":1144156783, "time": "2019-07-02 12:05:31", "puid": "PU_21322613"},
{"latitude":305102866, "longitude":1144156416, "time": "2019-07-02 12:06:31", "puid": "PU_21322613"},
{"latitude":305103266, "longitude":1144156516, "time": "2019-07-02 12:06:41", "puid": "PU_21322613"},
{"latitude":305103549, "longitude":1144156399, "time": "2019-07-02 12:06:46", "puid": "PU_21322613"},
{"latitude":305103833, "longitude":1144156266, "time": "2019-07-02 12:06:51", "puid": "PU_21322613"},
{"latitude":305103549, "longitude":1144156183, "time": "2019-07-02 12:06:56", "puid": "PU_21322613"},
{"latitude":305103399, "longitude":1144156416, "time": "2019-07-02 12:07:01", "puid": "PU_21322613"},
{"latitude":305102800, "longitude":1144156399, "time": "2019-07-02 12:07:06", "puid": "PU_21322613"},
{"latitude":305102949, "longitude":1144156533, "time": "2019-07-02 12:07:11", "puid": "PU_21322613"},
{"latitude":305103250, "longitude":1144156783, "time": "2019-07-02 12:07:16", "puid": "PU_21322613"},
{"latitude":305103483, "longitude":1144156933, "time": "2019-07-02 12:07:21", "puid": "PU_21322613"},
{"latitude":305103983, "longitude":1144157083, "time": "2019-07-02 12:07:26", "puid": "PU_21322613"},
{"latitude":305104366, "longitude":1144157350, "time": "2019-07-02 12:07:31", "puid": "PU_21322613"},
{"latitude":305104850, "longitude":1144157650, "time": "2019-07-02 12:07:36", "puid": "PU_21322613"},
{"latitude":305106150, "longitude":1144157983, "time": "2019-07-02 12:07:41", "puid": "PU_21322613"},
reply agree Against

使用道具 report

0

主题

3

帖子

8

积分

newBie

Rank: 1

积分
8
7#
poston 2019-7-2 14:33 | authorOnly
是的,这个是今天下午测的,11:05开始测试, 12:04开始有信息, 12:07到12:41之间没有信息
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
8#
poston 2019-7-2 17:09 | authorOnly
wangdan post on2019-7-2 14:33
是的,这个是今天下午测的,11:05开始测试, 12:04开始有信息, 12:07到12:41之间没有信息

建议使用百度地图获取GPS坐标,并打开基站定位选项
reply agree Against

使用道具 report

13

主题

373

帖子

2037

积分

vipMem

Rank: 6Rank: 6

积分
2037
9#
poston 2019-7-2 17:12 | authorOnly
此外,用手机安装MPU APP做对比排查,
http://up.besovideo.com:7780/mpu_na.apk

另外,更换另外一台帽子做对比测试。
排查是否个别硬件的故障。
reply agree Against

使用道具 report

13

主题

373

帖子

2037

积分

vipMem

Rank: 6Rank: 6

积分
2037
10#
poston 2019-7-2 17:23 | authorOnly
出现这个情况的时候,是没有4G网络的情况吗?
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-23 17:56 , Processed in 0.059573 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList