tags:

views:

32

answers:

0

HI Folks

I am currently developing RssFeed app , i have one issue .I want to implement background service ,but what happen after some times it throughs Scoket.net exception,this was due to fact wifi goes in sleep mode and my app can not connect to server,In order to rid of this i thought of using wake_lock but this may not work because wifi can go to sleep mode before i get wake_lock.

Is there way to keep wifi awake or this is the only solution for my issue.

I want to implement service indefinitely not when my app is active.

any help appreciated