You say you got a text message, though I highly doubt it, maybe you got hacked?
There's a contest held every year, for hackers. A range of devices is set up, MacBook pro/android phones/iphones/other random devices. Teams/individuals are given 3 days to hack any device of their choosing, each day that passes the rules are lightened. Day 1 requires a wireless control, with nothing other than communicating with the device over a wifi network, day 2 hackers are allowed to have 1 link clicked on any device of their choice, and on day 3 hackers are allowed to exploit popular 3rd party software (java/flash/etc).
Whoever successfully hacks the device first, keeps it. However, any device can be exploited by other teams, and have their exploit sold. An internet security firm would then offer to purchase the hack/exploit for up to $20 grand.
I bring this up because a year or so ago, a hacker managed to take full control of an iPhone 4 using only a single text message. iOS would process the text message by reading a very small and simple code sent to it, and by somehow managing to insert his own code (I have no idea how) the iPhone would run it, and he would be given access.
I really honestly doubt this is what happened, I just thought some of you would like to hear about this contest

, I'll see if I can remember the name of it and get a link to the Wikipedia article.
Edit: There you go
http://en.wikipedia.org/wiki/Pwn2Own
It's called pwn2own, a pretty interesting read if you've got the time, kinda cool to see how easily apple's devices are exploited, even with their reputation as extremely secure.