Canadian tech pioneer BlackBerry, which earlier this week agreed to a $4.7 billion buyout, said Friday that it lost $965 million in the second quarter. The Ontario-based company, formerly a leader in mobile phone technology, has been squeezed by rivals Android and Apple, steadily losing market share, a trend which continues according to its latest earnings report.