By Pritesh Patel, on September 19, 2011, 9:00:47

UAG Portals, iPhones, Androids and Windows 7 phones

Hi,

When trying to get a client’s UAG portals looking the same across devices mentioned in the title and desktops I found that the portal has a “slim” view when visited on Windows 7 and iPhones. Weird because the portal looks the same on an iPad.

I went through the mobile.browser file and found nothing that could help me there. I realised that the iPhone and Windows 7 phones are sent to a premium mobile portal, just as the Android is. Testing using Android phones showed that the whole portal was displayed.

So digging around as I normally do I came to the conclusion that the inc files weren’t being processed by the browsers on these mobile browsers so I added the following code:

<% if isPDA = true then%>

Logo.inc or bottomtext.inc content

<%end if%>

In to files which the user would navigate to like login.asp or logoffmsg.asp (there are more than these two files). The above code was placed just before the include statements in the above files. For example for login.asp if we want to add the logo to the top of the portal table we go from this (you can click the images to make them bigger):

To this:

Hope that helps.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*