Building Smarter Apps Using Mobile Artificial Intelligence