Thanks TreKking I can do that now.... On Dec 14, 3:00 pm, TreKing <[email protected]> wrote: > On Wed, Dec 14, 2011 at 3:56 AM, Droid <[email protected]> wrote: > > So can I prevent a notification being shown in inappropriately-located > > phones? > > public void onReceivePushNotification() > { > if (imInAValidLocation()) > showNotification(); > > } > > Is there code that can achieve this? > > Yes, see above - but the details are waiting to be written by you. > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

