IDC also reports that the total market for smartphones, tablets, and PCs climbed 29 percent last year.
Samsung's sales surge largely came from its boost in smartphones, IDC noted, and it also shipped more portable PCs than Apple last year. But Apple still led the market in terms of tablet shipments and came in eighth in portable PC shipments. It was fifth overall for desktop PC shipments.
Lenovo, meanwhile, was the No. 3 connected device vendor with 6.5 percent share. Its strong point remains portable PCs, but it's also growing in smartphones. IDC noted Lenovo's phone shipments grew to 23.7 million in 2012 from 3.7 million in 2011.
Unsurprisingly, smartphones and tablets made up the bulk of the 367.7 million smart connected device sales in 2012, IDC said. Desktop and portable PC shipments both declined about 4 percent, but tablet shipments soared 78 percent from 2011 and smartphones grew 46 percent. More than half (60 percent) of all shipped smart connected devices were smartphones, IDC said.