South Korean electronics giant Samsung and California-based Apple remained the two largest sellers of smartphones around the world in the second quarter, data released this week shows, while Chinese brands like Huawei and Xiaomi continue to make inroads.