<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EnvyAndroid.com</title>
	<atom:link href="http://envyandroid.com/feed" rel="self" type="application/rss+xml" />
	<link>http://envyandroid.com</link>
	<description></description>
	<lastBuildDate>Sat, 10 Mar 2012 16:37:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Try out Android 4.0 Ice Cream Sandwich CM 9 on your Galaxy S 2 right now!</title>
		<link>http://envyandroid.com/archives/643/android4-galaxys2</link>
		<comments>http://envyandroid.com/archives/643/android4-galaxys2#comments</comments>
		<pubDate>Wed, 04 Jan 2012 20:24:18 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CyanogenMOD]]></category>
		<category><![CDATA[Galaxy S2]]></category>
		<category><![CDATA[Ice Cream Sandwich]]></category>
		<category><![CDATA[ROM]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=643</guid>
		<description><![CDATA[Since waiting for samsung to eventually put touchWiz on an ICS rom, and then release the updates for the Galaxy s 2, is kind of a boring long wait. This is for you, if you would rather try out ICS right now, but can&#8217;t afford a Google Nexus phone, or don&#8217;t see any reason why&#8230;]]></description>
			<content:encoded><![CDATA[<p>Since waiting for samsung to eventually put touchWiz on an ICS rom, and then release the updates for the Galaxy s 2, is kind of a boring long wait.</p>
<p>This is for you, if you would rather try out ICS right now, but can&#8217;t afford a Google Nexus phone, or don&#8217;t see any reason why you should update if you already own the Galaxy S 2 <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
The CyanogenMOD team is working hard on their 9th version, and one of the devs, <em>codeworkx</em>, has been putting together experimental builds and fixes daily since right after christmas.</p>
<p>Not everything is in place yet, as this is an early experimental build (alpha), and lots of <a href="http://teamhacksung.org/wiki/index.php/Experimental:GT-I9100:Known_issues">bugs remain to squash</a>, but I have tried the rom, and it is actually quite good and stable for being an alpha! So, depending on your needs, you can actually use this as your daily rom, like I currently do.</p>
<p>This guide assumes you already have some knowledge about flashing roms, and it is recommended to have a working ClockWorkMod, like the version that comes with CyanogenMOD 7.</p>
<p><strong>I am not responsible for anything that happens to you or your phone if you decide to try this. </strong></p>
<p><strong>And I will not do support for this in the comments.</strong></p>
<p>(Problems can be discussed in the IRC channel linked in the xda thread, or <a href="http://forum.xda-developers.com/showthread.php?t=1419102">here</a>)</p>
<h2>Installation instructions</h2>
<p>The whole thread and download links can be found over at xda <a href="http://forum.xda-developers.com/showthread.php?p=20671183">here</a>.</p>
<p>Im just going to summarize the procedure:</p>
<ol>
<li>Copy GApps, Faceunlock and CM9 ZIPs to your internal SDCard</li>
<li>Boot into Recovery</li>
<li>Flash the CM9 zip</li>
<li>Flash GApps and Faceunlock ZIPs</li>
<li>DO A DATA WIPE / FACTORY RESET</li>
<li>Reboot</li>
</ol>
<p>I was using CyanogenMOD 7, with CWM, and using the 01032012 build (january 3, 2012), I could flash the ROM directly, without having to use a ICS bootloader, which you had to use with the earlier builds.  I also flashed the XXKP8 Modem right after the GApps and facelock zips, but it is said to be not neccesary. I did not need Odin for anything during this procedure.</p>
<p>These steps worked fine. Although there are a couple of quirks you may stumble upon&#8230;</p>
<h2>Quirks and stuff</h2>
<p>Including <a href="http://teamhacksung.org/wiki/index.php/Experimental:GT-I9100:Known_issues">this list of bugs</a>, heres a list of different quirks, and solutions, that is not present in the post on the front page:</p>
<ul>
<li>If Google maps is giving a &#8220;Login failed&#8221; message, you have to give it permissions (it should pop up from the notification bar), this has to be done 3 times (for 3 different permissions). You may have to exit and re-launch the app many times for this to work. It took me 5 minutes before I got it working.</li>
<li>If none of the Google apps gets installed, besides GMail, you can download them from the market</li>
<li>To make app installation easier, try logging in to <a href="https://market.android.com/">market.android.com</a> in your desktop browser, and install apps directly onto your phone.</li>
<li>If the scrolling in menus is sometimes lagging, you can fix this by going to: <em>Settings -&gt; Developers option -&gt; Force gpu rendering</em></li>
<li>If you later decide to update the rom to a newer build, you just need to flash the rom, GApps and the facelock zip, then wipe cache, you do not need to flash the modem again.</li>
<li>The newer builds can be flashed from newer versions of CWM, ICS bootloader is not needed.</li>
<li>If the phone gets hot, or dont want to go to deep sleep, you have to kill the media and google services: On the home screen, press the menu button -&gt; Manage apps -&gt; And stop the media service.</li>
<li>To transfer files, if the Media Transfer Protocol doesn&#8217;t work, you can use <a href="http://de.codeplex.com/">Droid Explorer</a> to transfer files.</li>
<li>Taking screenshots on the device is a little weird&#8230; Hold down the power button for about 1 second, then you get the menu, choose screenshot.</li>
</ul>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-06-53.png"><img class="alignleft size-medium wp-image-648" title="Screenshot_2012-01-04-21-06-53" src="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-06-53-180x300.png" alt="" width="180" height="300" /></a></p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-16-36.png"><img class="alignleft size-medium wp-image-651" title="Screenshot_2012-01-04-21-16-36" src="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-16-36-180x300.png" alt="" width="180" height="300" /></a></p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-06-37.png"><img class="alignleft size-medium wp-image-649" title="Screenshot_2012-01-04-21-06-37" src="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-06-37-180x300.png" alt="" width="180" height="300" /></a></p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-07-16.png"><img class="alignleft size-medium wp-image-650" title="Screenshot_2012-01-04-21-07-16" src="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-04-21-07-16-180x300.png" alt="" width="180" height="300" /></a></p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-05-13-58-42.png"><img class="alignleft size-medium wp-image-660" title="Screenshot_2012-01-05-13-58-42" src="http://envyandroid.com/wp/wp-content/uploads/2012/01/Screenshot_2012-01-05-13-58-42-180x300.png" alt="" width="180" height="300" /></a></p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=643" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/643/android4-galaxys2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Box.net accounts for LG phone owners!</title>
		<link>http://envyandroid.com/archives/634/free-box-net-accounts-for-lg-phone-owners</link>
		<comments>http://envyandroid.com/archives/634/free-box-net-accounts-for-lg-phone-owners#comments</comments>
		<pubDate>Thu, 22 Dec 2011 11:38:46 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Box.net]]></category>
		<category><![CDATA[LG]]></category>
		<category><![CDATA[Synchronization]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=634</guid>
		<description><![CDATA[According to the Box.net blog, owners of LG phones can get a Box.net account for free. Box.net is a file storage and synchronization service, which is more suited for buisnesses, indication that it may in some cases replace Sharepoint. (I have not yet tested Box.net) For LG phones, you have to have Android 2.1 or&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/boxnet.png"><img class="alignleft size-medium wp-image-635" title="boxnet" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/boxnet-300x146.png" alt="" width="300" height="146" /></a></p>
<p>According to the Box.net <a href="http://blog.box.com/2011/11/50-gb-free-on-all-lg-devices-and-new-android-features/">blog</a>, owners of LG phones can get a <a href="http://box.com/">Box.net</a> account for free.</p>
<p>Box.net is a file storage and synchronization service, which is more suited for buisnesses, indication that it may in some cases replace Sharepoint.<br />
(I have not yet tested Box.net)</p>
<p>For LG phones, you have to have Android 2.1 or better.</p>
<p>All you have to do is just install the <a href="https://market.android.com/details?id=com.box.android&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5ib3guYW5kcm9pZCJd">Box.net Android app</a> from the market, and you will get 50GB free storage and synchronization!</p>
<p>(You will have to create and account when you are logging in.)</p>
<p>&nbsp;</p>
<p>Some clever guys over at xda also made a <a href="http://forum.xda-developers.com/showthread.php?t=1383808">workaround</a> so you can get Box.net even if you don&#8217;t have a LG phone. But this method is meant for more xperienced users.</p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=634" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/634/free-box-net-accounts-for-lg-phone-owners/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Try Android 4.0 Ice Cream Sandwich in Virtualbox for a lag-free experience</title>
		<link>http://envyandroid.com/archives/596/try-android-4-in-virtualbox-for-a-lag-free-experience</link>
		<comments>http://envyandroid.com/archives/596/try-android-4-in-virtualbox-for-a-lag-free-experience#comments</comments>
		<pubDate>Sat, 10 Dec 2011 12:39:18 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Android-x86]]></category>
		<category><![CDATA[AVD]]></category>
		<category><![CDATA[Ice Cream Sandwich]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=596</guid>
		<description><![CDATA[I have earlier made a post on how to try out Android 4.0 through the AVD manager, it works, but its rather slow. So I figured I would test the Android-x86 project now that they a couple of hours ago released an Android 4.0 image. This article will guide you through the setup of Android&#8230;]]></description>
			<content:encoded><![CDATA[<p>I have earlier <a title="How to try out Android 4.0 Ice Cream Sandwich!" href="http://envyandroid.com/archives/558/try-out-ics">made a post</a> on how to try out Android 4.0 through the AVD manager, it works, but its rather slow. So I figured I would test the Android-x86 project now that they a couple of hours ago released an <a href="http://code.google.com/p/android-x86/downloads/detail?name=android-x86-4.0-tegav2-20111209.iso&amp;can=2&amp;q=">Android 4.0 image</a>.</p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/featured-ics2.png"><img class="size-full wp-image-573 alignright" title="featured-ics2" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/featured-ics2.png" alt="" width="300" height="300" /></a></p>
<p>This article will guide you through the setup of Android 4.0 in virtualbox. It will work a lot smoother than through the AVD.</p>
<p>There are a couple of steps in this guide, but they are straightforward and easy to follow.</p>
<p><span id="more-596"></span></p>
<ol>
<li>Start by downloading the iso image from <a href="http://code.google.com/p/android-x86/downloads/detail?name=android-x86-4.0-tegav2-20111209.iso&amp;can=2&amp;q=">here</a>.</li>
<li>In Virtualbox, create a new virtual machine, select <em>Linux</em> as Operating System, and <em>Other Linux</em> as the version.</li>
<li>You can now press next all the way, to finish the creation. Default settings will work.</li>
<li>Go into settings for the virtual machine, and put the downloaded iso into the &#8220;cd-tray&#8221;<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/a.png"><img class="size-medium wp-image-609 aligncenter" title="a" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/a-300x258.png" alt="" width="300" height="258" /></a></li>
<li> Start up the virtual machine, and hit Install android-x86 to harddisk<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/b.png"><img class="size-medium wp-image-610 aligncenter" title="b" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/b-300x255.png" alt="" width="300" height="255" /></a></li>
<li>Go to <em>Create/modify partitions</em>, <em>new</em>, <em>primary</em>, just use the default size, then click <em>bootable</em> to set the bootable flah on the partition. Click <em>Write</em>, type yes, and then hit Enter. And <em>Quit</em>.</li>
<li>We have now created the partition to use, and you will see this image:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/c.png"><img class="size-medium wp-image-611 aligncenter" title="c" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/c-300x195.png" alt="" width="300" height="195" /></a></li>
<li>Select the sda1 Linux partition, and hit ok. Choose ext3 as filesystem, and hit ok.</li>
<li>When asked if you want to do a format, select yes, also say yes to installing grub, but no to install /system as read-write.</li>
<li>At the end, select <em>Run android-x86</em> and your Android 4.0 virtual machine will come to life!</li>
<li>While booting, it will show a lot of text and commands like this:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/1.png"><img class="size-medium wp-image-598 aligncenter" title="1" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/1-300x250.png" alt="" width="300" height="250" /></a><br />
That was where my booting stopped. To be able to interact with the virtual machine with your mouse, you have to first turn off the mouse capturing in the virtual machines window:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/d.png"><img class="size-full wp-image-613 aligncenter" title="d" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/d.png" alt="" width="290" height="48" /></a><br />
To be able to escape the mouse from the capturing (if you have clicked inside the virtual machine), press your right CTRL key on your keyboard.</li>
<li>Since I was stuck while booting, I clicked Machine -&gt; ACPI Shutdown.<br />
Android 4.0 then made a jump to the welcome screen, and asked me if I wanted to power off my device, since it had now gotten to the welcome screen, I selected Cancel, and continued through the welcome setup. Weird!<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/2.png"><img class="size-medium wp-image-599 aligncenter" title="2" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/2-300x250.png" alt="" width="300" height="250" /></a></li>
<li>After just walking through the short welcome process, I got to the homescreen, and could finally play around!<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/3.png"><img class="size-medium wp-image-600 aligncenter" title="3" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/3-300x250.png" alt="" width="300" height="250" /></a> <a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/4.png"><img class="size-medium wp-image-601 aligncenter" title="4" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/4-300x250.png" alt="" width="300" height="250" /></a></li>
</ol>
<p>When you are done playing around, and want to shut down the virtual machine, just go to Machine -&gt; ACPI shutdown.</p>
<p>The performance is a lot better using this method, rather than the emulation that comes with the Android SDK.</p>
<p>Although as a little downside, I have not found any way to enable networking to the virtual machine.</p>
<p>Here are a couple of other screencaps <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/5.png"><img class="alignleft size-medium wp-image-602" title="5" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/5-300x250.png" alt="" width="300" height="250" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/6.png"><img class="alignleft size-medium wp-image-603" title="6" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/6-300x250.png" alt="" width="300" height="250" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/7.png"><img class="alignleft size-medium wp-image-604" title="7" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/7-300x250.png" alt="" width="300" height="250" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/8.png"><img class="alignleft size-medium wp-image-605" title="8" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/8-300x250.png" alt="" width="300" height="250" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/9.png"><img class="alignleft size-medium wp-image-606" title="9" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/9-300x250.png" alt="" width="300" height="250" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/10.png"><img class="alignleft size-medium wp-image-607" title="10" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/10-300x250.png" alt="" width="300" height="250" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/11.png"><img class="alignleft size-medium wp-image-608" title="11" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/11-300x250.png" alt="" width="300" height="250" /></a></p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=596" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/596/try-android-4-in-virtualbox-for-a-lag-free-experience/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse ADT has been updated. Brings nice features!</title>
		<link>http://envyandroid.com/archives/584/adt-updated-with-nice-features</link>
		<comments>http://envyandroid.com/archives/584/adt-updated-with-nice-features#comments</comments>
		<pubDate>Fri, 09 Dec 2011 23:04:10 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ADT]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=584</guid>
		<description><![CDATA[I just noticed throught Eclipse that ADT had been updated. The new ADT version brings some nice touches to the layout editor. Now you can select items and drag and drop them onto the layout. It&#8217;s a nice touch that will certainly help new android developers a lot. To get the new features, in eclipse&#8230;]]></description>
			<content:encoded><![CDATA[<p>I just noticed throught Eclipse that ADT had been updated.</p>
<p>The new ADT version brings some nice touches to the layout editor.</p>
<p>Now you can select items and drag and drop them onto the layout. It&#8217;s a nice touch that will certainly help new android developers a lot.</p>
<p>To get the new features, in eclipse go to <em>Help</em> and then <em>Check for updates</em>.</p>
<p>You can read more in the ADT <a href="http://developer.android.com/sdk/eclipse-adt.html">changelog</a>.</p>
<p>They have also tweaked the XML formatting. Which is always a good thing <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I ran a quick test with a drawer layout on Android 4.0:</p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/eclipse-adt15.png"><img class="size-medium wp-image-586 alignleft" title="eclipse-adt15" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/eclipse-adt15-275x300.png" alt="" width="275" height="300" /></a></p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/eclipse-adt15-2.png"><img class="size-medium wp-image-588 alignleft" title="eclipse-adt15-2" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/eclipse-adt15-2-300x180.png" alt="" width="300" height="180" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/12/eclipse-adt15-1.png"><img class="size-medium wp-image-587 alignleft" title="eclipse-adt15-1" src="http://envyandroid.com/wp/wp-content/uploads/2011/12/eclipse-adt15-1-300x180.png" alt="" width="300" height="180" /></a></p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=584" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/584/adt-updated-with-nice-features/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to try out Android 4.0 Ice Cream Sandwich!</title>
		<link>http://envyandroid.com/archives/558/try-out-ics</link>
		<comments>http://envyandroid.com/archives/558/try-out-ics#comments</comments>
		<pubDate>Wed, 19 Oct 2011 11:54:27 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[ADT]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[AVD]]></category>
		<category><![CDATA[Galaxy Nexus]]></category>
		<category><![CDATA[Ice Cream Sandwich]]></category>
		<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=558</guid>
		<description><![CDATA[A couple or hours ago, the Galaxy Nexus was announced, along with Android 4.0. At the same time, the Android 4.0 SDK was released into the wild.  Here I will show you how to already get it up and running, so you can try it out, and start developing/adapting your Android apps for ICS. It&#8230;]]></description>
			<content:encoded><![CDATA[<p>A couple or hours ago, the Galaxy Nexus was announced, along with Android 4.0.</p>
<p>At the same time, the Android 4.0 SDK was released into the wild. <a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/galaxynexus.png"><img class="alignright size-medium wp-image-572" title="galaxynexus" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/galaxynexus-300x256.png" alt="" width="300" height="256" /></a></p>
<p>Here I will show you how to already get it up and running, so you can try it out, and start developing/adapting your Android apps for ICS. It will give you a nice &#8220;hands on&#8221; feeling for ICS <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The steps in this post is quite similar to the post I wrote earlier about <a title="How to try out Android 3.0 – Honeycomb!" href="http://envyandroid.com/archives/341/try-out-android-honeycomb">trying out Honeycomb</a>.</p>
<p>If you want a faster working solution, but for the time being without internet connection, you can check out my post on how to install <a title="Try Android 4.0 Ice Cream Sandwich in Virtualbox for a lag-free experience" href="http://envyandroid.com/archives/596/try-android-4-in-virtualbox-for-a-lag-free-experience">Android 4.0 in virtualbox</a>.<span id="more-558"></span></p>
<ol>
<li>You start by opening the <strong>Android SDK and AVD manager</strong></li>
<li>It will automatically check for updates:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics1.png"><img class="alignnone size-medium wp-image-559" title="ics1" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics1-300x163.png" alt="" width="300" height="163" /></a></li>
<li>Choose to install <strong>Android SDK Tools, revision 14</strong> and <strong>Android SDK Platform-tools, revision 8.</strong> After installation, you have to restart the Android SDK manager. It may also look like this:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics3.png"><img class="alignnone size-medium wp-image-561" title="ics3" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics3-300x214.png" alt="" width="300" height="214" /></a></li>
<li>After restarting ADB, create a new Android device, and give it these settings:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics4-2.png"><img class="alignnone size-medium wp-image-563" title="ics4-2" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics4-2-189x300.png" alt="" width="189" height="300" /></a></li>
<li>Select your new AVD and hit Start:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics5.png"><img class="alignnone size-medium wp-image-564" title="ics5" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics5-300x200.png" alt="" width="300" height="200" /></a></li>
<li>After some loading (yes, it takes some time), you get the following screen:<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics11.png"><img class="alignnone size-medium wp-image-570" title="ics11" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics11-300x277.png" alt="" width="300" height="277" /></a></li>
<li>Congratulations, you can now play with Ice Cream Sandwich! <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
</ol>
<div>At first, in step 4, i chose WXGA720, which gave me the &#8220;tablet size&#8221;, I took some screenshots of that:</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics7.png"><img class="alignnone size-medium wp-image-566" title="ics7" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics7-300x180.png" alt="" width="300" height="180" /></a> <a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics8.png"><img class="alignnone size-medium wp-image-567" title="ics8" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics8-300x180.png" alt="" width="300" height="180" /></a></div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics9.png"><img class="alignnone size-medium wp-image-568" title="ics9" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics9-300x180.png" alt="" width="300" height="180" /></a> <a href="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics10.png"><img class="alignnone size-medium wp-image-569" title="ics10" src="http://envyandroid.com/wp/wp-content/uploads/2011/10/ics10-300x180.png" alt="" width="300" height="180" /></a></div>
<p><strong>Android 4.0 certainly looks nice, so I hope it will spread quickly.</strong></p>
<p>You can find more information on Android 4.0 at <a href="http://developer.android.com/sdk/android-4.0-highlights.html">developer.android.com</a>. And on the android-developers <a href="http://android-developers.blogspot.com/2011/10/android-40-platform-and-updated-sdk.html">blog</a>.</p>
<p>For developers: The User agent for Ice Cream Sandwich seems to be</p>
<p class="error"><span class="errorbox">Mozilla/5.0 (Linux; U; Android 4.0.1; en-us; sdk Build/ICS_MR0) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</span></p>
<p>Please share this post!</p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=558" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/558/try-out-ics/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging websites on mobile devices with Opera Mobile and Dragonfly</title>
		<link>http://envyandroid.com/archives/527/debugging-websites-mobile-devices-opera-mobile-dragonfly</link>
		<comments>http://envyandroid.com/archives/527/debugging-websites-mobile-devices-opera-mobile-dragonfly#comments</comments>
		<pubDate>Wed, 24 Aug 2011 20:45:35 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Mobile web]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Dragonfly]]></category>
		<category><![CDATA[Galaxy S2]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Opera Mobile]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Browser]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=527</guid>
		<description><![CDATA[I have previously written about how you can debug mobile websites with a tool called Weinre. Now I will explain another way to debug sites, this time, with Opera Mobile, and Opera Dragonfly. I will be demonstrating this on a Galaxy S 2, with Opera Mobile 11.10 on Android  and Opera desktop version 11.50. This&#8230;]]></description>
			<content:encoded><![CDATA[<p>I have <a title="How to easily debug websites on mobile devices with “Weinre”" href="http://envyandroid.com/archives/483/easily-debug-mobile-websites-with-weinre">previously written about</a> how you can debug mobile websites with a tool called Weinre. Now I will explain another way to debug sites, this time, with Opera Mobile, and Opera Dragonfly.</p>
<p>I will be demonstrating this on a Galaxy S 2, with <a href="http://www.opera.com/mobile/">Opera Mobile</a> 11.10 <a href="https://market.android.com/details?id=com.opera.browser">on Android </a> and <a href="http://www.opera.com/">Opera desktop</a> version 11.50.</p>
<p>This is Opera Mobile, not Mini, which is a different browser.</p>
<p>This will not work for iPhone or iPad since Opera Mobile is not allowed into App store since it is too &#8220;similar to safari&#8221;.</p>
<p>As we developers know, it is quite difficult and cumbersome to inspect a websites source code, css, javascript or layout, from a mobile browser, like you can in a desktop browser with tools like Firebug.</p>
<p>Dragonfly is a tool that can be used to debug and edit websites on your mobile device, from your desktop computer.</p>
<p>I will be showing how to connect to your phone, and start debugging away!</p>
<p><span id="more-527"></span></p>
<h2>Dragonfly</h2>
<ul>
<li>Dragonfly is Operas version of Firebug and Chrome developer tools.</li>
<li>It comes bundled with the desktop version of Opera.</li>
<li>It is a webapp, which automatically updates itself.</li>
<li>You can open it by pressing <span class="error">Ctrl + Shift + I</span> or by clicking the main menu -&gt; Page- Developer tools -&gt; Dragonfly</li>
</ul>
<div>You may also want to place the quick access button in your toolbar, to do this,<br />
press <span class="error">Shift + F12 -&gt; Buttons -&gt; Browser View</span>, and then drag the Dragonfly button onto your toolbar, like illustrated below.</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/1dragonfly-button.png"><img class="alignnone size-thumbnail wp-image-531" title="1dragonfly-button" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/1dragonfly-button-150x150.png" alt="" width="150" height="150" /></a></div>
<h2>Connecting for Remote debugging</h2>
<div>
<ol>
<li>When you have opened Dragonfly on your computer, click on the &#8220;Remote debug configuration&#8221; button, set a port number (default 7001 should work in most cases), and hit apply.<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/2remote-debugging.png"><img class="alignnone size-medium wp-image-534" title="2remote-debugging" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/2remote-debugging-300x129.png" alt="" width="300" height="129" /></a></li>
<li>Find the local IP address of your computer</li>
<li>Connect your phone to the same network as your computer, by wifi.</li>
<li>Open Opera Mobile on your phone, and go to <span class="error">about:debug</span> in the url bar.<br />
<a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/1mobile-connect.png"><img class="alignnone size-medium wp-image-532" title="1mobile-connect" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/1mobile-connect-180x300.png" alt="" width="180" height="300" /></a></li>
<li>Enter the ip address and port number of your computer, and hit &#8220;connect&#8221;.</li>
</ol>
<div>If it connects properly, Dragonfly should start loading the html of the currently active website in Opera Mobile, which will be the &#8220;Connect to debugger&#8221; website where we hit the connect button. It will look something like this:</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/4connected-siden.png"><img class="alignnone size-medium wp-image-536" title="4connected-siden" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/4connected-siden-300x140.png" alt="" width="300" height="140" /></a></div>
<div>If you expand the DOM, and mouse over or click the H1 tag (like I did in the picture), you should see the header beeing selected in Opera Mobile, on you phone!</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/2mobile-connected.png"><img class="alignnone size-medium wp-image-533" title="2mobile-connected" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/2mobile-connected-180x300.png" alt="" width="180" height="300" /></a></div>
<h2>Doing some editing</h2>
<div>Now I can for example edit the header of the website, by double clicking it, and entering some new text.</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/5editing-text.png"><img class="alignnone size-medium wp-image-538" title="5editing-text" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/5editing-text-300x140.png" alt="" width="300" height="140" /></a></div>
</div>
<div>And the changes appear on the phone instantly, &#8220;New Header&#8221;:</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/3mobile-select-header.png"><img class="alignnone size-medium wp-image-535" title="3mobile-select-header" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/3mobile-select-header-180x300.png" alt="" width="180" height="300" /></a></div>
<div>I can also change some color via css to turn the header green:</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/6editing-color.png"><img class="alignnone size-medium wp-image-540" title="6editing-color" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/6editing-color-300x140.png" alt="" width="300" height="140" /></a></div>
<div>And it is displayed instantly on the phone:</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/4mobile-editing-header.png"><img class="alignnone size-medium wp-image-537" title="4mobile-editing-header" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/4mobile-editing-header-180x300.png" alt="" width="180" height="300" /></a></div>
<h2>Debugging another website</h2>
<div>Now, this was just for demonstration, you probably want to debug or mess with some other website,  you can do this by going to a new url in the address bar on Opera Mobile. <del>You cannot open other websites in tabs on your phone, to debug another site, you must use the same tab, just change the url.</del> (<strong>edit:</strong> Yes you can! <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  see comments below)</div>
<div>If I go to another website, its html will automatically show up in Dragonfly, after the page has loaded, ready for you to mess with!</div>
<div><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/6mobile-debugging-another-site.png"><img class="alignnone size-medium wp-image-541" title="6mobile-debugging-another-site" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/6mobile-debugging-another-site-180x300.png" alt="" width="180" height="300" /></a><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/7-another-site.png"><img class="alignnone size-medium wp-image-542" title="7-another-site" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/7-another-site-300x140.png" alt="" width="300" height="140" /></a></div>
<h2>Stopping debugging &amp; some tips</h2>
<div>
<ol>
<li>When you are done debugging websites, you just hit the &#8220;<strong>Cancel remote debug</strong>&#8221; button in Dragonfly.</li>
<li>You can get a javascript console, to inject javascript, read values etc, with the press of a button (see image below)</li>
<li>If you need more space, you can undock Dragonfly to a separate window (see image below)</li>
<li><a href="http://dev.opera.com/articles/view/introduction-to-opera-dragonfly/">Here</a> and <a href="http://www.opera.com/dragonfly/documentation/">here</a> you can find more information on Dragonfly and how to use it.</li>
</ol>
</div>
<div>
<div id="attachment_544" class="wp-caption alignnone" style="width: 215px"><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/undock-console.png"><img class="size-full wp-image-544" title="undock-console" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/undock-console.png" alt="" width="205" height="82" /></a><p class="wp-caption-text">Console and Undocking</p></div>
</div>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=527" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/527/debugging-websites-mobile-devices-opera-mobile-dragonfly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to connect usb sticks to your Samsung Galaxy S2 for extra storage on the go.</title>
		<link>http://envyandroid.com/archives/518/connect-usb-sticks-samsung-galaxy-s2</link>
		<comments>http://envyandroid.com/archives/518/connect-usb-sticks-samsung-galaxy-s2#comments</comments>
		<pubDate>Mon, 15 Aug 2011 13:47:35 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Galaxy S2]]></category>
		<category><![CDATA[USB-OTG]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=518</guid>
		<description><![CDATA[Today I finally received my Micro USB OTG adapter. So I thought I would test it out, connecting a USB stick to my Galaxy S2. This was really straightforward, so theres not much explaining to do here. Put some content on your usb stick, like a movie, some pictures or a sound track. Put the&#8230;]]></description>
			<content:encoded><![CDATA[<p>Today I finally received my <a href="http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774">Micro USB OTG adapter</a>.</p>
<p>So I thought I would test it out, connecting a USB stick to my Galaxy S2.</p>
<p>This was really straightforward, so theres not much explaining to do here.</p>
<ol>
<li>Put some content on your usb stick, like a movie, some pictures or a sound track.</li>
<li>Put the usb stick into the OTG adapter, and then the OTG adapter into the phone.</li>
<li>Browse the content of the usb stick with your favourite file browser app (I used <a href="https://market.android.com/details?id=com.metago.astro&amp;feature=search_result">Astro</a>)<br />
You find the contents of the usb stick under <span class="error">/mnt/sdcard/usbStorage/sda</span></li>
</ol>
<p>This is great if you need some extra capacity, want to bring with you files, copy and paste from/to the phone, etc.</p>
<p>&nbsp;</p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/usb-otg.jpg"><img class="alignnone size-medium wp-image-520" title="usb-otg" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/usb-otg-300x192.jpg" alt="" width="300" height="192" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=518" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/518/connect-usb-sticks-samsung-galaxy-s2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable remote access to a MySQL database</title>
		<link>http://envyandroid.com/archives/436/enable-mysql-remote-access</link>
		<comments>http://envyandroid.com/archives/436/enable-mysql-remote-access#comments</comments>
		<pubDate>Sat, 06 Aug 2011 22:40:22 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=436</guid>
		<description><![CDATA[If you need to access your mysql database remotely, which I did, you can create a mysql user that has access locally, and remotely. For example if you want to login and edit the database via HeidiSQL or other mysql tools. These commands will create a user called &#8220;username&#8221; with the password &#8220;password&#8221;, which has&#8230;]]></description>
			<content:encoded><![CDATA[<p>If you need to access your mysql database remotely, which I did, you can create a mysql user that has access locally, and remotely.</p>
<p>For example if you want to login and edit the database via <a href="http://www.heidisql.com/">HeidiSQL</a> or other mysql tools.</p>
<pre class="brush: sql; title: ; notranslate">
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' WITH GRANT OPTION;
CREATE USER 'username'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;
</pre>
<p>These commands will create a user called &#8220;username&#8221; with the password &#8220;password&#8221;, which has both local and remote access.</p>
<p>Took me some time to figure it out initially.</p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=436" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/436/enable-mysql-remote-access/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to easily debug websites on mobile devices with &#8220;Weinre&#8221;</title>
		<link>http://envyandroid.com/archives/483/easily-debug-mobile-websites-with-weinre</link>
		<comments>http://envyandroid.com/archives/483/easily-debug-mobile-websites-with-weinre#comments</comments>
		<pubDate>Fri, 05 Aug 2011 15:46:06 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Mobile web]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Dragonfly]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari Mobile]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Browser]]></category>
		<category><![CDATA[Webkit]]></category>
		<category><![CDATA[Weinre]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=483</guid>
		<description><![CDATA[If you do web development, chances are you sometimes need to fix something on the website adapted to mobile devices such as iPhone and Android. Debugging websites in a browser on a computer is easy with all the good tools available, such as Firebug in Firefox, Webkit inspector in Chrome and  Dragonfly in Opera. But&#8230;]]></description>
			<content:encoded><![CDATA[<p>If you do web development, chances are you sometimes need to fix something on the website adapted to mobile devices such as iPhone and Android.</p>
<p>Debugging websites in a browser on a computer is easy with all the good tools available, such as Firebug in Firefox, Webkit inspector in Chrome and  Dragonfly in Opera. But mobile devices doesn&#8217;t have any such tool. What do you do then?</p>
<p>That was my problem the other day, a div  element on the website rendered for iPhone got the wrong styles, so I had to investigate&#8230;</p>
<p>Which was not easily done from the iPhone Safari browser, to say atleast.</p>
<p>(And the solution was not as easy as just browsing the mobile website on my computer with iOS user agent.)</p>
<p>A buddy of mine had just recently come over a tool called <a href="http://phonegap.github.com/weinre/">weinre</a>. Funny name, yes, but a very handy tool to debug websites on mobile devices!</p>
<h2>About Weinre</h2>
<ul>
<li>Weinre stands for &#8220;Web Inspector Remote&#8221; and is similar to the web inspector in chrome.</li>
<li>It will allow you to use the inspector (run on your computer), on the website rendered on your mobile device!</li>
<li>Changes you do in the inspector, are reflected instantly in the mobile devices browser. (such as changing text, color, dimension etc) just as in FireBug.</li>
<li>You also get a javascript command line.</li>
<li>Weinre is a simple jar file, you run through the command line.</li>
</ul>
<p>It has a lot of documentation on its website, maybe too much, so I thought I would try to cook it down to a few simple steps to get up and running quickly.</p>
<p><span id="more-483"></span></p>
<h2>How to run weinre</h2>
<ol>
<li>Start with downloading weinre <a href="http://phonegap.github.com/weinre/Installing.html">here</a>.</li>
<li>Find your local ip adress by opening a command prompt, and enter ipconfig.</li>
<li>Then enter <span class="error">java -jar weinre.jar -httpPort 8081 -boundHost -all- </span>in the command prompt to start weinre
<p><div id="attachment_499" class="wp-caption alignnone" style="width: 160px"><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-1.png"><img class="size-thumbnail wp-image-499 " title="Untitled-1" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-1-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">weinre running</p></div></li>
<li>With Chrome browser, open<a href="http://127.0.0.1:8081/" target="_blank">http://127.0.0.1:8081/</a>which will take you to weinres interface, which looks like this:
<p><div id="attachment_500" class="wp-caption alignright" style="width: 160px"><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-2.png"><img class="size-thumbnail wp-image-500 " title="Untitled-2" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-2-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Weinres webinterface</p></div></li>
<li>And then open <a href="http://127.0.0.1:8081/client/" target="_blank">http://127.0.0.1:8081/client/</a> in another tabs. This is where you will do the website inspection, once the mobile device is connected.</li>
<li>On your mobile device, on the same network (wifi on), enter your computers local ip followed by port 8081 in the url.<br />
Something like this: <span class="error">192.168.0.105:8081</span></li>
<li>You should then see the weinre website on your mobile device, like pictured above.</li>
<li>Scroll down on your device, and copy the bookmarklet text:
<pre class="brush: jscript; title: ; notranslate">
javascript:(function(e){e.setAttribute(&quot;src&quot;,&quot;http://192.168.1.105:8081/target/target-script-min.js#anonymous&quot;);document.getElementsByTagName(&quot;body&quot;)[0].appendChild(e);})(document.createElement(&quot;script&quot;));void(0);
</pre>
<p>Where 192.168.1.105 automatically points to the local ip of your computer, so don&#8217;t worry <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>The goal is to create a bookmark with this code. On iPhone, create a new bookmark, save it, then go and edit it. Then you can paste in the javascript code above as the bookmarks adress. A little bit complex, but it works.</li>
<li>Go to the website you want to debug, then open the bookmarks, and click our newly created bookmark. this should run the javascript which connects to weinre on your computer.</li>
</ol>
<p>The game is on, and you should now be able to edit the website with the webinspector, that is the last tab we opened in chrome: <a href="http://127.0.0.1:8081/client/" target="_blank">http://127.0.0.1:8081/client/</a> just hit the big green &#8220;Elements&#8221; button on top.</p>
<div id="attachment_502" class="wp-caption alignnone" style="width: 160px"><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-4.png"><img class="size-thumbnail wp-image-502" title="Untitled-4" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-4-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Press the &quot;Elements&quot; button</p></div>
<p>That button will open the inspector for you to toy around in. If you look closer at this image, you can see me editing the article header of this website, which is loaded on the mobile device.</p>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-5-headerchange.png"><img class="alignnone size-medium wp-image-503" title="Untitled-5-headerchange" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/Untitled-5-headerchange-275x300.png" alt="" width="275" height="300" /></a></p>
<p>Any changes you do in the inspector will reflect on the mobile device (here, iPhone 3GS), just like Firebug works for firefox:</p>
<div id="attachment_496" class="wp-caption alignnone" style="width: 330px"><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/IMG_0047.png"><img class="size-full wp-image-496" title="IMG_0047" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/IMG_0047.png" alt="" width="320" height="480" /></a><p class="wp-caption-text">Before editing the article header. (The gray box around the header is automatically applied when you hover an item in the web inspector.)</p></div>
<div id="attachment_498" class="wp-caption alignnone" style="width: 330px"><a href="http://envyandroid.com/wp/wp-content/uploads/2011/08/IMG_0049.png"><img class="size-full wp-image-498" title="IMG_0049" src="http://envyandroid.com/wp/wp-content/uploads/2011/08/IMG_0049.png" alt="" width="320" height="480" /></a><p class="wp-caption-text">After editing the header</p></div>
<p>This ingenius tool helped me debug a website I was working on, so I wanted to share it with everyone <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Please share this article.</p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=483" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/483/easily-debug-mobile-websites-with-weinre/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to update Samsung Galaxy S2 firmware with Odin instead of Kies</title>
		<link>http://envyandroid.com/archives/480/update-galaxy-s2-without-kies</link>
		<comments>http://envyandroid.com/archives/480/update-galaxy-s2-without-kies#comments</comments>
		<pubDate>Fri, 08 Jul 2011 19:04:56 +0000</pubDate>
		<dc:creator>EnvyAndroid</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[Galaxy S2]]></category>
		<category><![CDATA[Kies]]></category>
		<category><![CDATA[Odin]]></category>
		<category><![CDATA[Samsung]]></category>

		<guid isPermaLink="false">http://envyandroid.com/?p=480</guid>
		<description><![CDATA[After trying to update my Samsung Galaxy S2 with Kies, I quickly gave up after two attempts, on both x32 and x64 Win7, and settled with Odin instead. Why Kies sucks First of all, The Kies installation process is not very elegant; Its a 50+ MB package with alot of stuff you don&#8217;t want or&#8230;]]></description>
			<content:encoded><![CDATA[<p>After trying to update my Samsung Galaxy S2 with Kies, I quickly gave up after two attempts, on both x32 and x64 Win7, and settled with Odin instead.</p>
<h2>Why Kies sucks</h2>
<p>First of all, The Kies installation process is not very elegant;</p>
<ul>
<li>Its a 50+ MB package with alot of stuff you don&#8217;t want or need, such as an integrated music player.</li>
<li>Drivers not getting installed properly</li>
<li>About one hundred DLLs (no exaggeration!) not getting registered, each giving me an error message to click &#8220;OK&#8221; on&#8230;</li>
<li>Kies couldn&#8217;t handle a custom installation directory</li>
<li>And then theres the labels in korean or whatever:</li>
</ul>
<p><a href="http://envyandroid.com/wp/wp-content/uploads/2011/07/kies.png"><img class="alignnone size-full wp-image-481" title="kies" src="http://envyandroid.com/wp/wp-content/uploads/2011/07/kies.png" alt="" width="511" height="209" /></a></p>
<p>When I finally managed to install Kies (and its 3 running background services&#8230;) it wouldn&#8217;t detect my phone. Great.</p>
<h2>Updating firmware with Odin instead</h2>
<p>This is the easiest way of updating you phone.</p>
<p>Its pretty well explained in 8 simple steps <a href="http://forum.xda-developers.com/showthread.php?t=1075278">here</a>.</p>
<p>But a quick summary:<br />
(I take no responsibility for this.)</p>
<ol>
<li>Find your new firmware version and download the file from the links</li>
<li>Extract the file, so that you now have a .tar file.</li>
<li>Download and run the Odin software from the provided link (200KB)</li>
<li>Reboot the phone to download mode<br />
To do this, turn the phone off, then simultaneously press the volume down key, the home button and then press the power button. If you see a warning, press the volume up button to continue.</li>
<li>In Odin, click the button named &#8220;PDA&#8221; and select your .tar file (your rom).<br />
If the rom has several files, also put in the PDA, Phone/Modem and CSC files. but do NOT put in a .pit file.</li>
<li>Connect the phone to the computer with usb cable, and wait till ID:COM turns yellow.</li>
<li>Click the &#8220;Start&#8221; button, and Odin will flash your rom.</li>
</ol>
<p>As simple as that.</p>
<p>When the flashing is done, your phone will reboot itself.</p>
<p>There are several different roms available for Galaxy S2, I am currently using <a href="http://forum.xda-developers.com/showthread.php?t=1095274">Litening</a> rom, which I am very happy with.<br />
Edit: If you flash the litening rom, you will get root <img src='http://envyandroid.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Edit2: The litening rom has been discontinued, but someone picked up and continued the development in another <a href="http://forum.xda-developers.com/showthread.php?t=1334124">thread here</a>, under the name UltraToxic rom.</p>
<p>CyanogenMOD have also come with nightly builds, which mean they are putting effort into making the rom stable enough for everyday use.</p>
 <img src="http://envyandroid.com/wp/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=480" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://envyandroid.com/archives/480/update-galaxy-s2-without-kies/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 25/31 queries in 0.013 seconds using disk: basic

Served from: envyandroid.com @ 2012-05-20 00:12:07 -->
