<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>L&#039;ardoise eduvax - Tag android</title>
	<link>http://eduvax.net/index.php?tag/android</link>
	<language>en</language>
	<description>Blog, free software projects, computer tips and more</description>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://eduvax.net/feed.php?rss" />
	<lastBuildDate>Tue, 12 Aug 2014 13:48:00 +0200</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Mount MTP USB device</title> 
		<link>http://eduvax.net/index.php?article3/mount-mtp-usb-device</link>
		<guid>http://eduvax.net/index.php?article3/mount-mtp-usb-device</guid>
		<description>&lt;p&gt;Since mass storage device is not always available, exchange files using MTP becomes mandatory.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1st, install jmtpfs package or simular (mtpfs, go-mtpfs). fuse is needed.&lt;/li&gt;
&lt;li&gt;add users that need to mount such device to the fuse group.&lt;/li&gt;
&lt;li&gt;create a new directory that will be used as mount point (for instance ~/mtpdev).&lt;/li&gt;
&lt;li&gt;For each file exchange session: 

&lt;ul&gt;
&lt;li&gt;plug your USB device (beware, connection some android phone will fail if in standby mode, unlock your device first).&lt;/li&gt;
&lt;li&gt;mount device: &lt;code&gt;$ jmtpfs ~/mtpdev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;do wathever you want on the mounted file system (unfortunately, much slower than any mass storage device).&lt;/li&gt;
&lt;li&gt;Once all exchanges are completed, unmount file system: &lt;code&gt;$ fuser -u ~/mtpdev&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The device is ready to unplug.&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
		<pubDate>Tue, 12 Aug 2014 13:48:00 +0200</pubDate>
		<dc:creator>Sebastien Devaux</dc:creator>
	</item>
	<item>
		<title>Use an android phone as internet gateway</title> 
		<link>http://eduvax.net/index.php?article2/use-an-android-phone-as-internet-gateway</link>
		<guid>http://eduvax.net/index.php?article2/use-an-android-phone-as-internet-gateway</guid>
		<description>&lt;li&gt;Plug through USB the phone to the linux host.&lt;/li&gt;
&lt;li&gt;Share the connexion on the phone : go to parameters / More / connexion sharing / USB (may be not exact item labels, my phone runs a french cyanogenmod).&lt;/li&gt;
&lt;li&gt;setup the net usb interface on the linux host :&lt;/li&gt;
&lt;pre&gt;$ modprobe usbnet
$ ifconfig usb0 up
$ dhclient usb0&lt;/pre&gt;</description>
		<pubDate>Tue, 12 Aug 2014 13:35:00 +0200</pubDate>
		<dc:creator>Sebastien Devaux</dc:creator>
	</item>
</channel>
</rss>