Kontrola textu

 

Napisal som jeden prispevok na jedno diskusne forum. Co poviete, nie su tam nejake nezmysly?

*'m developing an app, as mentioned in title. I need somehow to manage that application will be running/counting time even when user starts/switches to another application. Well, as I learned from another discussion at stackoverflow.com, there is no need to create service that works in background and pointlessly burden processor with counting time when app is not active.

Everything what is needed to be done is to store current time when user switch to another app, compare it to time when he switches back and update the UI according to difference between these times. That's for stopwatch mode. When in timer mode, I need to automatically switch back to application according to time, that is app's UI showing when going o background. What could be the best solution suitable for this and can you give me please some simple examples for this?*

 

Příspěvky mohou přidávat pouze přihlášení uživatelé. Pokud máte účet můžete se přihlásit.

Příspěvky v diskusi jsou majetkem jejich autorů. Provozovatel webových stránek Help For English za ně nenese zodpovědnost.