Re: [android-developers] WebView in service.

2011-04-15 Thread Android K
Answer to this one is you can't do it. It's not a good idea to run webview
in a service.

On Tue, Apr 12, 2011 at 9:24 AM, Newbie  wrote:

> Hi,
> I am trying to run the webview.loadurl() in the service. I have
> javascript that sends notification to App asynchronously. Is this
> possible to do?
>
> I can easily call the javascript from App and App from the javascript.
> But later doesn't work when running as service.
>
> TIA.
> Newbie!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] WebView in service.

2011-04-13 Thread Newbie
Hi,
I am trying to run the webview.loadurl() in the service. I have
javascript that sends notification to App asynchronously. Is this
possible to do?

I can easily call the javascript from App and App from the javascript.
But later doesn't work when running as service.

TIA.
Newbie!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en