Microsoft Corp. agreed to acquire Danger Inc., maker of the technology behind T-Mobile's popular Sidekick phone, as part of its quest to expand its offerings in the mobile realm.

"The addition of Danger serves as a perfect complement to our existing software and services, and also strengthens our dedication to improving mobile experiences centered around individuals and what they like," said Robbie Bach, Microsoft's president of entertainment and devices.