Bridging the Gap between Online and Offline Applications with the Google Gears API: A Case Study for Diabetics.