What happened Shares of BlackBerry (NYSE: BB) popped 10.9% on Thursday, following the release of the artificial intelligence company's fiscal 2022 first-quarter financial results. So what BlackBerry's revenue declined by 32% year over year to $175 million, as the company continued to shift away from its traditional software licensing business. However, that was above the average analyst estimate for revenue of $164 million. The better-than-expected performance was driven by gains in the company's AI-powered cybersecurity and Internet of Things (IoT) businesses. Sales in these segments checked in at $120 million and $40 million, respectively, with gross margins of 59% and 83%. "The cybersecurity business unit delivered robust sequential billings and revenue growth and the IoT business unit performed well in the face of global chip shortage pressures," CEO John Chen said in a press release. Investors applauded BlackBerry's first-quarter sales metrics. Image source: Getty Images. Still, achieving sustained profitability remains elusive. BlackBerry generated an adjusted operating loss of $30 million during the quarter. Now what Encouraged by the performance of its cybersecurity operations, BlackBerry is focusing its efforts on strengthening this increasingly important area of its business. The company hired John Giamatteo to head up the division beginning next month. Giamatteo previously served as president and chief revenue officer at cybersecurity leader McAfee. "Never has the threat of cyberattacks been higher, nor more in the minds of management," Giamatteo said. "BlackBerry's AI-driven, prevention-first technology is well placed to scale to meet the constantly evolving cybersecurity needs of companies everywhere." 10 stocks we like better than BlackBerryWhen our award-winning analyst team has a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* They just revealed what they believe are the ten best stocks for investors to buy right now... and BlackBerry wasn't one of them! That's right -- they think these 10 stocks are even better buys. See the 10 stocks *Stock Advisor returns as of September 17, 2021 Joe Tenebruso has no position in any of the stocks mentioned. The Motley Fool recommends BlackBerry. The Motley Fool has a disclosure policy.Source