Using Smartphones as a Medical Device for Point-of-Care Applications