SEOUL, South Korea (AP) — Quarterly earnings at Samsung Electronics Co. fell for the first time in two years as sales of smartphones and tablets slowed in developed countries.