Click here to Skip to main content
15,913,115 members

Comments by jason_borne21 (Top 4 by date)

jason_borne21 27-Jul-11 14:14pm View    
Hi,

I am not using a Mac, but thanks for your reply..
jason_borne21 27-Jul-11 14:13pm View    
Hi Christian, thanks for your advise. I am currently running the web app locally. But your advise worked for me..
jason_borne21 2-May-11 18:20pm View    
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
jason_borne21 22-Mar-11 19:43pm View    
Deleted
Hi Frank,

Thanks for the help but as I mentioned I am using compact framework so Environment.CurrentDirectory, or get the application execution (Application.StartupPath) did not worked so I used the below string and that did the job for me.

string fileName = String.Format(@"{0}\type1.txt", System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);

Thanks a lot for your help.

Jason.