|
Prev: newbiie (ish) getting the client URL when using custome errors asp ?
Next: LDAP version of winnt://.../user ?
From: displayname on 16 Jun 2008 10:38 I have a Web application that is written in ASP. It runs well on regular PC. What is needed to make it run on PDA (wireless)? I want to buy a new PDA to test the application. Is there a particular brand of PDA or operating system that I should buy? Thanks.
From: Tim Slattery on 16 Jun 2008 12:27 displayname <yourdisplayname(a)discussions.microsoft.com> wrote: >I have a Web application that is written in ASP. It runs well on regular PC. >What is needed to make it run on PDA (wireless)? I want to buy a new PDA to >test the application. Is there a particular brand of PDA or operating system >that I should buy? Thanks. ASP runs on the web server, not the client. What kind of client you use to access the server should make no difference to the app. -- Tim Slattery MS MVP(Shell/User) Slattery_T(a)bls.gov http://members.cox.net/slatteryt
From: displayname on 16 Jun 2008 13:51 Tim, are you saying that I don't need to change any thing in my code and the application will run on PDA as if it runs on IE7 on my PC? What about the font size? May be I need to change all font size to smaller and make the page a lot smaller so it can fit on PDA screen, right? But then I want to page to be big to fill the enter screen on my PC. What's the code for detecting whether it's PDA or PC in order to change the font size and page size accordingly? Which PDA (what features...) do you recommend me purchase to test out the app? Thanks. "Tim Slattery" wrote: > displayname <yourdisplayname(a)discussions.microsoft.com> wrote: > > >I have a Web application that is written in ASP. It runs well on regular PC. > >What is needed to make it run on PDA (wireless)? I want to buy a new PDA to > >test the application. Is there a particular brand of PDA or operating system > >that I should buy? Thanks. > > ASP runs on the web server, not the client. What kind of client you > use to access the server should make no difference to the app. > > -- > Tim Slattery > MS MVP(Shell/User) > Slattery_T(a)bls.gov > http://members.cox.net/slatteryt >
From: Tim Slattery on 16 Jun 2008 16:05 displayname <yourdisplayname(a)discussions.microsoft.com> wrote: >Tim, are you saying that I don't need to change any thing in my code and the >application will run on PDA as if it runs on IE7 on my PC? What about the >font size? May be I need to change all font size to smaller and make the page >a lot smaller so it can fit on PDA screen, right? But then I want to page to >be big to fill the enter screen on my PC. What's the code for detecting >whether it's PDA or PC in order to change the font size and page size >accordingly? There might be something in the USER_AGENT string (request.ServerVariables("HTTP_USER_AGENT") ). I don't think the server will get any other indication of what the client is. -- Tim Slattery MS MVP(Shell/User) Slattery_T(a)bls.gov http://members.cox.net/slatteryt
From: Adrienne Boswell on 17 Jun 2008 03:05 Gazing into my crystal ball I observed =?Utf-8?B?ZGlzcGxheW5hbWU=?= <yourdisplayname(a)discussions.microsoft.com> writing in news:B109347E-00FD-4C80-A618-EC451477B2F4(a)microsoft.com: > Tim, are you saying that I don't need to change any thing in my code > and the application will run on PDA as if it runs on IE7 on my PC? ASP knows nothing about the client, whether it's a browser, PDA, phone, or refrigerator. > What about the font size? May be I need to change all font size to > smaller and make the page a lot smaller so it can fit on PDA screen, > right? No, let the user's UA decide what font size to use. Do not set a font size at all. > But then I want to page to be big to fill the enter screen on > my PC. You might want to look at the @media directive for CSS, @media screen, @media handheld, @media print, etc., eg: @media screen /* for browsers */ { body {font-size:95%} } @media handheld { body {font-size:100%} } @media print { body {font-size:10pt} #nav {display:none} } > What's the code for detecting whether it's PDA or PC in order > to change the font size and page size accordingly? As others have said, look at the UA string. You might want to see if you can find a simulator. There is a phone simulator from Openwave that can get you started. > > Which PDA (what features...) do you recommend me purchase to test out > the app? Thanks. > > "Tim Slattery" wrote: > >> displayname <yourdisplayname(a)discussions.microsoft.com> wrote: >> >> >I have a Web application that is written in ASP. It runs well on >> >regular PC. What is needed to make it run on PDA (wireless)? I want >> >to buy a new PDA to test the application. Is there a particular >> >brand of PDA or operating system that I should buy? Thanks. >> >> ASP runs on the web server, not the client. What kind of client you >> use to access the server should make no difference to the app. >> >> -- >> Tim Slattery >> MS MVP(Shell/User) >> Slattery_T(a)bls.gov >> http://members.cox.net/slatteryt >> -- Adrienne Boswell at Home Arbpen Web Site Design Services http://www.cavalcade-of-coding.info Please respond to the group so others can share
|
Next
|
Last
Pages: 1 2 3 Prev: newbiie (ish) getting the client URL when using custome errors asp ? Next: LDAP version of winnt://.../user ? |