NEW YORK ( TheStreet) - Research in Motion ( RIMM), which showed off a beta version of its next-generation BlackBerry smartphone earlier this week, reported its second-quarter results after market close.

The Waterloo, Ontario-based firm reported revenue of $2.9 billion, down from $4.2 billion in the prior year's quarter, but above analysts' estimate of $2.5 billion.

RIM posted an adjusted loss of 27 cents a share, down from earnings of 80 cents a share in the same period last year, but better than Wall Street's projected loss of 46 cents a share.

RIM's BlackBerry subscriber base also increased to approximately 80 million.

"Despite the significant changes we are implementing across the organization, our second quarter results demonstrate that RIM is progressing on its financial and operational commitments during this major transition," said RIM CEO Thorsten Heins, in a statement released after market close.

The company's cash position, cited as a key metric by analysts, increased $100 million to $2.3 billion at the end of the quarter.

RIM's shares rose nearly 20% in late trades to $8.54 on volume of more than 16 million, according to Nasdaq.com.

Read on for more details:

-- Written by James Rogers and Chris Ciaccia in New York.

>Contact by Email.

>To submit a news tip, send an email to: tips@thestreet.com.

More from Investing

3 Simple Tips on Investing From TheStreet's Jim Cramer

3 Simple Tips on Investing From TheStreet's Jim Cramer

Tesla's Supercharger Network Is Booming -- Here's Why That's a Concern

Tesla's Supercharger Network Is Booming -- Here's Why That's a Concern

After PayPal Buys iZettle, Pay-Tech Firms Could Process These Deals

After PayPal Buys iZettle, Pay-Tech Firms Could Process These Deals

Attention 60 Minutes: Google Isn't the Only Big-Tech Monopoly

Attention 60 Minutes: Google Isn't the Only Big-Tech Monopoly

Tesla CEO Elon Musk Is a Rock Star: Kiss Icon Gene Simmons

Tesla CEO Elon Musk Is a Rock Star: Kiss Icon Gene Simmons