RIM's problem is they became complacent.
And ignored the consumer market. Whomever was responsible for that business decision should have been shot and dumped in the St. Lawrence - figuratively speaking.
We use BlackBerry Torch 9800s at work, and they are leaps and bounds behind the Android and iPhone models that were available at the time (no comment on Windows phones, hadn't used them). We're hoping the BB10 will be better, as there's no way government is going to switch to Android/iPhone devices.
RIM can start laughing at the Android/Apple shenanigans when they put out a functional and competitive device. Until they can manage that, they're better to keep their heads down and their engineers working overtime.