BlackBerry has posted a net loss of $28m in the first quarter of 2015 as the company struggled to sell its smartphones and worked to increase its revenue from software and licences.

Total revenue declined at $658m in the quarter, compared to $966m in the corresponding quaerter last year.

Software and technology licensing revenues jumped 150% year-over-year to $137m.

Hardware revenues contributed to 40% of total revenue, while services revenues accounted for 38% and 21% came from software and technology licensing.

The company sold approximately 1.1 million smartphones during Q1 at an average selling price of $240. It sold 2.6 million phones in the same period last year.

During the quarter, BlackBerry had 2,600 customer wins, with 45% of the licenses associated with the deals being cross platform.

BlackBerry executive chairman and CEO John Chen said: "Our financials reflect increased investments to sales and customer support for our software business. In addition, we are taking steps to make the handset business profitable.

"We believe these actions are prudent and necessary to grow the business and we believe the remaining milestones in our strategic plan are achievable."

Last month, BlackBerry said it will cut jobs across the world as part of its plans to make its weakening device business profitable again.