Android Question StartService rules changed in later versions of sdk etc?

Markos

Active Member
Licensed User
Longtime User
Hi,

I used StartService quite successfully in recent past to run an app immune to going to sleep or being killed while in background. I have two(2) questions.

1) StartService is now not allowed and if you execute this command the App will crash?

2) If the latter is true and I'm using a tcp listener how to do I keep that process alive without having to close and reopen thereby disconnecting all active users?
 

Peter Simpson

Expert
Licensed User
Longtime User
Upvote 0

Markos

Active Member
Licensed User
Longtime User
Thanx a mil.

Found my error I used to pass non defined variables in cresting the notification object but now compiler more precise anx makes me use strings ..
 
Upvote 0
Top