BackgroundTransfer within BackgroundTask

andy123456

Senior Member
Feb 20, 2009
66
0
0
In my application i need to synchonize some data on a TimeTriggered intervall. Now i have built a BackgroundTask with TimeTrigger, inside this task i im running a BackgroundTransfer operation. This works, but i havesome questions about that.

1. Is this a good solution, orare there better ones for this scenario?

2. There are some mysterious execution things. If i deploy the app as debug version to my phone, everything works like a charm, all Transfer operations are completed within one execution of the BackgroundTask, this takes +/- 15 minutes. Now if i deploy the app as release version to my phone, the BackgroundTask transfers data only for 1-2 minutes and stops, till the next execution from the TimeTrigger is fired. Why is there a difference or why is this?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone