Android Question Getting HTML Code from web site when phone is sleeping

davidagreen

New Member
Licensed User
Longtime User
Hi all,
This one has got me stumped - I have an app that periodically sends an email - works fine each hour email is sent even if the phone has just started up or sleeping.
However, I also want it to get the content of a web site (html code) and append that to the message - I have tried various things including the JobDone sub from okhttputils2 but while getting the code from the page works with the phone is active I cannot get it to do it when it is sleeping, it just seems to ignore that code and just sends the email.
Any help would be appreciated.
Thanks
Dave
 
Top