Reputation: 3988
How can I make a website(which is exist before) compatible with android? So that we can use every functionality of that website on our android device.
Upvotes: 0
Views: 5585
Reputation: 39904
Have a look at this link: http://developer.android.com/guide/webapps/targeting.html. The same rules would apply for making a website. One of the most important things is adding this line:
<meta name="viewport" content="width=device-width" />
This tells the browser to set the zoom level according to the device width. Otherwise the site will be zoomed out a lot and the user will have to zoom in to see the text properly.
This article from SmashingMagazine has a couple of other tips.
Upvotes: 2
Reputation: 401022
Android's webbrowser, at least for recent versions of Android, is quite powerful, and quite close, in terms of features, to a desktop one.
So, if your website doesn't do any too-fancy / special stuff (like super-recent HTML5), it should work quite well on an Android device.
Note, though, that if you want your website to work on a mobile device, you'll have to at least think about :
Upvotes: 0
Reputation: 3801
rewrite/modify it to be compatible with mobile browsers. Its not something that you can just add a stylesheet for.
Upvotes: 0