<?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"
	>

<channel>
	<title>My b0yfr13nd 1s 4 g33k</title>
	<atom:link href="http://www.myboyfriendisageek.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myboyfriendisageek.com</link>
	<description>(but I love him)</description>
	<pubDate>Mon, 26 Dec 2011 08:57:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Video Catcher for Android</title>
		<link>http://www.myboyfriendisageek.com/2011/android/video-catcher-for-android/</link>
		<comments>http://www.myboyfriendisageek.com/2011/android/video-catcher-for-android/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 15:05:07 +0000</pubDate>
		<dc:creator>Renaud</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[market]]></category>

		<category><![CDATA[video catcher]]></category>

		<guid isPermaLink="false">http://www.myboyfriendisageek.com/?p=155</guid>
		<description><![CDATA[



Want to download videos instead of playing them ? Missing the &#8220;download&#8221; option for video links ? Video Catcher is the way to go !

Android browsers don&#8217;t let you download videos but offers instead to play them with whatever installed for. With Video Catcher, take the control back !

Please note that the application comes with [...]]]></description>
			<content:encoded><![CDATA[<p><g:plusone></g:plusone><br />
<center><a href="http://market.android.com/details?id=com.myboyfriendisageek.videocatcher"><img src="http://img718.imageshack.us/img718/7890/you2.png" alt="Video Catcher - MP4 Downloader" height="400" width="240"/></a><br />
</center><br />
<br/></p>
<p><big>W</big>ant to download videos instead of playing them ? Missing the &#8220;download&#8221; option for video links ? <a href="http://market.android.com/details?id=com.myboyfriendisageek.videocatcher">Video Catcher</a> is the way to go !</p>
<p><br/></p>
<p>Android browsers don&#8217;t let you download videos but offers instead to play them with whatever installed for. With <a href="http://market.android.com/details?id=com.myboyfriendisageek.videocatcher">Video Catcher</a>, take the control back !</p>
<p><br/></p>
<p>Please note that the application comes with no icon/launcher, this is like a plugin to your browser : just click on a video link, and when the &#8220;Action&#8221; menu appears, select &#8220;<a href="http://market.android.com/details?id=com.myboyfriendisageek.videocatcher">Video Catcher</a>&#8221; as handler : the download will be transfered to your phone&#8217;s download manager.</p>
<p><br/>Some mobile enabled examples :<br />
<a href="#links"></p>
<ul>
<li><a href="http://vuclip.com">http://vuclip.com</a></li>
<li><a href="http://www.gametrailers.com">http://www.gametrailers.com</a></li>
<li><a href="http://m.worldstarhiphop.com">http://www.worldstarhiphop.com</a></li>
<li><a href="http://mobile.vidz.com">http://www.vidz.com</a></li>
<li><a href="http://m.tube8.com">http://www.tube8.com</a></li>
<li><a href="http://m.youjizz.com">http://www.youjizz.com</a></li>
<li><a href="http://m.xogogo.com">http://www.xogogo.com</a></li>
<li><a href="http://mobilegfs.com/">http://mobilegfs.com</a></li>
<li><a href="http://www.cliphunter.com">http://www.cliphunter.com</a></li>
<li><a href="http://www.xvideos.com">http://www.zvideos.com</a></li>
<li><a href="http://www.mporn.com">http://www.mprn.com</a></li>
<li><a href="http://mobile.lubetube.com">http://www.lubetube.com</a></li>
<li><a href="http://hotgoo.com">http://hotgoo.com</a></li>
<li>&#8230;and many others !</li>
</ul>
<p>If you can play them, you can download them !</p>
<p></a><br />
<center></p>
<p><a target='_blank' href='http://imageshack.us/photo/my-images/835/spankwire.png/'><img src='http://img835.imageshack.us/img835/8643/spankwire.th.png' border='0'/></a>   <a href="http://imageshack.us/photo/my-images/269/gamew.png/" target="_blank"><img src="http://img269.imageshack.us/img269/7180/gamew.th.png" border="0"/></a>   <a href="http://imageshack.us/photo/my-images/856/cbsnewsaction.png/" target="_blank"><img src="http://img856.imageshack.us/img856/2115/cbsnewsaction.th.png" border="0"/></a>   <a href="http://imageshack.us/photo/my-images/829/cbsnews.png/" target="_blank"><img src="http://img829.imageshack.us/img829/3501/cbsnews.th.png" border="0"/></a><br />
</center></p>
<p><br/></p>
<p><strong>&#8212;- FAQ &#8212;-</strong></p>
<p><strong>Q: How can I download a video from the browser ?</strong><br />
A: In the browser simply click on the video link that you wish to download. From the Action menu, select <a href="http://market.android.com/details?id=com.myboyfriendisageek.videocatcher">Video Catcher</a>, and the download should start automatically. You should be able to see the download progress in the notification bar (at the top of the screen).</p>
<p><br/></p>
<p><strong>Q: Where are stored my downloads ?</strong><br />
A: Downloads are stored into your &#8220;Download&#8221; directory (/mnt/sdcard/Download). For 2.3 and above, downloads are handled by the phone&#8217;s download manager application.</p>
<p><br/></p>
<p><strong>Q: Can I download YouTube or Flash movies ?</strong><br />
A: No, you can download only regular and/or HTML5 video, and not movies embedded in Flash player. Please use TubeMate or similar app instead.</p>
<p>If you need any help, please send me an email !</p>
<p><br/></p>
<div class="azapp"><a href="http://www.androidzoom.com/test/android_applications/media_and_video/video-catcher_baxrq.html">Video Catcher</a></div>
<div class="az_w_powered">Discover more <a href="http://www.androidzoom.com" target="_blank">Android apps</a></div>
<p><script type="text/javascript" src="//www.androidzoom.com/js/widget.js"></script><br />
<br/></p>
<p>
&#8212; Keywords &#8212;<br />
Android Video downloader, Video Catcher on Market, Android downloader, Android Video download helper, Video Catcher on Android Market, Android porn downloader, Android movie downloader, Android movie download, Android mp4 downloader</p>
<hr/>
<center><br />
<a href="http://market.android.com/details?id=com.myboyfriendisageek.videocatcher"><img src="http://qrcode.kaywa.com/img.php?s=5&#038;d=http%3A%2F%2Fmarket.android.com%2Fdetails%3Fid%3Dcom.myboyfriendisageek.videocatcher" alt="qrcode"  /></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myboyfriendisageek.com/2011/android/video-catcher-for-android/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Native Android Development</title>
		<link>http://www.myboyfriendisageek.com/2011/android/native-android-development/</link>
		<comments>http://www.myboyfriendisageek.com/2011/android/native-android-development/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 06:52:51 +0000</pubDate>
		<dc:creator>Renaud</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[gcc]]></category>

		<category><![CDATA[native]]></category>

		<category><![CDATA[ndk]]></category>

		<guid isPermaLink="false">http://www.myboyfriendisageek.com/?p=93</guid>
		<description><![CDATA[
Starting from revision 5 of their NDK, Google added a (very usefull) script to build a standalone  toolchain, i.e which works without having to deal with specific setup scripts (ndk-build and so on). Make, configure, and autoconf are now welcome !

First of all, download and uncompress the NDK :

$ mkdir Android &#038;&#038; cd Android
$ [...]]]></description>
			<content:encoded><![CDATA[<p><g:plusone></g:plusone><br />
Starting from revision 5 of their <a href="http://developer.android.com/sdk/ndk">NDK</a>, Google added a (very usefull) script to build a standalone  toolchain, i.e which works without having to deal with specific setup scripts (ndk-build and so on). Make, configure, and autoconf are now welcome !<br />
<br/><br />
First of all, download and uncompress the NDK :</p>
<pre style="text-align: left;background: black;color: green;white-space: pre-wrap;">
$ mkdir Android &#038;&#038; cd Android
$ wget http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2
$ tar xf android-ndk-r5b-linux-x86.tar.bz2
</pre>
<p>Now, we&#8217;ll build the standalone toolchain, for example, for the Gingerbread API (level 9) :</p>
<pre style="text-align: left;background: black;color: green;white-space: pre-wrap;">
$ ls
android-ndk-r5b
$ export NDK=`pwd`/android-ndk-r5b
$ chmod +x $NDK/build/tools/make-standalone-toolchain.sh
$ $NDK/build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=$NDK/.standalone/android-9-toolchain
</pre>
<p>That&#8217;s it ! The toolchain binaries do not depend or contain host-specific paths, in other words, they can be installed in any location, or even moved if you need to. Now, you just need to set your environment :</p>
<pre style="text-align: left;background: black;color: green;white-space: pre-wrap;">
$ export PATH=$NDK/.standalone/android-9-toolchain/bin:$PATH
$ export CC=arm-linux-androideabi-gcc
</pre>
<p>Ok, now, let&#8217;s do our first build :</p>
<pre style="text-align: left;background: black;color: green;white-space: pre-wrap;">
$ cat helloandroid.c
#include <stdio.h>
int main(void)
{
    printf("Hello Android !\n");
    return 0;
}
$ $CC -o helloandroid helloandroid.c
$  file helloandroid
helloandroid: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
</pre>
<p>And burn it into your device :</p>
<pre style="text-align: left;background: black;color: green;white-space: pre-wrap;">
$ adb push helloandroid /data/
115 KB/s (3324 bytes in 0.028s)
$ adb shell chmod +x /data/helloandroid
$ adb shell /data/helloandroid
Hello Android !
</pre>
<p>Huuurraa ! <img src='http://www.myboyfriendisageek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<br/></p>
<hr/>
<br/><br />
For lazy peoples (like me), I wrote a <a href='http://www.myboyfriendisageek.com/wp-content/uploads/2011/06/set-toolchain.sh'>litlle script</a> which will automatically build the desired toolchain (if needed) and set your path accordingly :</p>
<pre style="text-align: left;background: black;color: green;white-space: pre-wrap;">
$ ./set-toolchain.sh android-9
Forking a new shell...
$PATH =  /home/renaud/Android/android-ndk-r5b/.standalone/android-9-toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
$CC =  arm-linux-androideabi-gcc
</pre>
<p>Enjoy ! <img src='http://www.myboyfriendisageek.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myboyfriendisageek.com/2011/android/native-android-development/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GNU HTTP Tunnel for S60</title>
		<link>http://www.myboyfriendisageek.com/2008/symbian/gnu-http-tunnel-s60/</link>
		<comments>http://www.myboyfriendisageek.com/2008/symbian/gnu-http-tunnel-s60/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 23:22:31 +0000</pubDate>
		<dc:creator>Renaud</dc:creator>
		
		<category><![CDATA[Symbian]]></category>

		<category><![CDATA[gnu]]></category>

		<category><![CDATA[http tunnel]]></category>

		<category><![CDATA[pips]]></category>

		<category><![CDATA[posix]]></category>

		<category><![CDATA[S60]]></category>

		<guid isPermaLink="false">http://myboyfriendisageek.com/?p=1</guid>
		<description><![CDATA[
Here&#8217;s the story :

I subscribed, few weeks ago, to an &#8220;unlimited data plan&#8221; from my mobile provider. I was so enthusiast that I sold my old Nokia N70 (Symbian OS8) on Ebay to buy an expensive Nokia E90 (OS9), infinitively more adequate for heavy use of www and networking applications.

I quickly discovered &#8220;what&#8217;s under the [...]]]></description>
			<content:encoded><![CDATA[<p><!--pagetitle: The story--></p>
<p align="justify"><img style="border-width: 0px; margin: 0px 10px; width: 101px; height: 127px" src="http://myboyfriendisageek.com/wp-content/uploads/2008/03/httptunnel.png" border="0" alt="httptunnel" hspace="10" width="101" height="127" align="left" /><strong><span style="font-size: 14pt">H</span></strong>ere&#8217;s the story :</p>
<p><br/></p>
<p align="justify">I subscribed, few weeks ago, to an &#8220;unlimited data plan&#8221; from my mobile provider. I was so enthusiast that I sold my old Nokia N70 (Symbian OS8) on Ebay to buy an expensive <a href="http://europe.nokia.com/A4346040" target="_blank">Nokia E90</a> (OS9), infinitively more adequate for heavy use of <em>www</em> and networking applications.</p>
<p><br/></p>
<p align="justify">I quickly discovered &#8220;what&#8217;s under the hood&#8221; : this &#8220;unlimited&#8221; data plan is restricted to HTTP traffic on port 80 by use of proxy filtering that mean no IMAP, no POP, no VNC, no SSH, nor TELNET&#8230; <img src='http://www.myboyfriendisageek.com/wp-includes/images/smilies/icon_mad.gif' alt=':-x' class='wp-smiley' /> </p>
<p>Moreover, there&#8217;s an extra filtering on <em>User-Agent</em> to (loosely) prevent its use from your computer by using the phone as modem for example.</p>
<p><br/></p>
<p align="justify">I quickly had to found a solution, and the only one available was <a href="http://en.wikipedia.org/wiki/Tunneling_protocol" target="_blank">Tunneling</a>, more precisely <a href="http://en.wikipedia.org/wiki/Http_tunnel" target="_blank">HTTP Tunneling</a>, since writing <a href="http://en.wikipedia.org/wiki/TUN/TAP" target="_blank">Tun/Tap drivers</a> on Symbian platforms is not possible without manufacturer&#8217;s SDK. After some Googling, I found the <a href="http://www.nocrew.org/software/httptunnel.html" target="_blank">GNU HTTP Tunnel</a> under GPL license.</p>
<p><br/><br />
<span id="more-1"></span></p>
<p style="text-align: center" align="justify"><img style="width: 64px; height: 64px" src="http://myboyfriendisageek.com/wp-content/uploads/2008/03/pips.thumbnail.jpg" alt="PIPS" width="64" height="64" /></p>
<p><br/></p>
<p align="justify">Thanks to port of Posix libraries on Symbian OS9 (<a href="http://developer.symbian.com/wiki/display/pub/P.I.P.S." target="_blank">P.I.P.S</a>), the porting of the project to S60 tooks less than 48h. The most difficult parts were :</p>
<ol>
<li>No poll() function</li>
<li>Small heap/stack</li>
<li>lack of console</li>
</ol>
<p>The first point was solved by replacing poll() functions by select(), using threading as workaround to limitations due to implementation :</p>
<p><br/><br />
<span style="font-size: 7pt"><em>&#8220;select operation cannot be called for the second time on the same socket descriptor before the first select operation on the same socket descriptor completes. (i.e) Only one select operation can be outstanding on a Socket. This is because of the limitation of the underlying Ioctl Ioctl operation. Only one operation may be outstanding for each socket.&#8221;</em></span><br />
<br/></p>
<p>The second point involved reducing size of local arrays, and by increasing default heap/stack size of application using correct statements in mmp file.</p>
<p><br/></p>
<p>Concerning the lack of console, I used <a href="http://myboyfriendisageek.com/wp-content/uploads/2008/03/stdioserver_s60_1_0.sis">stdioserver</a> as output console, and <a href="http://wiki.opensource.nokia.com/projects/Python_for_S60" target="_blank">Python</a> for passing command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myboyfriendisageek.com/2008/symbian/gnu-http-tunnel-s60/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

