gps

android get current location name

心不动则不痛 提交于 2020-02-21 13:44:58
问题 Hey guys i want get current location with name. I did coding for get current location (lat,lang) how can i show relative place name (ie) 13.006389 - 80.2575 : Adyar,Chennai,India LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, new LocationListener() { public void onStatusChanged(String provider, int status, Bundle extras) { // called when the location provider status

android get current location name

非 Y 不嫁゛ 提交于 2020-02-21 13:44:18
问题 Hey guys i want get current location with name. I did coding for get current location (lat,lang) how can i show relative place name (ie) 13.006389 - 80.2575 : Adyar,Chennai,India LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, new LocationListener() { public void onStatusChanged(String provider, int status, Bundle extras) { // called when the location provider status

Getting Speed using Google Play Location API

大憨熊 提交于 2020-02-20 09:25:10
问题 I am using fused location provider from the new GooglePlay API(LocationClient class). But the method Location.GetSpeed() is not returning correct speed (shows 0). I read that I have to use LocationManager class to get the speed, but when I tried LocationManager a new problem occured. The location manager NetworkProvider is not working, here is a thread with the problem http://code.google.com/p/android/issues/detail?id=57707 . So what is the best way to get the speed of movement. I tried

How to read NMEA data from USB GPS device through cocoa application

时间秒杀一切 提交于 2020-02-19 07:02:14
问题 I am using USB GlobalSat(USG-MR350) GPS device. I want to get location data (latitude and longitude) from the device within my mac cocoa application.Tried to run the AMSerialPort sample code.It is detecting the usb device but it is giving output in nonreadable format.How can this data be converted to readable format.This is a part of the source code: - (void)serialPortReadData:(NSDictionary *)dataDictionary { // this method is called if data arrives // @"data" is the actual data, @"serialPort

How to test GPS status?

纵饮孤独 提交于 2020-02-16 06:49:44
问题 I now create an app to detect the location of device through GPS, I have problem with GPS status, I look through the GpsStatus.Listener but it's complicated since I'm a newbie with Android. HERE IS WHAT I TRY TO DO WITH GPS STATUS AM I ON THE RIGHT TRACK ??? final Listener onGpsStatusChange = new GpsStatus.Listener() { @Override public void onGpsStatusChanged(int event) { // TODO Auto-generated method stub switch(event){ case GpsStatus.GPS_EVENT_STARTED: // Started... break ; case GpsStatus

How to test GPS status?

风流意气都作罢 提交于 2020-02-16 06:49:04
问题 I now create an app to detect the location of device through GPS, I have problem with GPS status, I look through the GpsStatus.Listener but it's complicated since I'm a newbie with Android. HERE IS WHAT I TRY TO DO WITH GPS STATUS AM I ON THE RIGHT TRACK ??? final Listener onGpsStatusChange = new GpsStatus.Listener() { @Override public void onGpsStatusChanged(int event) { // TODO Auto-generated method stub switch(event){ case GpsStatus.GPS_EVENT_STARTED: // Started... break ; case GpsStatus

GPS时间序列分析(二)matlab语言分析

て烟熏妆下的殇ゞ 提交于 2020-02-12 12:25:03
GPS时间序列分析(二) matlab语言分析 1.简单的GPS时间序列 load E:\RMTE.txt yuanshi_dataWeidu = RMTE ( :,4 ) ';%将原始坐标赋值 yuanshi_dataJingdu=RMTE(:,3)' ; yuanshi_dataGaochen = RMTE ( :,5 ) ' ; yuanshi_data = [ yuanshi_dataWeidu ; yuanshi_dataJingdu ; yuanshi_dataGaochen ] ; [ col,raw ] = size ( yuanshi_data ) ; llh_Z_xyz = llh2xyz ( yuanshi_data ) ; %经纬度高程转换成xyz平面坐标,输出格式为:3行n列 %第一次转换后的xyz坐标减去第一次观测的xyz坐标,组成xyz变化量矩阵 llh_Z_xyz_X = llh_Z_xyz ( 1,: ) -mean ( llh_Z_xyz ( 1,: )) ; llh_Z_xyz_Y = llh_Z_xyz ( 2,: ) -mean ( llh_Z_xyz ( 2,: )) ; llh_Z_xyz_Z = llh_Z_xyz ( 3,: ) -mean ( llh_Z_xyz ( 3,: )) ; llh_Z_xyz_XYZ = [ llh_Z

testing GPS in iPhone simulator problem

拈花ヽ惹草 提交于 2020-02-07 04:57:25
问题 I found some various articles about testing the GPS (corelocation) in the iPhone simulator. It seems pretty straightforward, but i can't get it to work. The error message i'am getting is: 2010-07-30 11:20:16.372 appname[50954:207] *** +[CLLocation initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:]: unrecognized selector sent to class 0x32081320 2010-07-30 11:20:16.373 appname[50954:207] CoreAnimation: ignoring exception: *** +[CLLocation initWithCoordinate:altitude

批量生产时如何进行GPS生产测试

匆匆过客 提交于 2020-02-06 20:00:15
批量生产时如何进行GPS生产测试 转载自:https://ask.openluat.com/article/1013 GPS在首次冷启动时,定位时间会较长,如果通过定位与否的方式去进行生产的GPS功能测试的话,不仅花费时间很长,而且不可靠。下面介绍一些在批量生产时常用的一些测试方式。 通常在生产测试时可以用两种方式测试GPS功能,一种是用仪器做GPS的传导测试;另一种为实网下通过读取搜星数和信噪比来判断GPS功能是否正常。 传导测试 传导测试是通过8960综测仪直接连接主板的GPS天线连接器进行测试。这种方式测试前需要将GPS天线去掉直接连接GPS天线连接器,因此适用于GPS天线用IPEX连接器与主板相连的方式。如果是陶瓷天线直接焊接在主板上则不适合这种方式。 GPS信噪比测试工具 准备工作 测试工具:GPS信噪比测试工具 PC电脑 8960综测仪 待测主板 连接主板GPS输出串口信号的串口线或者生产夹具 主板连接 通TTL转USB串口线或者生产夹具连接待测主板的GPS_TXD串口(GPS_RXD不要接)。 仪器设置 在仪器初始化界面,按F1选择CW模式。 按F10选择GPS模式 按F7,将GPS POWER设置为-125dBm 工具配置 1, 将夹具GPS模组的串口线插入电脑,点击运行GPS信噪比测试1.0.2.exe程序;按下图所示选择正确的串口以及波特率,点击打开串口

MySql or PHP function to convert longitude and latitude to decimal degrees

隐身守侯 提交于 2020-02-05 05:15:52
问题 I have spent sometime researching the forum and other places to resolve this but yielded nothing and I have decided to ask. I have log files containing NMEA sentences. I have stored this sentences which are in hundreds of thousands in mysql database. I have stored the longitudes and latitudes as double datatype. I want to convert these longitudes and latitudes which are currently in this format: 6013.45368, 2445.28396 to the decimal degree format which is: 60,155095, 24,74456 I would