Smartphones and Tablets are already crammed with numerous input devices, of which the camera is but one. They are already capable of determining their location using multiple sources of data: global positioning satellites, the location of mobile phone mast you’re using, and the wi-fi networks in range.
As connectivity continues to improve in terms of both speed and coverage, the device will be able to feed what it gathers from its “senses” up to the cloud, where unfathomably capable systems will be able to determine all sorts of things about what’s happening where you are. Also, smart devices will become more and more aware of their human accomplices: about what we’re doing, who we’re with, what we’re paying attention to, and what we care about. The smart device of the near future will know something’s there before you do, whether or not you notice it, and whether or not you care.