在后台的Andr​​oid web视图加载 [英] Android webView Load in Background

查看:146
本文介绍了在后台的Andr​​oid web视图加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,我想开一个web视图 现在我加载web视图的最简单方法 我想加载网页在后台,因此用户不会有等待时间 也许在后台或在prevoius活动服务运行 我看了看周围的论坛,但没有找到一个refrence的主题 帮助将appriciated。 THX

I have an app which i want to open a webview right now i am loading the webview the most simple way i would like to load the webpage in the background so the user will not have a waiting time maybe in a service running in the background or in a prevoius activity i looked around the forums and could not find a refrence to the subject help will be appriciated. Thx

推荐答案

我哈得同样的问题,前一段时间,我知道你想要什么。 AsyncTask的!这里是我看了就得到它的工作一个很好的链接!

I hade the same problem a while ago, I know what you want. Asynctask! here is a good link I read on to get it to work!

http://www.brighthub.com/mobile/google-安卓/用品/ 82805.aspx

您如何得到它才能正常工作。 装载在doInBackground或许还有ProgressDialog你的web视图,显示您的应用程序,我的工作?

How you get it to work properly. Load your webview in the doInBackground and perhaps a ProgressDialog that shows that your app i working?

GL队友

这篇关于在后台的Andr​​oid web视图加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆