Samsung is in trouble unless it gets its hands on some software, and one way it could do this is by buying BlackBerry maker Research In Motion or licensing their software, said Peter Misek, Jefferies managing director and senior tech analyst, on Wednesday.
"Samsung needs to take control of its own destiny in the medium to long term. Frankly, short term, they are killing it," Misek said on CNBC’s “Squawk on the Street.” "It's really a two horse race, them and Apple . But longer term they know they have to get better at software and owning an OS is a critical part of that."
Samsung mobile devices currently run on Google's Android operating system, but there are signs that the Korean electronics developer will eventually be competing against Google.
Google has recently gotten into the hardware business with the launch of its Nexus 7 tablet. The search giant also bought Motorola Mobility earlier this year. Both moves hint the company has no intention of shying away from making its own devices on its Android platform, Misek said.
"What we believe is that Samsung has been relying heavily on Android and they've come to the conclusion that Google is actually going to start competing with them," Misek said. "And I think they are struggling internally that they have to boost their software systems, and part of that is owning an operating system. And their choices are limited."
Samsung has two options, said Misek. The company can either scrap the Android platform and develop a new operating system or Samsung can partner with or buy RIM. The latter being the better option because developing an OS will take too long, Misek said.
As for RIM, an acquisition by Samsung would be ideal.
"I think they would embrace Samsung with the biggest bear hug you've seen," Misek said.
RIM is planning to release their latest smartphone, the Blackberry 10, early next year. But Misek, who has tried out the new BlackBerry 10, said it is unlikely the new mobile device will do much to save the company.
"Frankly, it's good but there's no way it's going to beat Apple, and frankly the best it's going to do is match Android," he said.
—By CNBC.com’s Cadie Thompson