Android pause problem


Last Updated:

  1. joson

    joson New Member This Topic's Starter

    Joined:
    Jul 25, 2010
    Messages:
    1
    Likes Received:
    0
    Hi all, I meet a serious problem:
    In my application, have a thread for check is need send keep-alive packet to server. if screen on, the thread is OK, else if screen off (onPause state) the thread like block at Thread.sleep(300L); sentence.
    I try use Object.wait, Timer, SystemClock.sleep and Service for resolve it, but no any harvest.

    More information log at this link:
    anddev.org • View topic - Android network problem under screen off

    please help me, thanks!
     

    Advertisement

Share This Page

Loading...