Flat-rate data billing for smartphones