<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding alert() support to a WebView</title>
	<atom:link href="http://lexandera.com/2009/01/adding-alert-support-to-a-webview/feed/" rel="self" type="application/rss+xml" />
	<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/</link>
	<description>A blog about the web, mobile web, semantic web and mobile semantic web.</description>
	<lastBuildDate>Mon, 07 Jun 2010 20:16:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: paul</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-1463</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 11 Sep 2009 09:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-1463</guid>
		<description>Sorry, I mean WebViewClient instead of  WebChromeClient ...</description>
		<content:encoded><![CDATA[<p>Sorry, I mean WebViewClient instead of  WebChromeClient &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksander Kmetec</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-1439</link>
		<dc:creator>Aleksander Kmetec</dc:creator>
		<pubDate>Wed, 09 Sep 2009 14:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-1439</guid>
		<description>@paul: take a closer look. The example already uses a WebChromeClient which does have onJsAlert. :)</description>
		<content:encoded><![CDATA[<p>@paul: take a closer look. The example already uses a WebChromeClient which does have onJsAlert. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-1434</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Wed, 09 Sep 2009 10:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-1434</guid>
		<description>Hi, I saw this on the apps-for-android repo as well, works perfectly.
What I would need is to do it with WebChromeClient instead of WebViewClient -- the two are very similar but the former doesn&#039;t have the onJsAlert. 
Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, I saw this on the apps-for-android repo as well, works perfectly.<br />
What I would need is to do it with WebChromeClient instead of WebViewClient &#8212; the two are very similar but the former doesn&#8217;t have the onJsAlert.<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sikus</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-1278</link>
		<dc:creator>Sikus</dc:creator>
		<pubDate>Fri, 28 Aug 2009 10:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-1278</guid>
		<description>Hi. I have still problem with scrolling. When I click on the link and alert return true, web page scroll top. I can forbid this scroll. Is there any solution? Can I react after the metod onJsAlert end?</description>
		<content:encoded><![CDATA[<p>Hi. I have still problem with scrolling. When I click on the link and alert return true, web page scroll top. I can forbid this scroll. Is there any solution? Can I react after the metod onJsAlert end?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksander Kmetec</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-498</link>
		<dc:creator>Aleksander Kmetec</dc:creator>
		<pubDate>Thu, 14 May 2009 18:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-498</guid>
		<description>Unfortunately, I don&#039;t know the answer to your question. I did some quick tests and I can&#039;t get clicking with trackball to behave differently from clicking with your finger. Perhaps developers on one of Android mailing lists will be able to help you out: http://developer.android.com/community/index.html</description>
		<content:encoded><![CDATA[<p>Unfortunately, I don&#8217;t know the answer to your question. I did some quick tests and I can&#8217;t get clicking with trackball to behave differently from clicking with your finger. Perhaps developers on one of Android mailing lists will be able to help you out: <a href="http://developer.android.com/community/index.html" rel="nofollow">http://developer.android.com/community/index.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sikus</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-494</link>
		<dc:creator>Sikus</dc:creator>
		<pubDate>Wed, 13 May 2009 15:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-494</guid>
		<description>Hi, I have this code:
 @Override  
public boolean onJsAlert(WebView view, String url, String message, final android.webkit.JsResult result)  {   
// some code to start new Activity	            	
startActivity(i);
return true;                    
}; 
My link :
s += &quot;&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&quot; + &quot;text&lt;/a&gt;&quot;;
	
webview.loadDataWithBaseURL(null, &quot;  &quot; + &quot;&quot; + &quot;Title&quot; +
				+ &quot;&quot; + &quot;&quot; + s + &quot;&quot;
				+ &quot;&quot;, &quot;text/html&quot;, &quot;UTF-8&quot;, &quot;about:blank&quot;); 

So when I clik to the link on displej (with my finger) new Activity is open. It is all right. But when I use trackbol it open webbrowser. Why?</description>
		<content:encoded><![CDATA[<p>Hi, I have this code:<br />
 @Override<br />
public boolean onJsAlert(WebView view, String url, String message, final android.webkit.JsResult result)  {<br />
// some code to start new Activity<br />
startActivity(i);<br />
return true;<br />
};<br />
My link :<br />
s += &#8220;<a href="#" rel="nofollow">&#8221; + &#8220;text</a>&#8220;;</p>
<p>webview.loadDataWithBaseURL(null, &#8221;  &#8221; + &#8220;&#8221; + &#8220;Title&#8221; +<br />
				+ &#8220;&#8221; + &#8220;&#8221; + s + &#8220;&#8221;<br />
				+ &#8220;&#8221;, &#8220;text/html&#8221;, &#8220;UTF-8&#8243;, &#8220;about:blank&#8221;); </p>
<p>So when I clik to the link on displej (with my finger) new Activity is open. It is all right. But when I use trackbol it open webbrowser. Why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sikus</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-451</link>
		<dc:creator>Sikus</dc:creator>
		<pubDate>Wed, 29 Apr 2009 12:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-451</guid>
		<description>Thanks alex,
now, in Firefox, the page work correctly. But I have still problem in my one project and i don&#039;t know where is problem. But when I try it in new project, everything work all right. Thank you very much.</description>
		<content:encoded><![CDATA[<p>Thanks alex,<br />
now, in Firefox, the page work correctly. But I have still problem in my one project and i don&#8217;t know where is problem. But when I try it in new project, everything work all right. Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-379</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Thu, 09 Apr 2009 10:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-379</guid>
		<description>Hi! I&#039;m not sure what the problem could be. I compiled the example code again and it works for me on Android - the alert() shows up on every click. But it is true that it didn&#039;t work in Firefox. I changed the demo HTML page a bit so that the alert dialog is now called from the onclick event. Can you try it again to see if it works?</description>
		<content:encoded><![CDATA[<p>Hi! I&#8217;m not sure what the problem could be. I compiled the example code again and it works for me on Android &#8211; the alert() shows up on every click. But it is true that it didn&#8217;t work in Firefox. I changed the demo HTML page a bit so that the alert dialog is now called from the onclick event. Can you try it again to see if it works?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sikus</title>
		<link>http://lexandera.com/2009/01/adding-alert-support-to-a-webview/comment-page-1/#comment-378</link>
		<dc:creator>Sikus</dc:creator>
		<pubDate>Thu, 09 Apr 2009 10:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://lexandera.com/?p=191#comment-378</guid>
		<description>Hello, I try your code, but I don&#039;t see the alert when I click on the link. First alert is showing. Is there any bug?</description>
		<content:encoded><![CDATA[<p>Hello, I try your code, but I don&#8217;t see the alert when I click on the link. First alert is showing. Is there any bug?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
