473,320 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

PDA wireless

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.
Jun 27 '08 #1
7 1790
displayname <yo*************@discussions.microsoft.comwrote:
>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)
Sl********@bls.gov
http://members.cox.net/slatteryt
Jun 27 '08 #2
displayname 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.
I have done this before, we have mobile 2006 PDAs that run IE, my ASP
applications (for stock takes as the PDAs have barcode scanners) work
very well on this platform.

I make the page the right size for the PDAs, but could have used a
different CSS file for it if I wanted to use on normal PCs.

The application also logs onto the local domain to pass the user into
the application. That works well too.

Steve
Jun 27 '08 #3
Adrienne Boswell wrote on 17 jun 2008 in
microsoft.public.inetserver.asp.general:
ASP knows nothing about the client, whether it's a browser, PDA, phone,
or refrigerator.
Use ASAP:

<% Mail = "More Ice, ASAP!"%>
<a href='mailto:refrigerator@me?subject=<%=Mail%>&bod y=<%=Mail%>'>
Hot, hot!</a>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 27 '08 #4
Adrienne Boswell wrote on 17 jun 2008 in
microsoft.public.inetserver.asp.general:
@media handheld
{
body {font-size:100%}
}
Seems to be working according to:
<http://www.codestyle.org/css/media/handheld-BrowserSummary.shtml>

Anyone with practical experience?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 27 '08 #5
Thank you all for replying. Let me see if I understand you correctly.

Use request.ServerVariables("HTTP_USER_AGENT") to determine the kind of
client.
If the client is PDA, then use the @media handheld {body {font-size:100%}}
style
to display a smaller font size.
If the client is PC, then use @media screen {body {font-size:95%}} style for
bigger font size.

Shouldn't the font size for PDA be 95% (for smaller font) and for PC be 100%
(for bigger font)?

I thought the user agent only lets you know whether it's "Mozilla/2.0" or IE
kind of information. It doesn't tell you whether the client is PDA or PC
which I need to know.

"Dooza" wrote:
I have done this before, we have mobile 2006 PDAs that run IE, my ASP
applications (for stock takes as the PDAs have barcode scanners) work
very well on this platform.
So PDA can have IE, that's good.
I make the page the right size for the PDAs, but could have used a
different CSS file for it if I wanted to use on normal PCs.
So you do change the font size for the PDA.
The application also logs onto the local domain to pass the user into
the application. That works well too.
That sounds like I need to do something additional to make the ASP
application pass the user into the app? I thought everyone else said I
wouldn't have to change any thing and the app would run on any client (like
PDA) because ASP runs on the server. My app uses IIS with Integrated
authentication. IIS authenticates the user passes the user id to the app. I
want it to continue doing the same thing in PDA. Do I need to change any
thing?

I have one more question regarding wireless network for the PDA. Do I need
to have a port open on the app server or on the wireless network to allow the
app to run on the PDA wirelessly? I've never worked with wireless nor PDA and
have no clue how things work in that environment.
Jun 27 '08 #6
displayname wrote:
Thank you all for replying. Let me see if I understand you correctly.

Use request.ServerVariables("HTTP_USER_AGENT") to determine the kind of
client.
If the client is PDA, then use the @media handheld {body {font-size:100%}}
style
You don't need to detect the user agent string, just use:

<LINK rel="stylesheet" type="text/css" media="handheld" href="handheld.css">
<LINK rel="stylesheet" type="text/css" media="screen" href="screen.css">

http://www.w3.org/TR/REC-CSS2/media.html

Steve
Jun 27 '08 #7
displayname wrote on Tue, 17 Jun 2008 07:45:01 -0700:

I thought the user agent only lets you know whether it's "Mozilla/2.0"
or IE kind of information. It doesn't tell you whether the client is
PDA or PC which I need to know.

The User Agent often contains a lot more info than just the browser version.
eg.

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705;
..NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR
3.0.04506.648)

This is the UA string my browser sends. You can see from it that I'm running
IE7 on Windows XP (NT 5.1 = XP), and have .NET 1.0, 1.1, 2.0, and 3.0
installed.

Here's a page listing a large number of known PDA/mobile device UA strings:

http://www.zytrax.com/tech/web/mobile_ids.html
For instance, this one:

Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)

which is running Windows Mobile (Windows CE = Windows Mobile = PocketPC)
using IE4.01, and has a screen resolution of 240x320 pixels.

--
Dan
Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve Chen | last post by:
Wireless Search with Summarized Results/Web Pages, powered by Google! We just released a wireless search service. The wireless search service takes the results returned by Google and gives key...
2
by: happymeteor | last post by:
Hi, everyone! I've tried to make a program which can get the wireless signal strength of wireless NIC(ex. 802.11b network card). As I know, regardless of whatever vender's NIC is used, in the...
8
by: Debbie | last post by:
Thank you for any help you can give me. I have a database that I've been working on... a backend for the server and front ends for the users. Now I've found out that the network is wireless and...
4
by: Al | last post by:
Hi, Although my application perform nicely in wired network, the performance in wireless network is very bad (I have tested in 802.11b). Would appreciate if anyone could suggest how I can improve...
45
by: Arno R | last post by:
Hi all, I am about to distribute an A97-runtime app. which will be used on a LAN by approx. 30 users. The network is pretty good, but there are a few managers who have wireless laptops... Of...
1
by: =?Utf-8?B?QmVmdWRkbGVkLTE=?= | last post by:
Trying to set up a WGA54G (gaming adapter) to a WRT54G(wireless router) so I am able to use a wireless service provider on an already established wired/wireless office network. Thoughts???
7
by: ixeye | last post by:
Anybody else ever had a problem like this? Windows 2003 Domain with 180 machines, 21 of them with XP SP2 Laptop Wireless access to the domain, on three different WIFI AP. Randomly (and luckily...
1
by: Nefrit | last post by:
OK this is my situation: This coming Friday I will be getting Telewest broadband installed in my house, along with my PC there are 3 other PC's and 1 Laptop, making a total of 5 all using Windows....
8
by: Bob Alston | last post by:
I just acquired a pro bono nonprofit client who has various problems with Access that they want me to address. In our initial discussion, they mentioned that their network is a LInksys wireless...
4
by: Pancakes | last post by:
Hello all, this is my first post in these forums, so bear with me if I've broken a few rules here or there. Anyhow, I would like to ask if anyone if familiar with the XBee Pro, here, and...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.