TORONTO: BlackBerry Ltd has agreed to offer anti-hacking software from a startup that last year discovered a major Android bug as the once-dominant smartphone company seeks to leverage ties to corporate and government clients to boost its software revenue.