Click here to Skip to main content
11,705,763 members (42,785 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android
Hi All,

Its been days that I am trying to implement proximity alerts but I have not yet found a solution that can help me implement it.[^]

I tried using this tutorial but there are several things missing in this one.

So, can anyone please help me with using Proximity alerts. Even a small working solution would be a great help, but I need this soon.

Posted 27-Apr-11 0:36am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hope this[^] might help you.
jason_borne21 at 2-May-11 18:20pm
Hi Koushik,

Thanks for the help. But can you tell me when should the receiver get fired. According to me it must be related to the radius.

Now when I try this link, it crashes every time because of this line:

PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, null, 0);

Here i think the null is creating problems for me. Also, when i comment it and also when i reduces the radius to 1 instead of 1000. My notification is fired even though my distance from point is greater than the radius, which should not be the case, I guess.

Can you please guide me.

Need help asap.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 218
1 Sergey Alexandrovich Kryukov 170
2 Inimicos 60
3 ProgramFOX 50
4 Richard MacCutchan 45
0 OriginalGriff 9,037
1 Sergey Alexandrovich Kryukov 8,417
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,626

Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 27 Apr 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100