Opened 6 days ago

Last modified 2 days ago

#34268 new task

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

Reported by: HashikD Owned by:
Priority: Medium Milestone:
Component: Circumvention/Snowflake Version:
Severity: Normal Keywords: snowflake-mobile
Cc: cohosh, phw, arlolra, dcf, HashikD Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (4)

comment:1 Changed 6 days ago by cohosh

Keywords: snowflake-mobile added

Add snowflake-mobile keyword to Hashik's GSoC 2020 tickets.

comment:2 Changed 5 days ago by HashikD

Keywords: Snowflake_Android added

comment:3 Changed 5 days ago by HashikD

Keywords: Snowflake_Android removed

comment:4 Changed 2 days ago by cohosh

Cc: HashikD added
Note: See TracTickets for help on using tickets.