We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
My comment will not help you with your question but I thought this may be of some interest. It appears to be more conceptual book - but it may relate to your project efforts.
Ubiquitous Positioning and Mobile Location-Based Services in Smart Phones
By: Ruizhi Chen
Publisher: IGI Global
Pub. Date: June 30, 2012
Print Isbn-10: 1-4666-1827-2
Print Isbn-13: 978-1-4666-1827-5
Web Isbn-13: 978-1-4666-1828-2
---
Can you look into Proximity Alert combined with Location Manager? I am wondering if using the StackOverflow example to query the longitude and latitude. Then use coordinates in the proximity alert example?
The Android Developer’s Cookbook: Building Applications with the Android SDK TheLocationManager provides a method to set a proximity alert.This triggers an alert
when a user enters or leaves a defined area.The area is specified by a latitude-longitude
coordinate and a radius in meters.The alert is specified with a PendingIntentto be
launched whenever a user enters or leaves the specified area.An expiration time for the
alert can also be defined.
double mlatitude=35.41;double mlongitude=139.46;float mRadius=500f; // in meterslong expiration=-1; //-1 never expires or use millisecondsIntent mIntent = new Intent("You entered the defined area");PendingIntent mFireIntent= PendingIntent.getBroadCast(this, -1, mIntent, 0);mLocationManager.addProximityAlert(mlatitude, mlongitude,mRadius, expiration, mFireIntent);
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Ubiquitous Positioning and Mobile Location-Based Services in Smart Phones
By: Ruizhi Chen
Publisher: IGI Global
Pub. Date: June 30, 2012
Print Isbn-10: 1-4666-1827-2
Print Isbn-13: 978-1-4666-1827-5
Web Isbn-13: 978-1-4666-1828-2
---
Can you look into Proximity Alert combined with Location Manager? I am wondering if using the StackOverflow example to query the longitude and latitude. Then use coordinates in the proximity alert example?
http://stackoverflow.com/questions/2227292/how-to-get-latitude-and-longitude-of-the-mobiledevice-in-android
The Android Developer’s Cookbook: Building Applications with the Android SDK
TheLocationManager provides a method to set a proximity alert.This triggers an alert
when a user enters or leaves a defined area.The area is specified by a latitude-longitude
coordinate and a radius in meters.The alert is specified with a PendingIntentto be
launched whenever a user enters or leaves the specified area.An expiration time for the
alert can also be defined.
Open in new window