Skip to Main Content
Flutter for Beginners
book

Flutter for Beginners

by Alessandro Biessek
September 2019
Beginner content levelBeginner
512 pages
12h 52m
English
Packt Publishing
Content preview from Flutter for Beginners

The BackgroundProcessService class

The BackgroundProcessService class is the Android service that will be running while our isolate is being executed. As it is in the background, the application may be closed and the isolate will be running normally.

Again, it is important to check the Android Service documentation mentioned before to understand how the life cycle works.

Service execution is all managed by the Android system; we do not have full control of it, so we need to react to events provided by the system to execute our isolate based on the Service state.

It all starts with the onCreate method, when the system creates our Service method and we can set up all of the resources needed for it to run. It is a good place to start our background ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flutter for Beginners - Second Edition

Flutter for Beginners - Second Edition

Thomas Bailey, Alessandro Biessek
Flutter for Beginners - Third Edition

Flutter for Beginners - Third Edition

Thomas Bailey, Alessandro Biessek

Publisher Resources

ISBN: 9781788996082Supplemental Content