开发者

How to adapt mobile site for different mobiles?

开发者 https://www.devze.com 2023-01-03 23:53 出处:网络
I am developing a mobile site for iphone, and i want it to be use开发者_如何学Cd in other mobiles, for example, gphone, blackberry, sumsong, motorola etc.

I am developing a mobile site for iphone, and i want it to be use开发者_如何学Cd in other mobiles, for example, gphone, blackberry, sumsong, motorola etc.

what should i do for adapting the mobile site for so many different mobile devices?

Thanks for any advice.


Unfortunately I do not think there is an easy answer to this, other than to say that the simpler you make your mobile site the more likely it is to appear correctly/consistently across multiple devices/networks. You also need to consider the 'app' mindset with iPhone, where something that previously might have been presented simply as a web site, is now frequently presented in an app instead. Finally, bear in mind that many phones do not support flash (iPhone famously..), silverlight, javascript etc. If your site loses too much of its look and feel without these than you may have to redirect to targeted sub-sites per phone type.

See this similar question which may help you get a feel first for how your web site looks on different devices and in different networks:

Testing Mobile Sites

If you do need to change the look and feel for different phones, then you will need some way to detect the phone types - there are many articles etc about this which you should be able to find with Google - for example:

http://www.hand-interactive.com/resources/detect-mobile-php.htm

Again, it would be good to test whatever one you use in your target network to check it works as expected (operators may use devices, for example proxies and optimisers, which may affect how things arrive at your webserver or phone...).

0

精彩评论

暂无评论...
验证码 换一张
取 消