Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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.

http://blog.brianbuikema.com/2010/07/part-1-developing-proximity-alerts-for-mobile-applications-using-the-android-platform/[^]

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.

Thanks,
Jason
Posted

1 solution

Hope this[^] might help you.
 
Share this answer
 
Comments
jason_borne21 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.

http://www.javacodegeeks.com/2011/01/android-proximity-alerts-tutorial.html

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.

Thanks,
Jason

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900