<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>turning android phone into a server!</title><link>https://community.element14.com/technologies/wireless/w/documents/10023/turning-android-phone-into-a-server</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>turning android phone into a server!</title><link>https://community.element14.com/technologies/wireless/w/documents/10023/turning-android-phone-into-a-server</link><pubDate>Fri, 08 Oct 2021 04:55:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7b86ba3f-8cd5-4542-aa79-11010cb2a645</guid><dc:creator>DebuggerGuys</dc:creator><comments>https://community.element14.com/technologies/wireless/w/documents/10023/turning-android-phone-into-a-server#comments</comments><description>Current Revision posted to Documents by DebuggerGuys on 10/8/2021 4:55:55 AM&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;In the latest episode of XDA TV [Adam Outler] &lt;a class="jive-link-external-small" href="http://www.youtube.com/watch?v=Na7ssxlj_lo" rel="nofollow ugc noopener" target="_blank"&gt;turned his Android phone into a webserver&lt;/a&gt;. At first this might sound comical, but the ever-increasing power of our handhelds makes it a pretty legitimate option. It’s hard to come up with concrete uses off the top of our head, but we’re sure there’s value in being able to pull the phone out of your pocket and serve some content.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;The app &lt;a class="jive-link-external-small" href="https://play.google.com/store/apps/details?id=com.botbrew.basil" rel="nofollow ugc noopener" target="_blank"&gt;BotBrew Basil&lt;/a&gt; makes the installation process nearly automatic. It gives you point-and-click access to install &lt;a class="jive-link-external-small" href="http://www.lighttpd.net/" rel="nofollow ugc noopener" target="_blank"&gt;the lighttpd webserver package&lt;/a&gt; and set the daemon to run automatically at boot time. That’s it! Of course you need to supply your own HTML to be served. [Adam] used an HTML5 website template for this.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;Next you also need a way to resolve the address of the phone. In this case it’s assigned a static IP from the router, and a dynamic DNS service provides a link that maps to the router’s location. But since these phones are running Linux (at least on the lowest level) it should be pretty easy to add a cron job which will send IP address updates to the service if you want to take the ‘webserver’ out in the world with you. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;Watch the video and give it a try! &lt;a class="jive-link-external-small" href="http://www.youtube.com/watch?v=Na7ssxlj_lo&amp;amp;feature=player_embedded" rel="nofollow ugc noopener" target="_blank" title="http://www.youtube.com/watch?v=Na7ssxlj_lo&amp;amp;feature=player_embedded"&gt;http://www.youtube.com/watch?v=Na7ssxlj_lo&amp;amp;feature=player_embedded&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-family:&amp;#39;trebuchet ms&amp;#39;, geneva;font-size:12pt;"&gt;&lt;a href="http://data.whicdn.com/images/30523496/7370398064_d9eb7c849f_large.jpg"&gt;&lt;img alt="7370398064_d9eb7c849f_large" class="jiveImage" src="http://data.whicdn.com/images/30523496/7370398064_d9eb7c849f_large.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: android, html, program, template, server&lt;/div&gt;
</description></item></channel></rss>