As a teenager back then I was obsessed with the mobile chat room Kink Kommunity (which changed to Moko in 2007). There were so many rooms of different topics, and you could swap photos and instant message.
There was something for everyone and of course there were a lot of dodgy people chatting up us kids and trying to arrange meet-ups. Many times I would find out from a third party that 'that girl' was actually a man. EDIT: there was even there option to branch off with someone into a private room.
I went through so many phones back then because I lost them or broke them, and this made me very grumpy and sad but I soon bought a new one for a fiver with my own money, then went back on Kink/Moko with urgency and cheered up.
If Andrew bought phones without his parents knowing, he may have gone on something like Kink/Moko and met up with someone who would turn out to be dodgy.
There do seem to be potential parallels between my experience and Andrew's, made more worrying by the fact that I bought my own phones so I was untraceable, and that Kink/Moko was a sort-of app rather than a website.