• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to handle different screen size

 
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's easy enough to test using various emulator AVDs, no?
 
Tim Moores
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
shawn peter
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic