<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mobile and Handheld Devices</title><link>http://forums.asp.net/48.aspx</link><description>Target mobile and handheld devices with ASP.NET - cell phones, blackberry, PDA, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2737435.aspx</link><pubDate>Tue, 11 Nov 2008 07:17:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2737435</guid><dc:creator>sameer_khanjit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2737435.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2737435</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;just go through with me my suggested artical definatly it will work on all mobiles.&lt;/p&gt;&lt;p&gt;i have worked around&amp;nbsp; 1 yr on the same applications with Mahesh@indianic.com Artical Author &lt;/p&gt;&lt;p&gt;we have checked around 200 mobile devices and in it&amp;#39;s simulators.....&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2735445.aspx</link><pubDate>Mon, 10 Nov 2008 14:10:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2735445</guid><dc:creator>SKT_01</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2735445.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2735445</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;if you use the recommended solution of the&amp;nbsp;Code Project article&amp;nbsp;many mobile devices are not detected as such including one of the most used devices for browsing, i. e.&amp;nbsp;the Apple iPhone.&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2735383.aspx</link><pubDate>Mon, 10 Nov 2008 13:51:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2735383</guid><dc:creator>whyknott</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2735383.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2735383</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank You. I will look into converting and be sure to bookmark codeproject.com !!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2732854.aspx</link><pubDate>Sat, 08 Nov 2008 09:32:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2732854</guid><dc:creator>sameer_khanjit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2732854.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2732854</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://www.codeproject.com/KB/mobile/All-about-a-mobile-websit.aspx&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://worldofasp.net/tut/XHTM_L-MP/Basics_of_XHTML-MP_178.aspx&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2726027.aspx</link><pubDate>Wed, 05 Nov 2008 13:42:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2726027</guid><dc:creator>whyknott</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2726027.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2726027</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, my host supports ASP. But it doesn&amp;#39;t support certain functions in PHP so I want to convert the code in my last post to ASP to avoid complications. I think it may be okay I haven&amp;#39;t had much trouble with it so far. &lt;/p&gt;&lt;p&gt;I have researched and tried implementing that code from mobiforge but I cannot figure out how to get it to work because it is &amp;quot;option explicit&amp;quot;. I&amp;#39;m new to programming and I&amp;#39;m not sure how to &amp;quot;comment out the first two lines to avoid compilation errors&amp;quot;. as it states on the page you linked to in your reply to my question.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2725045.aspx</link><pubDate>Wed, 05 Nov 2008 06:30:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2725045</guid><dc:creator>SKT_01</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2725045.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2725045</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you don&amp;#39;t have a .NET server?&lt;/p&gt;
&lt;p&gt;I would not&amp;nbsp;recommend&amp;nbsp;those &amp;quot;&lt;a class="" href="http://mobiforge.com/developing/story/lightweight-device-detection-asp"&gt;lightweight solutions&lt;/a&gt;&amp;quot; from dotmobi.&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2724275.aspx</link><pubDate>Tue, 04 Nov 2008 20:50:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2724275</guid><dc:creator>whyknott</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2724275.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2724275</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi There!&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have found code that truly works in Mobile Redirection but it is in PHP. Can anyone out there help me convert the following Code to function in ASP ??? Thx&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;if(checkmobile()) header(&amp;quot;Location:http://www.jamyershomes.com/mobile/index.html&amp;quot;);&lt;br /&gt;&lt;br /&gt;if(checkmobile()){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //code to execute if a mobile browser is detected&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;function checkmobile(){&lt;br /&gt;&lt;br /&gt;if(preg_match(&amp;quot;/iphone/i&amp;quot;,$_SERVER[&amp;quot;HTTP_USER_AGENT&amp;quot;])) return false; &lt;br /&gt;&lt;br /&gt;if(isset($_SERVER[&amp;quot;HTTP_X_WAP_PROFILE&amp;quot;])) return true;&lt;br /&gt;&lt;br /&gt;if(preg_match(&amp;quot;/wap\.|\.wap/i&amp;quot;,$_SERVER[&amp;quot;HTTP_ACCEPT&amp;quot;])) return true;&lt;br /&gt;&lt;br /&gt;if(isset($_SERVER[&amp;quot;HTTP_USER_AGENT&amp;quot;])){&lt;br /&gt;&lt;br /&gt;$uamatches = array(&amp;quot;midp&amp;quot;, &amp;quot;j2me&amp;quot;, &amp;quot;avantg&amp;quot;, &amp;quot;docomo&amp;quot;, &amp;quot;novarra&amp;quot;, &amp;quot;palmos&amp;quot;, &amp;quot;palmsource&amp;quot;, &amp;quot;240x320&amp;quot;, &amp;quot;opwv&amp;quot;, &amp;quot;chtml&amp;quot;, &amp;quot;pda&amp;quot;, &amp;quot;windows\ ce&amp;quot;, &amp;quot;mmp\/&amp;quot;, &amp;quot;blackberry&amp;quot;, &amp;quot;mib\/&amp;quot;, &amp;quot;symbian&amp;quot;, &amp;quot;wireless&amp;quot;, &amp;quot;nokia&amp;quot;, &amp;quot;hand&amp;quot;, &amp;quot;mobi&amp;quot;, &amp;quot;phone&amp;quot;, &amp;quot;cdm&amp;quot;, &amp;quot;up\.b&amp;quot;, &amp;quot;audio&amp;quot;, &amp;quot;SIE\-&amp;quot;, &amp;quot;SEC\-&amp;quot;, &amp;quot;samsung&amp;quot;, &amp;quot;HTC&amp;quot;, &amp;quot;mot\-&amp;quot;, &amp;quot;mitsu&amp;quot;, &amp;quot;sagem&amp;quot;, &amp;quot;sony&amp;quot;, &amp;quot;alcatel&amp;quot;, &amp;quot;lg&amp;quot;, &amp;quot;erics&amp;quot;, &amp;quot;vx&amp;quot;, &amp;quot;NEC&amp;quot;, &amp;quot;philips&amp;quot;, &amp;quot;mmm&amp;quot;, &amp;quot;xx&amp;quot;, &amp;quot;panasonic&amp;quot;, &amp;quot;sharp&amp;quot;, &amp;quot;wap&amp;quot;, &amp;quot;sch&amp;quot;, &amp;quot;rover&amp;quot;, &amp;quot;pocket&amp;quot;, &amp;quot;benq&amp;quot;, &amp;quot;java&amp;quot;, &amp;quot;pt&amp;quot;, &amp;quot;pg&amp;quot;, &amp;quot;vox&amp;quot;, &amp;quot;amoi&amp;quot;, &amp;quot;bird&amp;quot;, &amp;quot;compal&amp;quot;, &amp;quot;kg&amp;quot;, &amp;quot;voda&amp;quot;, &amp;quot;sany&amp;quot;, &amp;quot;kdd&amp;quot;, &amp;quot;dbt&amp;quot;, &amp;quot;sendo&amp;quot;, &amp;quot;sgh&amp;quot;, &amp;quot;gradi&amp;quot;, &amp;quot;jb&amp;quot;, &amp;quot;\d\d\di&amp;quot;, &amp;quot;moto&amp;quot;);&lt;br /&gt;&lt;br /&gt;foreach($uamatches as $uastring){&lt;br /&gt;if(preg_match(&amp;quot;/&amp;quot;.$uastring.&amp;quot;/i&amp;quot;,$_SERVER[&amp;quot;HTTP_USER_AGENT&amp;quot;])) return true;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&amp;gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/2720548.aspx</link><pubDate>Mon, 03 Nov 2008 10:21:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2720548</guid><dc:creator>graphicguru</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2720548.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=2720548</wfw:commentRss><description>&lt;p&gt;Hi this asp code. &lt;/p&gt;
&lt;p&gt;&amp;lt;html&amp;gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&amp;lt;head&amp;gt; &amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;% Dim UserAgent, IsPocketPC, IsMME, IsThin UserAgent = Request.ServerVariables(&amp;quot;HTTP_USER_AGENT&amp;quot;) IsMME = (InStr(UserAgent, &amp;quot;MME&amp;quot;) &amp;gt; 0) IsThin = (IsPocketPC Or IsMME) IsPocketPC = (InStr(UserAgent, &amp;quot;Windows CE&amp;quot;) &amp;gt; 0) If (IsThin Or IsPocketPC) Then Response.Redirect(&amp;quot;http://www.sitename.com/pda&amp;quot;)Else Response.Redirect(&amp;quot;http://www.sitename.com/index.htm&amp;quot;)End If %&amp;gt; &lt;/p&gt;
&lt;p&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;save it as Default.asp and works fine im a designer not adeveloper i got it from googling, im looking to work in all mobiles and there browsers when i change to work this script in blackberry i changed &amp;quot;Windows CE&amp;quot; to &amp;quot;BlackBerry&amp;quot; it works fine but not in other do u find any where just post it. &lt;/p&gt;&lt;a class="" title="ASP code" href="http://mobiforge.com/developing/story/lightweight-device-detection-asp" target="_blank"&gt;http://mobiforge.com/developing/story/lightweight-device-detection-asp&lt;/a&gt; this link work fine for me. i have changed &amp;quot;Response.Write&amp;quot; to &amp;quot;Response.Redirect&amp;quot;</description></item><item><title>Re: Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/425328.aspx</link><pubDate>Mon, 22 Dec 2003 14:28:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:425328</guid><dc:creator>NetProfit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/425328.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=425328</wfw:commentRss><description>I don't have a short answer for you, but you could check out the IBuySpy Portal from this website.  You can download the source code free.  There is plenty of good examples in there, including rendering content for both conventional and mobile web browsers.
&lt;br /&gt;</description></item><item><title>Device detection: standard &amp; mobile web applications</title><link>http://forums.asp.net/thread/425321.aspx</link><pubDate>Mon, 22 Dec 2003 14:22:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:425321</guid><dc:creator>sion.lewis</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/425321.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=48&amp;PostID=425321</wfw:commentRss><description>Background:
&lt;br /&gt;

&lt;br /&gt;
I would like to host standard web pages as well as mobile web pages on a single website/virtual directory.  
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Questions:
&lt;br /&gt;

&lt;br /&gt;
Is there a simple way of sniffing out the machine type and then presenting either web or mobile application depending on the device? 
&lt;br /&gt;

&lt;br /&gt;
Or is there a better solution other than creating separate website?
&lt;br /&gt;

&lt;br /&gt;
Many thanks</description></item></channel></rss>