Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #34268
Closed (moved) (moved)
Open
Issue created May 21, 2020 by HashikD@HashikD

Creating a service to do the work in the background and implementing a wakelock.

For the application to act as a proxy in the background we need to run it as a service. In Android there are two types of services... Background service: Counter-intuitively this is not what we are going to use since the Android system will kill the service after the user leaves the application.\


Foreground service: This service requires us to run a notification constantly. But this service will work even if the user leaves the application.\ Problem: Service gets killed if the screen is turned off.\ Solution: Implementing Android's Wakelock feature so that the Android system will not kill our service.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking