AI Mobile App Development: On-Device vs Cloud Choice