I use several custom variations of the HTTPUtils service in my app and have run into a recent problem.
If need be, I will try to post some code but it's a bit complicated.
For now, I am just wondering if anyone would know what would cause the callback event in the main activity to not fire until the app is restarted (such as rotating the device).
The service works fine, but I never get the callback notification, until of course, I rotate the phone.
All other callbacks work fine for my other custom services so something must be funny with this one. It does use timer delays in it, but so does another custom service and I don't have this issue.
And yes, the Callback sub is declared correctly and the sub itself is named the same.
Any ideas?
If need be, I will try to post some code but it's a bit complicated.
For now, I am just wondering if anyone would know what would cause the callback event in the main activity to not fire until the app is restarted (such as rotating the device).
The service works fine, but I never get the callback notification, until of course, I rotate the phone.
All other callbacks work fine for my other custom services so something must be funny with this one. It does use timer delays in it, but so does another custom service and I don't have this issue.
And yes, the Callback sub is declared correctly and the sub itself is named the same.
Any ideas?