Nearly half of all phones being sold are smartphones.