• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to handle different screen size

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know when i am creating application does it display any screen size phone ?
If not how to handle it ?
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's easy enough to test using various emulator AVDs, no?
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once again there's this annoying link to some article about testing that I am not endorsing. Is there really no way to get rid of that?
 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not for testing.I mean when i am develop a application do i need to think of the phone screen size.As a example if i creat a application with some images.So does that application run in all phone with no errors ?
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll never know that. From my experience I can tell you that there *will* be exceptions that you just *know* can't happen. And yet, you need to handle them gracefully. But the Android Market provides you with the stack traces which is usually enough to know how to catch (and maybe even deal with) the exception.

And yes, you do need to consider the screen size, especially now as Android on tables is gaining traction. At the very least, you'll want to use different layouts.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:Once again there's this annoying link to some article about testing that I am not endorsing. Is there really no way to get rid of that?

Previously discussed here. Seems the only solutions are to add a disclaimer to your signature or pay Paul $200.
 
Tim Moores
Bartender
Posts: 2749
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm not the first one to notice this. It's actually worse in this case, because the link is not a double-underlined one (which is how ad links look elsewhere), but is of the dotted variety that's also used for other automatically added links, like FAQ pages and javadocs. Strange and disturbing that these very different things are displayed alike.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic