[Q] Developing for different screen resolutions - Android Software/Hacking General [Developers Only]

My friend and I are developing an app, I'm doing all design work. So there is the problem. I don't know what size should be my designed graphics. In android developers i found this:
ldpi: 0.75
mdpi: 1
hdpi: 1.5
xhdpi: 2
And this..
xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp
But if I have xhdpi and it is 720 wide and I wanna get hdpi and do this:
720/2*1,5 I get 540 pixels. Its not 480 as I think it should be.
Where is the problem? How should I calculate what size my graphics should be on different screen sizes?

Anyone?
Anyone? I really need an answer..

Related

Is there anyway to get 240 x 320 QVGA on a Treo 750

Does anyone know if the physical screen in the Treo 750v is the same HARDWARE as the physical screen in the Treo 680 ?
That is, is the 750v screen physically capable of 320 x 320 resolution (like a 680) ?
I know that Windows Mobile does not support 320 x 320 screen resolution - that is not what I am after.
I am just thinking, if it can do 320 x 320, would it be possible to get the Treo 750v to display normal QVGA 240 x 320 resolution in WM5.
Of course, this would mean everything would be smaller in order to get 80 extra pixels vertically. Horizontally, not only would things be smaller, but the screen would show nothing (black) for 80 pixels across (ideally this would be done as 40 pixel wide black bars either side of the 240 wide display area).
While this may be too small for most people, I have recently played with an XDA Stealth which has a 2.4inch QVGA screen, which whilst small, is still quite acceptable.
The screen on the XDA Stealth is only about 2mm taller than the Treo 750v screen.
I know that the DISPLAY DRIVER is the thing that tells the OS what the screen resolution is...... I wonder if there is a way to get a display driver on the Treo to run at 240 x 320.
I have seen NYDITOT, but I was wondering if there was a more native solution.
AFAIK the hardware on the 750v/c is a 240 x 240 screen whilst the 680 has a 320 x 320 screen. So the answer would be no.
Physically not possible, but can be possible software-wise
There is a program called NYDITOT that emulates different resolutions on the Treo. This makes it possible to have the display be 320 x 320 or 480 x 480, although text and images aren't as sharp. However, this allows most applications that require a 240 x 320 screen to run, as that resolution can be emulated so that the screen either scrolls to give it a full res, or be scaled to fit on screen.
Yeah, I have played with NYDITOT, but there is only so much that can be achieved in terms of sharpness/clarity when you have a 240 x 240 screen emulating 240 x 320 etc.
What I was *hoping* (although not really expecting) was that the 750v screen was the same physical hardware as the 680's 320 x 320 screen - the 750v just being told to run at 240 x 240 to suit WM5.
If this was the case, then the screen should be capable of doing a native 240 x 320 better (ie sharper, clearer etc) than NYDITOT can achieve through emulation.
Of course, if the hardware is different and the 750v's screen only supports a native resolution of 240 x 240 then NYDITOT is the best we will ever get.

[Q] A screen question?

Has anyone ever thought of trying to run the touch pro or diamond at 480 x 800 ?
Not likely, as it would be kind of blurry and ugly, considering the native resolution (i.e. how many physical pixels are actually there) is 480 x 640 in both cases.
Oh ok I was kind of thinking like for example, the 96 dpi hack for qvga screens.

Wallpapars 800*400(WVGA)

hi guys
this is my first thread
Do appreciate your response
if you all like it let me know i will post more wallpapers
Thanx
WVGA wallpapers is always welcome, but i think this set was a little too girlie for me ;-)
Mohitt said:
hi guys
this is my first thread
Do appreciate your response
if you all like it let me know i will post more wallpapers
Thanx
Click to expand...
Click to collapse
Thanks for sharing. Welcome to the forum btw
Are they 400 or 480 x800?
they are 800 in height and 400 in width
Mmmm...
Mohitt said:
they are 800 in height and 400 in width
Click to expand...
Click to collapse
WVGA is 480x800, not 400x800 - Thanks for sharing anyway
thanks very much
if u all like my post pls give it some stars
will be posting new sunset,skys and forest wallpaers very soon
i think max by 21
I think you would get more attention if they were 480 X 800 not 400 X 800. WTH is 400 X 800
400x800 is WQVGA I think..
My Omnia uses that size
(so does my Pioneer AVIC)
Sorry but this pack is not very good. For one the resolution is off for this perticular unit and second the images included are resized verisions of 600x800 (or larger) images where aspect is distorted. If you absolutely must have a certain image you should atleast crop the image to maintain aspect ratio before resizeing.
Never the less, thanks for the effort and good luck on future projects.
bryan95502 said:
400x800 is WQVGA I think..
My Omnia uses that size
(so does my Pioneer AVIC)
Click to expand...
Click to collapse
WQGVA is 240 X 400??????
Just to clarify: ;
The ratio of the width of the display to the height of the display eg VGA 640 x 480 in a 4:3 format (480 x 4/3 = 640).
Topaz is WVGA = 480x800 (WVGA is just a "Wide" VGA, therefore the 480 remains the constant)
VGA = 480x640
QVGA = 240X320 (Quarter)
WQVGA = 240x320+ (Wide Quarter VGA)
SVGA = 600x800 (Super)
EVGA = 768x1024 (Extended)
So, 400x800 is a variatant of VGA in 2:1 format, but technically there is no acronym for it.
I hope those wallpaper are suitable for me.
As I promised
Here are some sunset or u can say some landscapes wallpaper
Not sure of exat resolution as they have been cropped to get best view
I m am Sure they will pretty good on your QVga/Wvga phones aka diamond and daimond 2
I have all on my htc pure
they are abt 36 in no.
Also this time including some screenshots
so u dont waste ur bandwidht and time if they r not of ur taste
how do u set that all the tabs in the touch flo 3d have a background, now only my home screen has a background and the rest (like apps or images) dont have no background
Thanks a lot.
Download the "BG_for_all_pages_WVGA tool", and you can have same background for all the tabs.
thank you for sharing
thanks very much for sharing
Thanks a lot,have a look.

htc sensaation resolution

i just checked my htc sensation roted resouktation and it shows that my screen 240ppi rather then what it states on htc phone
Display Type S-LCD capacitive touchscreen, 16M colors
Size 540 x 960 pixels, 4.3 inches (~256 ppi pixel density)
source from http://www.gsmarena.com/htc_sensation-3875.php
and a screen shot of showing that it is running 540*960 at 240 ppi rather then 256
i need to know if this is only happening to me or your phone have the same ppi
please reply to me anyone
beside i just wanna know i'm not really worried about the ppi thing but i want to know if this is only happening to me or other people have the same thing.
i'm using lcd resolution app from market its free and only require root.
my phone is set at the same 240 ppi
staymunch said:
my phone is set at the same 240 ppi
Click to expand...
Click to collapse
i wonder why they had to lie about the ppi thing.
HTC have not listed the dpi on this phone as 256.... GSM arena can say what ever spec they want but it doesnt mean it true. The optimum dpi for that display when its sold may be 256 or may not but either way all HTC roms are set as 240..
all that prog does is change the entry in the build prop file
anarchyuk said:
HTC have not listed the dpi on this phone as 256.... GSM arena can say what ever spec they want but it doesnt mean it true. The optimum dpi for that display when its sold may be 256 or may not but either way all HTC roms are set as 240..
all that prog does is change the entry in the build prop file
Click to expand...
Click to collapse
in the software you can actually change the resolution but i thought lets just stick with 240 thing.
The software is telling you dpi, not ppi. A dot can consists of more than 1 pixel, and if you set the dpi so that each pixel contains more than 1 dot... it can look weird.
Changing the dpi setting can increase/decrease the font and various graphics on screen. That's why many of the 5- or 7-inch tablets, although only have WVGA resolution, display more stuff on screen than many of the WVGA phones. They simply scale up the dpi setting. Of course setting it too high on a low ppi screen will make everything looks crappy.

galaxy note wallpaper

i understand the screen resolution is 1280 x 800 but does anyone know what size wallpapers need to be. they are larger than screen resolution to provide mulitple screens sliding. thanks
note: i believe they need to be 1280 x 1600 (horizontal - vertical) for scrolling wallpapers.
and of course 800 x 1280 - if you use disable wallpaper scrolling.
Live Wallpaper
Phone not support live wallpaper?
Tried 3 different, all worked fine.
sent from my Galaxy Note via T*patalk
ist nice
bedspringlex said:
i understand the screen resolution is 1280 x 800 but does anyone know what size wallpapers need to be. they are larger than screen resolution to provide mulitple screens sliding. thanks
note: i believe they need to be 1280 x 1600 (horizontal - vertical) for scrolling wallpapers.
and of course 800 x 1280 - if you use disable wallpaper scrolling.
Click to expand...
Click to collapse
Any wallpaper with resolution of 1280 x 1280 is best for note (without scrolling)..

Categories

Resources