top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android xdpi and ydpi

+1 vote
187 views

I am new to android platform and would like to get help regarding the following information:
1) DisplayMetrics has members xdpi and ydpi. How are these values calculated?Will these both values be same as densitydpi [ro.sf.lcd_density] always even when the resolution is different across the x and y dimensions?
2) Where are these values set and read from?
3) I would like to change these values for my application.Where can I change these values?

posted Nov 28, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

Have you even seen OutOfMemoryError in system server? If yes, how do you find the root case of OOM? Do you have any tools that help finding the root cause in production code or during development?

+1 vote

I am using GsmCellLocation to get LAC and cell id for 3G network with below code :

mCid = gmsCellLocation.getCid() & 0xffff;
mLac = gmsCellLocation.getLac();

and is there any library or formula how to get/calculate the correct LAC and cell id for LTE network (4G) ?

0 votes

I am searching for the smallest and largest in term of size of android app ever built and launched in google play store?

...