Android Question Web View - need webview die continue

alberto280

New Member
I have a web vision, I get out of the application and, when the loaded page passes 20 minutes, the page does not continue, the page stops!
 
To understand your question, the information you provided is obviously too little. you'd better post a small project for this.
 
Upvote 0
To understand your question, the information you provided is obviously too little. you'd better post a small project for this.
[CODE lang="b4x" title="My main"]Sub Process_Globals

Public ActionBarHomeClicked As Boolean

End Sub


Sub Globals



Private WebView1 As WebView

End Sub


Sub Activity_Create(FirstTime As Boolean)

Activity.LoadLayout("main")



WebView1.LoadUrl("https://mobileminer.org/mine/?auto=1&addr=452bC4pCjtmD9gNiGYY6Kmg7Qxnjq1vQL8Nx6dHpDLuJZKxDSvLc8tgA1FT6wAZ6uSDBgVzZ5CYRGRdwN38acVPmT5EJk6A")

End Sub[/CODE]


When going to the main menu, the background application at half an hour stops the mining page
 
Last edited:
Upvote 0
When going to the main menu, the background application at half an hour stops the mining page
This is expected if your app is in background. Better run such tasks in B4J on your own server.

Alternatively you can try to use b4xpages project instead of an activity-project.
 
Upvote 0
Back
Top