列表 第页
我宁愿认为这不会这么难找了,但appearantly它是不容易找到一个真棒跨设备的文章,就像你所期望的。I rather thought this would not be so hard to find out but appearantly it is not easy to find an awesome cr...阅读全文
我使用下面的code,让我的当前位置。但我面临的问题是,它总是返回0.0的经度和纬度。我打开了手机上的GPS设置,并设置所有权限。不过还是我面对这一点。I am using the following code to get my current location. But the problem I am faci...阅读全文
美好的一天!我工作的一个Android应用程序,它监视用户的位置。我使用LocationManager来获得用户的位置,使用下面的方法Good Day!I am working on an android app which monitors user location. I am using LocationM...阅读全文
我尝试使用新的谷歌地图的Android API v2和我正在开发适用于Android 2.3.3或更高版本的应用程序。这是一个非常简单的应用程序:它需要用户的当前位置(使用GPS或网络信号)从dB的POI得到使用方向的api,它驱动用户到POI I'm trying to use the new goog...阅读全文
在我的应用程序中获取当前位置的经度和纬度,当应用程序是开放的,但是当它关闭应用程序无法获得当前位置的经度和纬度In my application get the current location latitude and longitude when application is open ,but when i...阅读全文
我知道与画廊插件,我能够使用getSelectedItemPosition();检索当前位置,但它似乎并不ViewPager都有。I know with the Gallery widget I was able to use getSelectedItemPosition(); to retrieve the cu...阅读全文
我想创建一个原型,可以引导人,以他的目的地。I am trying to create a prototype that could guide a person to his destination place.将是一个广泛的建筑用几个楼层。我可以获得/检索地图(静止图像)。 例如。当前:1F目的地:5F;这样我...阅读全文
Location.java Location.javapackage com.localisation;import java.io.IOException;import java.util.List;import android.app.Activity;import android.app.AlertDi...阅读全文
我怎样才能获得纬度和当前位置的经度,从机器人?How i can get the latitude and longitude of the current location, from android?推荐答案您可以用LocationListener的类来获得的坐标,而在移动。you can use the...阅读全文
我想惹周围的地图API V2,以获得更多的熟悉它,我想开始集中在用户的当前位置的地图。使用map.setMyLocationEnabled(真正的);声明中,我能够在地图上显示我的当前位置。这也增加了按钮的中心,对我目前的位置在地图的用户界面。I'm trying to mess around with the Ma...阅读全文
听到的是我的项目 在我的项目,我显示我的当前位置,显示当前LAT-long.But我不能以纪念我的android的当前位置。日Thnx提前。@覆盖公共无效onLocationChanged(位置定位){// TODO自动生成方法存根Log.d(TAG,onLocationChanged与位置+ location.t...阅读全文
所以,我见过很多问题,关于这个在这里SO和其他论坛,但没有确定的答案。这似乎是这样一个基本的过程,所以我不明白为什么我找不到任何答案吧。So, I've seen many questions about this here on SO and in other forums, but no definite ans...阅读全文
我用这code,以获得当前位置的经度和纬度,但我没有得到当前位置的纬度和longitude.anyone知道俺们更新在这里,感谢包com.ram.currentlocation;进口android.app.Activity;进口android.content.Context;进口android.location.L...阅读全文
使用mMap.setMyLocationEnabled(true)可以设置myLocation层启用。但问题是,如何当用户点击按钮获取myLocation?我想获得的经度和纬度。can set the myLocation layer enable.But the problem is how to get...阅读全文
如何从当前位置绘制的路线方向到目的地其中(经度和纬度),我有code如下:How to draw route direction from current location to destination which (latitude and longitude), i have code as below:imp...阅读全文
我有一个问题。我想找到我的纬度当前位置的经度和Android应用程序中。我只需要它的时候我很稳定,我的电话。我的code是:LocationManager locationManager;locationManager =(LocationManager)getSystemService(Context.LOCATIO...阅读全文
我需要使用开发一个应用程序谷歌地图 Android中找到我的当前位置的和需要的找到最近的位置。(例如:从我目前的位置的附近派出所)它应该接受我的当前位置和输出应该显示最近的地方。谁能帮我给一些建议,链接,教程做到这一点?解决方案 先通过 本教程 获取熟悉Android的谷歌地图,这对于 API 2 以检索设...阅读全文
我在让我的当前位置使用的Android定位系统的网络提供商坐标的烦恼。 I'm having troubles of getting my current position coordinates using the NETWORK provider of android location system. 您已...阅读全文
在Android上的LocationManager API好像它是一个有点痛苦的使用对于只需要用户的位置,偶尔和粗糙逼近的应用程序。The LocationManager API in android seems like it's a bit of a pain to use for an application...阅读全文
比方说,我给一个一维数组:Let's say I am given a one dimensional array:[2,3,1,5,0,2] [2, 3, 1, 5, 0, 2] 的目的是构造相同的长度,其中每个元素表示在大于当前编号的数组在随后的元件元件(未不同)的数目的另一个阵列。所以,在我的情况下,输出将是...阅读全文
谷歌地图具有默认蓝色圆圈包围的当前位置的点。我要动态地改变这个也就是使它更大或更小。我怎样才能做到这一点?是否有一个内置的方法来处理这个还是我必须使用覆盖什么? Google Maps has a default blue circle that surrounds the dot of the current...阅读全文
我是新的机器人。我目前工作的一个Android项目的女巫,我需要得到用户的当前位置,使用GPS。但我的code不能正常工作。I'm new in android.I'm currently working on an android project in witch I need to get user's c...阅读全文
我需要得到来自Google+的API,当前位置为Android。I need to get current location from Google+ API for Android.我在谷歌API控制台中所做的一切,并联系在一起SHA1和包名我与客户端ID的应用程序。I have done everything...阅读全文
您好,我一直在使用本指南确定locationof用户:的http://developer.android.com/guide/topics/location/obtaining-user-location.htmlHello I've been using this guide to determine the lo...阅读全文
我有多少种方法可以得到当前地理位置(经纬度,郎)编程在Android中,这是最好的,准确和更快的方式?How many ways I can get the current geo location (lat,lang) programatically in Android, Which is the best, a...阅读全文
我是新到Android,任何人都可以帮我要我的问题....如何获得利用GPS在地图中查看当前位置和跟踪无程序给予任何位置????? I am new to android, can anyone help me for my question....How to get a current position and...阅读全文
我已经开发了一个应用程序来查找用户的使用位置的全球定位系统。在此没有任何错误。它发现正确使用WiFi的位置,但在GPS模式下,它不返回任何值。我添加所需的许可清单和GPS是。有人能告诉我如何使用GPS获取位置?我已经包括了我的code在这里:包c.g.a.loation;公共类UseGps延伸活动{@覆盖公共无效的on...阅读全文
我正在开发一个具有 GPS 功能的应用程序.如何获取当前位置的经纬度.I am developing an app which has GPS functionality. How can I get latitude and longitude of the current location.推荐答案我自己找到...阅读全文
Finally I succeed to display the map,Now,I want to show my current location, I tried by using these code but it didn't work when I clicked the my location butt...阅读全文
我想将对话框上的特定位置在屏幕上(-10px从顶部和让-5px)。I would like to place the dialog on a particular position on the screen(-10px from top and -5px from let).我做应用的主题,并添加了安卓scrol...阅读全文
我想检查 GPS 是否打开,如果它应该显示当前位置.如果不是,它应该要求打开它.如果用户单击取消或不转动坐标将被设置为基本坐标.不幸的是,总是选择基本款.即使 GPS 是(我没有收到打开 GPS 的消息)I want to check if the GPS is on if it is should show the...阅读全文
我已经实现了演示来显示用户当前的经纬度.现在我可以看到当前位置的经纬度.但我想将其设置为每隔 1 分钟显示一次.代码如下:I have implemented the Demo to show the current lat-long of the User.Now I am able to see the lat...阅读全文
这部分是对上一个问题的扩展:Android编程,mapview locationoverlay:如何改变默认的蓝色位置点,用另一张图片This is in part an extension to a previous question: Android programming, mapview locationov...阅读全文
如何通过代码获取 iPhone 的当前位置?我需要使用 GPS 跟踪位置.How do you get the current location of iPhone through code? I need to track the location using GPS.推荐答案您正在寻找CoreLocation...阅读全文
我已经使用下面的代码来查找当前位置,但我得到了一些设备(三星 7' 和 10'inch 和 nexus 10'inch)的确切当前位置,但不幸的是我在三星 s3 中找不到位置.I have use this below code for find the current location but i got that...阅读全文
我现在正在一个项目中工作,我想使用 gps 获取用户的当前位置.我已经阅读了很多教程并尝试编写代码.该代码在模拟器中运行良好.每次我使用 DDMS 发送纬度和经度时,模拟器都会检测到.主要问题是它不适用于真实设备.虽然,我尝试过的设备可以访问互联网并且 GPS 是打开的.我已在清单文件中添加了所需的权限.I'm wo...阅读全文
我必须定期(例如:每 5 分钟)将我当前的位置详细信息(纬度和经度)发送到服务器.有没有最好的方法?我知道如何获取当前位置和如何将详细信息发送到服务器.但是如何定期重复此操作?I have to send my current location details (lat & long) to server perio...阅读全文
我不需要显示地图.但是,我需要使用 gps/3g 网络来定位我当前的位置 ADDRESS(不是经纬度),然后这将被添加到自动短信响应中,以通知某人我目前无法回复,&包括我当前位置的字符串地址.我有短信工作,只需要找出一种访问gps和提取地址的方法.我已经看到了 lat/long 的示例代码.也许我需要将 lat/lon...阅读全文