473,407 Members | 2,312 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,407 software developers and data experts.

How to make web application for both desktop and mobile?

17
I have used style sheets when page is viewed on a mobile phone or a PC.

The pages looks fine on both when I manually set particular phone in the style sheet.
My problem is how to set for all mobile phones(ex: nokia,sony,etc)

I have used stylesheets as follow:
For PC:<link href="style.css" media="screen" rel="stylesheet" type="text/css" />
For Iphone mobie: <link href="style1.css" media="only screen and (max-device-width: 480px)" type="text/css" rel="stylesheet" />
Feb 28 '11 #1
2 2119
dgreenhouse
250 Expert 100+
You're going to have to do a fair amount of research...

Maybe this link will get you started:
http://www.google.com/search?q=mobile+device+detection

Also see:
http://wurfl.sourceforge.net/
Feb 28 '11 #2
JKing
1,206 Expert 1GB
Looks like you are off to a good start.

Have a look at this article on mobile stylesheets. It is quite in-depth and informative and can hopefully steer you in the right direction.
Feb 28 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: faktujaa | last post by:
Hi, I have created an application that uses IIS to host remote components. All the remote components are listed in app.config in client and web.config in server. Now the app.config can contain...
2
by: smaggi | last post by:
I have a VB.NET pocketpc application that I need to port to the desktop. What is the best way to do this? Does anyone know where there is a list of steps or checklist? Thanks --...
2
by: roni | last post by:
can i create web service and asp.net application both in the root of the webserver ?
0
by: saudakhan | last post by:
hi, I have made a windows mobile 5.0 app., and it works fine. I can install it on the mobile by sync ing the setup (cab) file, But I want to install directly to the device through a windows...
2
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I wonder whether this article http://msdn2.microsoft.com/en-us/library/ms973831.aspx is still applicable to ..net 2.0/.net 3.0 and the current computing environment. Also, does it happen that an...
1
by: radix2 | last post by:
hello, anybody can help me to make application encryption(using AES 256 bit)+steganography(using LSB insertion technique)...thanks before..i really need help....
5
by: varunchadha | last post by:
hey i want to convert one of my c# codes into a mobile OS compatible language... plz tell a way to do it or if any software can convert it...plz help me.... reply asap
0
by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post by:
Hi, I am developing an application for windows mobile device using C#. I am trying to launch that application by itself even if the device shut down for any reason or restart. I think the best way...
4
by: libish | last post by:
hi all.. i'm new in windows mobile application development... my question is .. will an application developed for windows mobile 5 work in windows mobile 6 i'm not developing an high end...
1
by: cultivate | last post by:
Hi everyone... I'm very new to the mobile development world. I currently developing a desktop application that I would love to integrate with a mobile version. I'm wondering if anyone has ever...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.