Wireless ad-hoc sensor networks are a very active research subject, as they have highpotentialtoprovidediverseservicestonumerousimportantapplications, - cluding remote monitoring and tracking in environmental applications and low-maintenance ambient intelligence in everyday life. The e?ective and e?cient realizationofsuchlarge-scale, complexad-hocnetworkingenvironmentsrequires intensive, coordinated technical research and development e?orts, especially in power-aware, scalable, robust wireless distributed protocols, due to the unusual applicationrequirementsandthesevereresourceconstraintsofthesensordevices. On the other hand, a solid foundational backgroundseems necessary for s- sornetworkstoachievetheirfullpotential.Itisachallengeforabstractmodeling, algorithmic design and analysis to achieve provably e?cient, scalable and fau- tolerant realizations of such huge, highly dynamic, complex, non-conventional networks. Features including the extremely large number of sensor devices in the network, the severe power, computing and memory limitations, their dense, random deployment and frequent failures pose new, interesting challenges of great practical impact for abstract modeling, algorithmic design, analysis and implementation. This workshop aimed at bringing together research contributions related to diversealgorithmicandcomplexity-theoreticaspectsofwirelesssensornetworks. Thiswasthefourtheventintheseries.ALGOSENSORS2004washeldinTurku, Finland, ALGOSENSORS 2006 was held in Venice, Italy, and ALGOSENSORS 2007 was held in Wroc law, Poland. Since its beginning, ALGOSENSORS has beencollocatedwithICALP.PreviousproceedingshaveappearedintheSpringer LNCS series: vol. 3121 (2004), vol. 4240 (2006), and vol. 4837 (2007). ALGOSENSORS2008waspartofICALP2008andwasheldonJuly122008 in Reykjavik, Iceland. After a careful review by the ProgramCommittee, 11 out of 27 submissions were accepted; in addition, a keynote speech was given by RogerWattenhofer.TheProgramCommitteeappreciatesthehelpof35external referees, who provided additional expertise. We are also thankful for the help of the sponsors (EU-project "FRONTS" and coalesenses), who supported the organization of the meeting as well as a best-paper award.