Reputation: 55
i am measuring through put TX and Rx in android thread. how i can put the Max through put in the database every hour. for example thread is calculating throughput every second and save it in the variable. As the hour passes it save the Max value in the data base table.
Upvotes: 0
Views: 616
Reputation: 75629
Use system's AlarmManager feature to set up recurring hourly event and, depending on your application design, your receiver should either tell the app to write data to the DB or do it by itself.
Upvotes: 1