jQuery in Action, 3rd edition
The moose likes Android and the fly likes One web app on different Android devices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "One web app on different Android devices" Watch "One web app on different Android devices" New topic

One web app on different Android devices

Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
Is there a reasonable way to design a web app that will look good across different Android devices?

I think it's mostly an issue of how to handle different screen sizes and aspect ratios, and I'm wondering what kind of support is available.


SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

Good question!
Web based mobile application were supposed to be cross platform so covering different devices running same platform should NOT be a problem, hopefully.

[List of FAQs] | [Android FAQ] | [Samuh Varta]
Damon Oehlman

Joined: Jan 26, 2011
Posts: 23
Hey Burk,

Going with a web UI framework is generally a good start, and even though in the book we start with the "roll your own" approach to teach the fundamentals we also cover quite a few frameworks in Chapter 12 (see http://www.coderanch.com/t/524920/Android/Mobile/Javascript-frameworks-have-good-performance).

In terms of screen sizes and aspect ratios you can handle these things with CSS3 media queries and/or a good fluid HTML design.


Damon Oehlman
@DamonOehlman - Web - Blog
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: One web app on different Android devices
It's not a secret anymore!