[Q] Native Pixel Density - Galaxy S II Q&A, Help & Troubleshooting

So, I've messed around with pixel density on my HD2 and now my SGS2 as well. One thing has always intrigued me; what is the native pixel density of these screens (given that the HD2 and the SGS2 share size/res).
So I worked it out thus (robbed straight from wikipedia):
1. Calculate diagonal resolution in pixels using the Pythagorean theorem:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Calculate PPI:
where
dp is diagonal resolution in pixels,
wp is width resolution in pixels,
hp is height resolution in pixels and
di is diagonal size in inches
So, the diagonal resolution is: 933 = square root of ((480x480)+(800x800))
The native pixel density should be 218.5 = (933 / 4.27)
Does that make sense to anyone or am I barking completely up the wrong tree? Maths never was my strong point
The above also assumes that the screen is exactly 4.3 inches diagonally.
Edit: This page shows the screen to be 4.27". Info amended above. Calculations checked and wiki info confirmed. Might change my pixel density to 218/219

You are right, that is the native screen dpi.
But, I think, that applications that are running in 800x480 are designed with 240 dpi as standard. Dpi is nothing more that a constant of the device provided to applications for calculations of text font size and layout of controls . That is my guess and I find comfortable a dpi of 200 for this device.
See what happens in windows when you change system font size (dpi)!

Yes, thank you. That was the info I was missing: the exact size of the screen. I will edit my original post.

Related

[Q] Edit dpi x and y axis independent

A couple of days ago I bought a cheap tablet. It actually works quite well for the price I paid for it.
There is only one annoying issue. The screen seems stretched on the x axis (in landscape mode), resulting in circles that look like ovals. So I decided to take a look at some system info apps, and this showed some strange numbers (see the screenshot below).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I already tried editing the dpi in the build.prop file, but this didn't fix the problem. The overall dpi changed, but I was still stuck with the incorrect aspect ratio. So does anyone of you have an idea to fix this? Maybe a way to change the dpi of the x and y axis independent?
I'm having the same issue as you.
Problem is, the standard resolution for Android seems to be 800x480, which has an aspect ratio of 5:3, or 15:9, but many tablets have 16:9 screens.
This makes everything appear stretched about a 6.7% in the direction of the tablet's longer orientation (ie: horizontally in landscape mode, or vertically in portrait).
The solution would be to set the tablet to a 16:9 resolution, or make the DPI 6.7% higher in that direction.
Unfortunately, I haven't found a way to do neither.
How change X-dpi and Y-dpi settings?
On my Android TV dongle are X-dpi 25,4 and Y-dpi 25,4. I want to change X-dpi and Y-dpi to 160, becouse on some apps text are very small, and it's undearable.

[APP] 8.1 Screen Changer [Lock screen changer with battery info]

My new App
8.1 Screen changer
Use this application to create changing wallpapers.
In addition, the application allows to display information about the status of your battery.
Lots of great settings are ready for this.
Your background image and your battery indicator is updated every 30 minutes.
All new!
Update GRD3 the application issues spoken notifications.
Your phone says "Battery Low" if your battery is low or "Batterie is charing" and "Battery fully charged".
http://www.windowsphone.com/en-us/store/app/8-1-screen-changer/8edced5a-29d7-4c60-83c7-36a03a4a9ce7
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What's the difference between the trial and paid versions?
As a reminder, XDA forum rules don't allow advertising commercial apps via forum posts...
Hey there, the app used to allow us to use pictures in our native resolution. Now I have to crop the images, I can't use 768x1280 images
Sent from my RM-821_eu_euro2_206 using Tapatalk
It is unfortunately not possible to read out the resolution of the device.
This is why the pictures always on the percentage measure of 1920 X 1080 cut.
As a percentage, that is why in order to save memory on your phone.
In other words, your image is cropped in the resolution of 1280 X 720.
I first thought that let the user set the resolution manually.
But unfortunately most of it would be over foerdert.
Thank you very much!
Too bad, got to find another app for my needs then. My lockscreen images are fit to 768x1280, the way your app works the images get cut off on the top and bottom, cutting off texts and icons. Also, the images start to look pixelated because the 720x1280 images are stretched to 768x1280.
Sent from my RM-821_eu_euro2_206 using Tapatalk

[Q] Some click actions "disappeared" after I changed the global density Value

[Q] Some click actions "disappeared" after I changed the global density Value
Hello Community,
I made a home screen just with Zooper and Tasker.
Yesterday I changed the density to get everything smaller. Afterwards I changed the density back to original for my Launcher and for Zooper (With AppSettings).
Original Density: 320
Changed to: 270
Now I have the Problem that I can't click many of the created Widgets. I have multiple Text Elemts and Icons which dosnt react when i click them.
Now I tested a bit and found out that if the Text/Icons are much bigger I can click them (i.e. Textsize 40).
So i think i have to change the density for something else, but what? Or maybe the Problem is something else?
Sent from my GT-N7100 using XDA Premium 4 mobile app
Here are the Screenshots with Layout boundaries
build.prop Density 270, ssLauncher/Zooper Density 320:
View attachment 2532180
build.prop/ssLauncher/Zooper Density Density 320:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
With 320 the square is where it should be (complete around >Edit< and >WhatsApp<)
With 270 the square is just the half height from >Edit< and something completly different from >WhatsApp< and not even clickable.
So the question is: do i miss something while changing the density? do i have to change the resolution as well or something like that?
Sent from my GT-N7100 using XDA Premium 4 mobile app
*deleted*

[Q] Help: Font size and UI issues

[Q] Help: Font size and UI issues
Hello everybody,
I own a Desay TS518 (a Chinese brand) phone which runs Android 2.3. I liked its physical keypad, so I bought it. However, the phone was designed especially for the old, so the fonts and UI elements were extremely big. This made me very uncomfortable and caused some applications to misbehave.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have googled and tried two ways to change them to the right size, but (partly) failed.
Here is a datasheet of the phone:
Network mode: TD-SCDMA/GSM
Screen: 2.8 inch, 240x320
Camera: 0.3MP
OS: Android 2.3
CPU: 1.0GHz
RAM: 256MB
Battery: 1300mAh
Picture:
First, I tried the app ‘Spare Parts’.
It can adjust the font size, but the UI were still ugly. For example the BIG title bar……
And when the phone reboots, the fonts will become big again.
Then, I tried to modify the font file with a software called ‘Font Creator Program’, but the results were same. Only fonts became smaller.
I have also tried to increase the LCD density using some apps, but none of them works.
Additionally, I think maybe the manufacturer have modified things in /system/framework/ …… I know how to use tools such as baksmali and apktool, but don’t know what to modify……
Hope you'll help me. Sorry for my poor English…
Thank You.
There is a simple way. you can port a ROM from another device.
alien_hjy said:
There is a simple way. you can port a ROM from another device.
Click to expand...
Click to collapse
It's too difficult for me to do that...

Question resizing photos

trying to resize a small photo properties are 770 x 1502 pixels I would prefer 1600 x 1200 pixels
when I resize it pixels in properties and filesize increase but jpeg in windows photos and many other photo programs stay exactly the same size
never resizes so far I have tried
photoshop
photoshop elements
lightroom classic
bridge
ms paint
power toys
photo blow-up
gimp
shampoo photo optimizer
PowerPoint
and online image resizers
none of these actually make it bigger
I have 4 separate photos that need resizing and are all different sizes
don't know what else to try
windows 11 pro x64
Photoshop can certainly do it. I'm happy to show you - contact me on Telegram if you want me to show you: Mod edit: TG link removed.
I'm using PhotoFiltre7 app.
i tried PhotoFiltre7.app on 2 different photos but exactly the same whatever sizes i put in image size the photo is always the same dimensions not bigger.
You probably aren't able to correctly handle PhotoFiltre7 app: it perfectly works.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tried lots of programs found 2 that did resize but just made the person fatter which looked horrible
so I used photoshop and added extra detail so making photo bigger which looks half decent
what I do is just use https://imgupscaler.com/
works fine for me everytime, hope this helps. TQ
The best FREE (not only Image manipulating) software ever!!!
IrfanView graphic viewer
Open picture with Photo.
Right click > Resize.

Categories

Resources