<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-750824268717410165</id><updated>2011-12-08T17:13:54.562+01:00</updated><category term='mobile'/><category term='firefox'/><category term='android'/><category term='interaction'/><category term='java'/><category term='sdk'/><category term='cardhouse'/><category term='2.0'/><category term='encoding'/><category term='utf8'/><category term='dev'/><category term='cardstacking'/><category term='creatie'/><category term='error'/><category term='latin1'/><category term='fiddler'/><category term='update'/><title type='text'>Rainmaker's Blog</title><subtitle type='html'>Development adventures</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-750824268717410165.post-1772511698332760647</id><published>2009-11-07T02:23:00.000+01:00</published><updated>2009-11-07T02:24:24.956+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='sdk'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='update'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android update panic</title><content type='html'>&lt;div dir="ltr"&gt; &lt;div&gt;Today I wanted to try out the new Android 2.0 SDK update that was released  last month. Aside from the new cool things I wanted to try out in the new  release, I also wanted to see if things were different in the new API. &lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;After downloading the new SDK, which was suprisingly only 22MB instead of  the 224MB for 1.6, I found out this was an unnecessary step. It seems you can  update 1.6 by simply go to Windows &gt; Android SDK and AVD manager &gt;  Available Packages. Check the checkbox with the repository xml, click Install  Selected and follow the screens from there. Afterwards you need to update  "Android Development Tools" as well in your Eclipse software updates.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Unfortunately, the update didn't went as smooth as I hoped for. After  updating I ran into the problem in comment 1 stated here &lt;a href="http://code.google.com/p/android/issues/detail?id=3025"&gt;http://code.google.com/p/android/issues/detail?id=3025&lt;/a&gt;.  The emulator would start, but eclipse couldn't connect. ADB kill-server didn't  work. &lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;In the end, I got it running again. So, what was I doing wrong? It appears  you need to update "Android DDMS" as well in your Eclipse software updates.  &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/750824268717410165-1772511698332760647?l=rainmaker2k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/1772511698332760647/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=750824268717410165&amp;postID=1772511698332760647' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/1772511698332760647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/1772511698332760647'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/2009/11/android-update-panic.html' title='Android update panic'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-750824268717410165.post-432905853411619744</id><published>2007-10-23T16:02:00.000+02:00</published><updated>2007-10-23T16:09:40.372+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dev'/><category scheme='http://www.blogger.com/atom/ns#' term='fiddler'/><title type='text'>Using Fiddler with localhost pages</title><content type='html'>Everybody who has ever used Fiddler might have stumbled upon the localhost problem. Because of some hardcoded things in IE7(?), all localhost requests don't pass Fiddler. To work around this, you can call the page you want to debug by using:&lt;br /&gt;&lt;br /&gt;http://machinename:8080/index.html&lt;br /&gt;&lt;br /&gt;This will let the request pass through Fiddler.&lt;br /&gt;&lt;br /&gt;More on this subject can be found on the Fiddler helppages: http://www.fiddlertool.com/Fiddler/help/hookup.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/750824268717410165-432905853411619744?l=rainmaker2k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/432905853411619744/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=750824268717410165&amp;postID=432905853411619744' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/432905853411619744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/432905853411619744'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/2007/10/using-fiddler-with-localhost-pages.html' title='Using Fiddler with localhost pages'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-750824268717410165.post-6456749449435713348</id><published>2007-10-11T09:58:00.000+02:00</published><updated>2007-10-11T10:08:08.200+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='dev'/><title type='text'>Mobile Firefox</title><content type='html'>Mozilla is announcing a new mobile version of their Firefox browser. I can only cheer to that. :)&lt;br /&gt;&lt;a href="http://weblogs.mozillazine.org/schrep/archives/2007/10/mozilla_and_mobile.html"&gt;http://weblogs.mozillazine.org/schrep/archives/2007/10/mozilla_and_mobile.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/750824268717410165-6456749449435713348?l=rainmaker2k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/6456749449435713348/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=750824268717410165&amp;postID=6456749449435713348' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/6456749449435713348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/6456749449435713348'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/2007/10/mobile-firefox.html' title='Mobile Firefox'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-750824268717410165.post-8792522918968279552</id><published>2007-10-10T13:17:00.000+02:00</published><updated>2007-10-10T13:20:22.308+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cardhouse'/><category scheme='http://www.blogger.com/atom/ns#' term='cardstacking'/><title type='text'>What to do with 22,000 cards</title><content type='html'>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/YvLkjuYunRw"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/YvLkjuYunRw" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/750824268717410165-8792522918968279552?l=rainmaker2k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/8792522918968279552/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=750824268717410165&amp;postID=8792522918968279552' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/8792522918968279552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/8792522918968279552'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/2007/10/what-to-do-with-22000-cards.html' title='What to do with 22,000 cards'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-750824268717410165.post-8969950438225503263</id><published>2007-10-09T13:58:00.000+02:00</published><updated>2007-10-10T14:26:31.563+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='utf8'/><category scheme='http://www.blogger.com/atom/ns#' term='dev'/><category scheme='http://www.blogger.com/atom/ns#' term='encoding'/><category scheme='http://www.blogger.com/atom/ns#' term='latin1'/><title type='text'>Encoding URL form parameters in Java</title><content type='html'>When using Java to get the response of a HTTP connection, you can use the following function.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;private String getHttpResponse(String url) {&lt;br /&gt;StringBuffer response = new StringBuffer();&lt;br /&gt;try {&lt;br /&gt;URL connection = new URL(url);&lt;br /&gt;URLConnection urlconnection = connection.openConnection();&lt;br /&gt;BufferedReader breader = new BufferedReader(new InputStreamReader(urlconnection.getInputStream(), "UTF-8"));&lt;br /&gt;String line = null;&lt;br /&gt;while ((line = breader.readLine()) != null) {&lt;br /&gt;response.append(line);&lt;br /&gt;}&lt;br /&gt;} catch (MalformedURLException e) {&lt;br /&gt;// TODO Auto-generated catch block&lt;br /&gt;e.printStackTrace();&lt;br /&gt;} catch (IOException e) {&lt;br /&gt;// TODO Auto-generated catch block&lt;br /&gt;e.printStackTrace();&lt;br /&gt;}&lt;br /&gt;return response.toString();&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After it's declared, you can call it by using getHttpResponse("http://www.google.com");&lt;br /&gt;&lt;br /&gt;The problem is that if you want to give any extra request parameters with it that are not in the english alphabet (like the german umlaut sign), it's pretty unpredictable how it is passed on to the called server if you don't have it properly encoded. So, what you want to do is have these request parameters encoded in the proper encoding (UTF-8 or Latin-1) before using it as a request paramater.&lt;br /&gt;&lt;br /&gt;The java.net package has classes for these situations called URLEncoder en URLDecoder.&lt;br /&gt;Example: cleanquery = URLEncoder.encode(query, "ISO-8859-1");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/750824268717410165-8969950438225503263?l=rainmaker2k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/8969950438225503263/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=750824268717410165&amp;postID=8969950438225503263' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/8969950438225503263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/8969950438225503263'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/2007/10/when-using-java-to-get-catch-response.html' title='Encoding URL form parameters in Java'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-750824268717410165.post-6195582953117942134</id><published>2007-03-26T15:28:00.000+02:00</published><updated>2007-03-26T15:30:24.238+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dev'/><category scheme='http://www.blogger.com/atom/ns#' term='creatie'/><category scheme='http://www.blogger.com/atom/ns#' term='interaction'/><title type='text'>Hoera, we hebben een nieuwe blog</title><content type='html'>Eindelijk, een nieuwe blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/750824268717410165-6195582953117942134?l=rainmaker2k.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rainmaker2k.blogspot.com/feeds/6195582953117942134/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=750824268717410165&amp;postID=6195582953117942134' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/6195582953117942134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/750824268717410165/posts/default/6195582953117942134'/><link rel='alternate' type='text/html' href='http://rainmaker2k.blogspot.com/2007/03/hoera-we-hebben-een-nieuwe-blog.html' title='Hoera, we hebben een nieuwe blog'/><author><name>Kah</name><uri>http://www.blogger.com/profile/07751728353705702606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
