[Q] Help ! Setting density for Android game - Android Software/Hacking General [Developers Only]

I am developing an Android game, in which a ball (bitmap) translates( is in motion). So I have provided motion equations for the ball. I have checked my app on Samsung galaxy S2 whose actual density is roundly 252 dpi, and It works fine on that. So my question is that Does these motions of bitmaps in surfaceView, depends on actual density of phone( i.e 252 dpi for S2) or generalized density(i.e 240 dpi).
I am confused whether if I run this app on 235 dpi smartphone, So will it have the same performance of motion as it is on Galaxy S2( with 252 dpi) or it would be little slow ?
Any help will be appreciated.

Related

Android Tablet Density settings

Hi everyone
So, I have this Android Tablet called the Haipad M701 which runs on Android 2.1
By default the icons and everything are HUGE, doesn't look too good So, I rooted the device and found a density setting which by default was at 240. I changed it to different values between 160 to 240 and with smaller values it looks very nice
BUT at any value other than the default 240, almost ALL apps and games are no longer in fullscreen
Does anybody know if there might be a fix for that?
Thanks
wow... not a reply since sept... not sure if you get it fixed or not.
one step you can try is to turn off the compatibility mode in your tablet.
this should fill up the whole screen in most apps except some apps that written specifically for small screen phone without adding large screen display mode in it.

LCD Density

LCD Density is a tweak I like to make due to my eye sight (or lack thereof). There are a few apps that will change this setting for you provided you have root access. The problem I've run into is the dreaded "your device is not compatible" on the Play Store (Android Market). The reason behind this was due to an awkward setting. 2 out of 3 apps I've used in the past had pre-set configurations. Usually the settings to choose from were 240 (default) 260, 280. On the smaller side were 220, 200, and 180. What I found out recently is 256 is the native PPI. So do yourself a favor and find an app that has a sliding scale in increments of 1 PPI and set your Atrix2 to 256 if you'd like a bit larger images and text. Its helped me feel comfortable using my phone and I no longer incur the Play Store (Google please change the name back) error. Otherwise I'd have to readjust the LCD density, reboot, clear data for the Store and THEN go get the app. Then change the density BACK...reboot. you get the idea. It was painful. So to make a short story long, LCD density at 256 for the farsighted people like me. Whew! Didn't mean for that to be so long. Hope it helps.
Sent via Tapatalk with VictoryRom_v1.1

dpi changer in bumblebee rom

Bro i am a newbie over here please explain me that low dpi is good or the higher dpi default dpi in bumblebee is 240 so i want a dpi like s3 should.i got higher or lower and please tell me effects on play store
And the procedure i cannot post on bumble bee
Hi Rohit,
Low or High DPI is totally upto you how you would like to see it
Low DPI for ex. 190 will make contents on your phone (Like ICONS, NOTIFICATION, FONTS, POP UP's etc) more compressed so with 190 DPI you'll notice things displayed will be smaller, similarly with more DPI like the default 240 DPI in Bumblebee ROM you'll notice contents displayed on the phone are bigger than what they would be on 190 DPI
If you'd like to change the DPI on Bumblebee please read the DPI instructions given on Bumblebee ROM's page
And yes dont forget to Google around if you'd like to find more technical info on DPI
HIT THANKS IF YOU THINK YOU SHOULD
Thanks bro
Sent from my Micromax A110 using xda app-developers app

[GUIDE] [ANDROID WEAR] [ADB] Changing DPI on the Gear 2

This won't work if your Gear 2 is still running Tizen, sorry.
The original DPI on Biktor's Android wear for Gear2 is 280. I found that changing it a little improves everything a lot.
Here is how you do it :
1) Enable USB debugging on your watch and connect it to you PC.
2) Start ADB
3) If for whatever reason, you want to know what your current DPI is, type this : adb shell wm density
4) To change DPI, type this : adb shell wm density 200 (yeah, I suggest 200 for Gear2, but the choice is yours)
The screenshot on the left is with DPI 200, the one on the right with original 280 DPI.
Enjoy
The perfect dip is 240 .
Tried and no blurry icon , max graphics interface
Gabriā„¢ said:
The perfect dip is 240 .
Tried and no blurry icon , max graphics interface
Click to expand...
Click to collapse
Thanks, I will try it
Works great on Ticwatch e as well. Thanks!

i9300 - Can't change LCD Density (DPI)

Max I can get is 281, but that is really small. I've tried many apps and the rom settings itself.
I dont no if is optimal solution but for me worked .... so,things i made :
-ro.hwui.text_small_cache_widtch 2048
-ro.hwui.text_small_cache_hight 2048
so.sf.lcd density la 560
persyst_sys.lcd_density 560
ro_slim_lcd_density 560
and restart ! Baaang...all is bigger.

Categories

Resources