Android Question httputilise2server

Rumin

Member
Licensed User
During my app running, httputilise2server was killed. My service is alive. that lead a big problem. How to deal with it?
 

DonManfred

Expert
Licensed User
Longtime User
The Server was killed with which error?
 
Upvote 0

Rumin

Member
Licensed User
My app needs to download data every 5 minuts. When my activity down after a while and my service still running, I found no data are downloaded.
 
Upvote 0

Rumin

Member
Licensed User
I made my service keeping alive with the following:
Dim Notif1 As Notification '以下是让服务器一直运行,不被OS kill的程序段,本程序也许暂时不需要
Notif1.Initialize
Notif1.Icon = "icon"
Notif1.SetInfo("正在运行...",Main)
Notif1.Sound = False
Notif1.Notify(1)
Service.StartForeground(1,Notif1)

But how about httputilise2serve?
 
Upvote 0
Top