You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bpgc-android-community
Most of us will be using GPS, and while testing our apps out on a phone, it won't always be possible to obtain GPS coordinates. I've attached a function you can use to mock GPS locations from within your code.
You've to first declare your LocationManager lm, then call the function like this:
setMockLocation (latitude, longitude, accuracy);
-- Emaad Ahmed Manzoor, Third Year Undergraduate, BITS - Pilani, KK Birla Goa Campus. halfclosed.wordpress.com