zhongheng / proxoid

Automatically exported from code.google.com/p/proxoid
0 stars 0 forks source link

Proxoid Service killed by the OS #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The background proxoid service dies silently when the phone is left alone.

Operating system:
API Level 5 and up

Steps to reproduce:
1. Start the proxy service and wait for the phone to idle or need memory.

Additional information:
The Service.setForeground method no longer does anything. You need to use 
the Service.startForeground method for a foreground service.

Sample: 
http://developer.android.com/resources/samples/ApiDemos/src/com/example/and
roid/apis/app/ForegroundService.html

Original issue reported on code.google.com by pretende...@gmail.com on 8 Apr 2010 at 7:38