[android-developers] Proximity Alerts Not Working on API Level 17 (Google APIs or otherwise)

2012-12-08 Thread Irwin Billing
Been wrestling with this for a couple of days now. Thought something was wrong with my code but I think it has to do with the API level. I was testing using Intellij IDEA on OSX when I first couldn't solved the problem. In a last-ditch effort, I ran the code on my Windows machine with Eclipse

Re: [android-developers]Proximity Alerts in LocationManager not working as expected.

2011-07-31 Thread deepak subramanian
Hi all, So I got the Proximity Alerts working but I had to use the PendingIntent.getActivity(HaiMap.this, i, newIntent, PendingIntent.FLAG_CANCEL_CURRENT); Does anyone have an idea on why this is not working on a Broadcast receiver. I have seen many previous threads and all of them point to an

[android-developers]Proximity Alerts in LocationManager not working as expected.

2011-07-28 Thread deepak subramanian
Hi everyone, I have an application which needs to call a new screen if it comes within the proximity of a few locations. So I am using the addProximityAlerts() function as follows: But this does not work at all. My code is shown below *public void setupLocationMonitoring(Intent newIntent) {

Re: [android-developers]Proximity Alerts in LocationManager not working as expected.

2011-07-28 Thread Francisco Dalla Rosa soares
how many times do you intend to post the same question? 2011/7/28 deepak subramanian deepak.s...@gmail.com Hi everyone, I have an application which needs to call a new screen if it comes within the proximity of a few locations. So I am using the addProximityAlerts() function as follows: But

[android-developers]Proximity Alerts not working as expected

2011-07-27 Thread deepak subramanian
Hi everyone, I have an application which needs to call a new screen if it comes within the proximity of a few locations. So I am using the addProximityAlerts() function as follows: But this does not work at all. My code is shown below *public void setupLocationMonitoring(Intent newIntent) {

[android-developers]Proximity Alerts not working as expected

2011-07-25 Thread deepak subramanian
Hi everyone, I have an application which needs to call a new screen if it comes within the proximity of a few locations. So I am using the addProximityAlerts() function as follows: But this does not work at all. My code is shown below *public void setupLocationMonitoring(Intent newIntent) {

[android-developers] Proximity Alerts

2011-07-25 Thread deepak subramanian
Hi everyone, I have an application which needs to call a new screen if it comes within the proximity of a few locations. So I am using the addProximityAlerts() function as follows: But this does not work at all. My code is shown below *public void setupLocationMonitoring(Intent newIntent) {

[android-developers] Proximity Alerts

2011-06-27 Thread Scriptmatic
I have some basic questions about proximity alerts. How many alerts can be added within a single app? I have a database that could have hundreds or even thousands of locations that the user needs to be alerted to when near those locations. Is there a limit to the number of locations that can be

[android-developers] Proximity alerts not fired

2010-10-06 Thread flavs
Hi, this is my very first question: I'm trying to configure proximity alerts that will be feed from a Database and webservice provider; but I have a problem configuring a simple proximity alert for testing. I manage to create the alert but it never gets fired, I'm only trying in the emulator for

Re: [android-developers] Proximity alerts not fired

2010-10-06 Thread TreKing
On Tue, Oct 5, 2010 at 6:48 PM, flavs flavio.esl...@gmail.com wrote: I'm only trying in the emulator for now and donĀ“t know if I need some extra code to trigger the alerts. Are you using the GPS controls in DDMS to pass in a mock location?

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-18 Thread android_soft
Hi All, Let me rephrase my question. Whats the best way to save on battery life when using proximity alerts API through the LocationManager. I am resetting the alerts again on booting of the device through a combination of broadcast receiver (listens for the boot event) and a Service (sets the

[android-developers] Proximity Alerts keeps the GPS always on

2008-12-11 Thread android_soft
Hi, I noticed in the android source code there is a setMinTime() to be implemented by LocationProviderImpl's(GPS etc). Currently the default is zero(or 1000L) which means it will check for location updates frequently, except when the screen is off. Why is this interface not opened up so that