Bulding websites with HTML/CSS/jQuery for Android device

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Bulding websites with HTML/CSS/jQuery for Android device

Postby ukando » Wed Oct 20, 2010 9:25 am

Hey

I am new to here. Was on forum for half an hour and can't find the information I need.
Actually, I am HTML/CSS/jQuery coder. And I need to develop the website, which will be "zoomed-out" or "fitted" to 320x480 (frequently used) Android mobile device screen.
I don't think this is a big problem. Somewhere I met that there is android.js file, which connects to HTML and recognizes if the website was open on PC or on android device. But I am not sure at all. I didn't do anything for mobiles before. That's why I'd like to ask professionals to help me sort everything out in my head :)
Any tutorials, any links, any ideas or even offers are really really welcome! H.E.L.P.

p.s. got only Android SDK with Android Virtual Device on my PC.
ukando
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Oct 20, 2010 9:13 am

Top

Re: Bulding websites with HTML/CSS/jQuery for Android device

Postby benny! » Thu Oct 21, 2010 6:06 am

Have a look at media queries (css3). Which works like this e.g.:

Code: Select all
@media only screen and (max-device-width: 480px) { // ... }


Maybe those can help you out!
User avatar
benny!
Experienced Developer
Experienced Developer
 
Posts: 69
Joined: Tue Nov 27, 2007 3:36 pm
Location: end of www

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 12 guests