In effect, the ruling (PDF link) allows police to search everything on a mobile device, from texts and phone records to browser search histories, photo galleries, social-networking activity and potentially even a user???s history within location-based apps and services such as Foursquare or Facebook Places.