Schools tapping smartphone and tablet apps to engage a new generation