Re: [android-developers] GPS in android application

2012-07-23 Thread Mark Murphy
On Thu, Jul 19, 2012 at 5:37 PM, Susanne susanne.kalli...@tefis.at wrote: How can I force my application to take position from external gps and not from internal? This is not supported AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] GPS Updates in Background

2012-07-16 Thread TreKing
On Mon, Jul 16, 2012 at 5:22 AM, Nav jan.koseck...@gmail.com wrote: What is the best option to make such app with the least battery consuming?

Re: [android-developers] GPS Fix Status

2012-03-29 Thread Alger Lin
I release a tool to dumping all classes (includes disclosed and undocumented) at device, maybe this tool can help you to check if undocumented API was available at target Android version. You can get it by URL below. https://play.google.com/store/apps/details?id=com.twrd.yulin.classminer

Re: [android-developers] Gps not working in phonegap-1.5.0 android

2012-03-20 Thread Marcin Orlowski
This group is not about phonegap development. you will get better support on phonegap list/forum/group (whatever they offer), not here. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current date at

Re: [android-developers] GPS - SMS - Mock Location

2012-02-07 Thread Kristopher Micinski
gjs is right, you're almost certainly exhibiting some sort of nullpointerexception or securityexception, perhaps if you posted a log of the program's behavior people could help you! kris On Mon, Feb 6, 2012 at 3:58 PM, Hohorlan B jorlan.balbuen...@gmail.comwrote: I have this code for my

Re: [android-developers] GPS Fix Status

2012-01-05 Thread Kristopher Micinski
http://stackoverflow.com/questions/2021176/how-can-i-check-the-current-status-of-the-gps-receiver Maybe it's stupid to point you at that, because you've probably already seen it? If nobody has a good answer for this (I suspect somebody does, though I don't know) it probably wouldn't too hard to

Re: [android-developers] GPS Fix Status

2012-01-05 Thread James Black
On the network provider you will implement onstatuschange and then you can detect. You can look at http://stackoverflow.com/questions/2021176/how-can-i-check-the-current-status-of-the-gps-receiver On Jan 5, 2012 6:32 PM, gotok ken0g...@gmail.com wrote: I am trying to detect when a GPS fix is

Re: [android-developers] gps

2011-11-13 Thread TreKing
On Sun, Nov 13, 2011 at 9:59 AM, jaggu mjagadeeshb...@gmail.com wrote: how to find gps in emulator with xml response please help me Your question makes no sense. http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] GPS logging

2011-10-17 Thread Mark Murphy
On Mon, Oct 17, 2011 at 2:57 PM, Ab Caballero a...@mac.com wrote: is there someway I can grab data once a minute for the vehicle location but also grab a location fix when a certain key is pressed? Call getLastKnownLocation() when the key is pressed. Though, if this is to be used by drivers, I

Re: [android-developers] GPS locations distance

2011-10-11 Thread TreKing
On Tue, Oct 11, 2011 at 5:17 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: I tried this but Force close exception raising Did you try debugging your app? - TreKing

Re: [android-developers] Gps Accuracy

2011-09-26 Thread TreKing
On Thu, Sep 22, 2011 at 3:49 PM, Tahir Satti tahir.satti...@gmail.comwrote: Please send me some links so that i can present the facts infront of me faculty Try the documentation and Google. -

Re: [android-developers] Gps Location Path

2011-09-20 Thread TreKing
On Tue, Sep 20, 2011 at 8:00 PM, nageswara rao rajana nagu.raj...@gmail.com wrote: I want to develop an application with google map, on which i need to show the path i am travelling. Anyone please provide me sample code. No one is doing you work for you. What have you tried?

RE: [android-developers] gps

2011-07-13 Thread waheedtechb...@gmail.com
Pache Sent: 12/07/2011 11:12:59 Subject: Re: [android-developers] gps try this link and follow the steps given in it On Mon, Jul 11, 2011 at 7:51 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: All keystores are file just check the path again and type carefully. this could

Re: [android-developers] gps

2011-07-11 Thread Raghav Sood
It is a file. I got the finger print fine. Try running the command again. Maybe you made a typing error. On Sat, Jul 9, 2011 at 9:59 AM, karthik kartmu...@gmail.com wrote: Hello everyone! I am a starting developer in android apps. I ve started my project in GPS. So,I need to get a Google

Re: [android-developers] gps

2011-07-11 Thread Robin Talwar
All keystores are file just check the path again and type carefully. this could be irritating for beginners On Mon, Jul 11, 2011 at 7:49 PM, Raghav Sood raghavs...@gmail.com wrote: It is a file. I got the finger print fine. Try running the command again. Maybe you made a typing error. On

Re: [android-developers] gps

2011-07-11 Thread Vinod Pache
try this link and follow the steps given in it On Mon, Jul 11, 2011 at 7:51 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: All keystores are file just check the path again and type carefully. this could be irritating for beginners On Mon, Jul 11, 2011 at 7:49 PM, Raghav Sood

Re: [android-developers] GPS Signals

2011-07-04 Thread TreKing
On Sat, Jul 2, 2011 at 8:33 AM, Abdul Samad samad.qurash...@gmail.comwrote: how can i get fast GPS signals? http://android-developers.blogspot.com/2011/06/deep-dive-into-location.html - TreKing

Re: [android-developers] GPS does not stop after ending my app

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 8:19 AM, Stephan Wiesner testexpe...@googlemail.com wrote: Any ideas? You're passing in new GeoUpateHandler, for which you do not maintain a reference to later remove. Passing in this (whatever this is) has no effect, for this is not referencing the new

Re: [android-developers] GPS icon stuck. Is GPS in use or not?

2011-02-13 Thread Mark Murphy
On Sun, Feb 13, 2011 at 8:25 PM, savio savioche...@gmail.com wrote: I am developing application with GPS, but I come into this problem: when I try to turn off GPS using LocationManager.removeUpdates(locationListener) and locationManager.removeProximityAlert(PendingIntent) I found the GPS

Re: [android-developers] GPS with Map overlay

2011-02-11 Thread TreKing
On Fri, Feb 11, 2011 at 1:59 AM, Poifull unique.poif...@gmail.com wrote: Hi, I have got the following code but my application crash. Can anyone tell me what is wrong? Thanks! 2 things: 1 - you apparently did not use your debugger. 2 - you did not post a stack trace.

Re: [android-developers] gps problem

2010-12-28 Thread Hari KJ
Vivek, I'm trying out all possible places to find a solution for my issue. So excuse me for contacting you directly. I'm literally stuck on trying to stream a aac+ stream for a new Radio app for my client. A sample url is http://2943.live.streamtheworld.com:80/KTUXFMAACCMP3 I'm tried using the

Re: [android-developers] GPS

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 6:47 PM, Hendrik Greving fourhend...@gmail.comwrote: I know how to read the GPS status etc. but how do I turn the chip on/off? You can't. You can bring up the settings screen to let the user turn it on or off, if they want.

Re: [android-developers] GPS

2010-12-10 Thread Hendrik Greving
Eww. I just read about this. I guess this is a FAQ, but why can the Power Control Widget do this? - Original Message - From: TreKing To: android-developers@googlegroups.com Sent: Friday, December 10, 2010 4:47 PM Subject: Re: [android-developers] GPS On Fri, Dec 10, 2010

Re: [android-developers] GPS Position realtime

2010-11-29 Thread Leon Li
yes,MyLocationOverlay,and the arrow icon is a ball on android. On Thu, Nov 25, 2010 at 4:39 AM, Mark Murphy mmur...@commonsware.com wrote: There is MyLocationOverlay. Other than that, you are on your own. On Wed, Nov 24, 2010 at 8:51 AM, Julien soad0...@gmail.com wrote: Hello I would like to

Re: [android-developers] GPS Position realtime

2010-11-29 Thread Julien Moine
But it doesnt show the same arrow as in Google Map! It is not possible ?? I find it very usefull as it show in which direction you are looking at. Instead, I have a basic blue circle. On 24 November 2010 21:39, Mark Murphy mmur...@commonsware.com wrote: There is MyLocationOverlay. Other than

Re: [android-developers] GPS Position realtime

2010-11-29 Thread TreKing
On Thu, Nov 25, 2010 at 6:38 AM, Julien Moine julien.moine...@utbm.frwrote: But it doesnt show the same arrow as in Google Map! It is not possible ?? Subclass MyLocationOverlay, call super.draw(), then draw your own arrow.

Re: [android-developers] GPS Position realtime

2010-11-24 Thread Mark Murphy
There is MyLocationOverlay. Other than that, you are on your own. On Wed, Nov 24, 2010 at 8:51 AM, Julien soad0...@gmail.com wrote: Hello I would like to put the same blue arrow icon that is in Google Map on android displaying the  current position. Is there anything provided with the google

Re: [android-developers] gps

2010-11-05 Thread TreKing
On Fri, Nov 5, 2010 at 4:26 AM, Harshal hc4...@gmail.com wrote: my MainActivity class extends MapActivity And did you add it to your manifest? - TreKing

Re: [android-developers] gps

2010-11-05 Thread Harshal
yes i have added map.jar, and my manifest.xml looks lyk this: ?xml version=1.0 encoding=UTF-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=org.me.gps uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission

Re: [android-developers] gps

2010-11-05 Thread Mark Murphy
Most likely, you are attempting to run your application in an emulator or device that does not have Google Maps installed. On Fri, Nov 5, 2010 at 3:03 PM, Harshal hc4...@gmail.com wrote: yes i have added map.jar, and my manifest.xml looks lyk this: ?xml version=1.0 encoding=UTF-8? manifest

Re: [android-developers] gps

2010-11-05 Thread Harshal
@mark yes problem was with the emulator. Thank you.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] GPS Toggle

2010-10-24 Thread Frank Weiss
I use these to toggle location updates: locationManager.requestLocationUpdates(provider, min, distance, *this*); locationManager.removeUpdates(*this*); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] gps and wifi

2010-09-22 Thread TreKing
On Wed, Sep 22, 2010 at 6:30 AM, student alsharewit...@gmail.com wrote: my problem is if user came back to room it should be indicated the network by comparing the frequency or speed with gps? I'm sorry ... what?

Re: [android-developers] gps icon disappears

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 3:48 PM, ecforu ecforus...@gmail.com wrote: What causes the GPS icon to disappear? AFAIK, not using the GPS. This could be either there are no more registered location listeners using the GPS, or the ones that are registered have a time or distance limitation in which

Re: [android-developers] gps icon disappears

2010-07-22 Thread ecforu
Here is how I enabled my listener. Is it the 15000 or 2 that turns it off to conserve battery? I thought it said not to use anything under 6. But if that shuts off the GPS for a minute why don't i see that with other GPS applications? Do people put 0 in this field (or some other small

Re: [android-developers] gps icon disappears

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 4:11 PM, ecforu ecforus...@gmail.com wrote: Is it the 15000 or 2 that turns it off to conserve battery? The 15000. AFAIK, the 2 just means that the GPS will be checked, but the listener won't be triggered unless the distance has moved at least 2 meters. The 15000 means

Re: [android-developers] gps icon disappears

2010-07-22 Thread ecforu
Ok that is what i was thinking. I just wanted to make sure that was the case. Thanks for the info and help On Thu, Jul 22, 2010 at 5:27 PM, TreKing treking...@gmail.com wrote: On Thu, Jul 22, 2010 at 4:11 PM, ecforu ecforus...@gmail.com wrote: Is it the 15000 or 2 that turns it off to

Re: [android-developers] Gps issues in real phone

2010-07-14 Thread TreKing
On Wed, Jul 14, 2010 at 1:59 AM, arindam arindam2gh...@gmail.com wrote: In emulator its working with sending manually gps data but in real phonewhen i installed it only showing the gps icon but no data is coming. Go outside? You are specifically requesting only GPS data, so it will only

Re: [android-developers] GPS worknig on emulator but not on atcual phone

2010-06-07 Thread Steve Howard
Can you include the output from adb logcat? Steve On Sun, May 30, 2010 at 10:40 PM, XiaoDar darylpainb...@gmail.com wrote: i've this error that i was able to set my location on the emulator with the emulator control but when i put the atcual code on the phone, it gives me the error that i

Re: [android-developers] GPS/LocationManager does not give a fix in my app

2010-06-03 Thread TreKing
On Thu, Jun 3, 2010 at 4:21 PM, Charly carlos.per...@gmail.com wrote: I'm developing an app which makes use of the GPS and I am not able to get a fix. Location listener never gets called or it gets called with bad values? Have you tried the network provider? Does that work?

Re: [android-developers] GPS/LocationManager does not give a fix in my app

2010-06-03 Thread TreKing
Again ... On Thu, Jun 3, 2010 at 8:00 PM, TreKing treking...@gmail.com wrote: Location listener never gets called or it gets called with bad values? How long are you waiting? GPS can vary from a few seconds to a few minutes depending on many variables.

Re: [android-developers] GPS beacon icon does not go away after LocationManager.removeUpdates

2010-05-11 Thread Mark Murphy
MB wrote: I would really appreciate any ideas regarding the following. Not disabling the GPS would sap all the battery. The GPS beacon icon does not go away even though I invoke LocationManager.removeUpdates in onDestroy. This consistently reproduces in the emulator. That's an emulator

Re: [android-developers] GPS Queueing in LocationListener

2010-03-22 Thread mike
On 03/22/2010 01:52 PM, JFrog wrote: The application under development was to distinguish between the current location of the android phone based upon GPS signal when it was available. When it is not available, alternate methods are being used to distinguish the user's location. The

Re: [android-developers] GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 08:29 AM, David Toledo wrote: Hi All Is possible that can using the signal GPS without signal the telephony active. I need save the gps location in the sqllite when the telephony is disabled GPS works fine without the cellular network. If there's no network AGPS won't be of

Re: [android-developers] GPS without gps signal

2010-03-18 Thread David Toledo
I refered , is in the montains without signal telephony Thanks 2010/3/18 mike enervat...@gmail.com On 03/18/2010 08:29 AM, David Toledo wrote: Hi All Is possible that can using the signal GPS without signal the telephony active. I need save the gps location in the sqllite when the

Re: [android-developers] GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 09:12 AM, David Toledo wrote: I refered , is in the montains without signal telephony Then yes, definitely, from much first hand experience :) Mike Thanks 2010/3/18 mike enervat...@gmail.com mailto:enervat...@gmail.com On 03/18/2010 08:29 AM, David Toledo wrote:

Re: [android-developers] GPS code works in HTC machines but fails in MOTO's

2010-02-20 Thread Mark Murphy
yidongsoft wrote: My code to obtain GPS coordinate works perfect in HTC cells. But I find it doesn't work in Moto Droid. I debug it and find eveything seems fine. But the coordinate never obtained. snip No error message, No fatal return. Every things invoked well, but onLocationChanged()

Re: [android-developers] Gps sorting question

2010-02-06 Thread Jiri
Ok, so if I use plain simple trigonometry there is some inaccuracy. I can live with that. Thank you Frank Frank Weiss wrote: It's that simple unless you want to account for latitude compression or obstacles. Latitude compression is usually negligible if the latitude bounds are small (0.2

Re: [android-developers] Gps sorting question

2010-02-05 Thread Frank Weiss
It's that simple unless you want to account for latitude compression or obstacles. Latitude compression is usually negligible if the latitude bounds are small (0.2 degrees), otherwise use great circle computation, which involves more calculation. Most nearness calculations are done as the bird