What is the exact screen size I should use while developing apps for Prime ?
Declared screen resolution isn't correct, because I used that and tested and its not showing in full size as it should, so it must be some other screen size.
Don't know, but would it work to take a screen shot and mail yourself the photo?
I had the same trouble with my hubs screens. Beautiful Photoshop stuff, but when they display at the original (advertised) size, they have a few pixels missing at either end.
I've used 1280x800px, but width of 1280 won't go to their ends and height seems to be shorter, because I see font degradation and rest of the objects, but its best visible on fonts (at least in my case.)
I'll have to explore tomorrow with different sizes... although I don't like these testing where I have to do whoknows how much of them to find exact dimensions.
The system bar take 48 pixels. So the actual resolution that's is available is 1280x752
If you going to create a app. I why don't look at android developer section for guide and info.. Just a suggestion...
http://developer.android.com/guide/practices/screens_support.html
http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts
Asus Prime & Tapatalk
Both of your links don't mention 752px, there is 720.
Anyways I don't use Android SDK or any other of their info. I use Adobe Flash and do it all from there. Very easy and no need for lots of reading
Related
Hi,
I originally wrote my application with a android:minSdkVersion of 1. This apparently means the application reports a screen height of 480 and a screen width of 320. This wasn't a problem as it still looked good on my Galaxy S i9000 (see pic 1). Once I discovered noticed this and changed it to a latter API it reports a higher resolution (with different aspect ratio). I managed to translate coordinates and resize images to deal with any resolution but now it looks all pixilated (see pic 2). I am using Libgdx for my 2d graphics using Sprites.
imageshack.us/photo/my-images/853/compatibility.png/
(looks nice and blended and not pixilated)
imageshack.us/photo/my-images/580/reslow.png/
(looks pixileated)
Are there any problems with releasing a program targeting API 1 since it seems to work better?
It seems like when there is a low resolution the display driver handles the resizing and blends it to look nice but when libgdx does it it doesn't look as nice.
Any thoughts would be great.
Hey all I am trying to design a wallpaper for my 80 g9 but don't what size to make it. I am using photoshop and don't know the right pixel amount to use. Thanks in advance
Took this straight from the Tech Specs page on the Archos website.
Display characteristics • 8”: 1024 x 768
Hope it helps!
On my Cobalt it crops the image to a 768x768 cross then enlarges it to a 1024x1024 cross so it should fit both portrait and landscape but it looks awful.
So it may be an idea to enlarge the canvas in Photoshop to 1024x1024, then set it as your wallpaper on the device so it is cropped without being resized
I've done some experimenting.
The best results are to use photoshop to add a large border around the image you want, basically set the canvas size to twice the current dimensions or more, this will reduce the amount of resizing the tablet does when you crop.
Now, with the mask that the wallpaper crop tool gives you, even though the landscape section is in the middle, it is wrong, the top of the landscape section is actually the top of the outer rectangle, so the top most line of the rectangle will be the top most line of the final cropped image.
xaccers said:
I've done some experimenting.
The best results are to use photoshop to add a large border around the image you want, basically set the canvas size to twice the current dimensions or more, this will reduce the amount of resizing the tablet does when you crop.
Now, with the mask that the wallpaper crop tool gives you, even though the landscape section is in the middle, it is wrong, the top of the landscape section is actually the top of the outer rectangle, so the top most line of the rectangle will be the top most line of the final cropped image.
Click to expand...
Click to collapse
just set the pixels to stock display size them go to playstore, download crop wallpaper then find photo set as overall and apply
Hello Tablet Z community,
This is my first post in this devices forums since getting mine last week. It's a great device, love it, etc.
I've never owned an Android device with a screen resolution this high so I've yet to encounter this problem - some of my games (specifically the emulator PPSSPP) have relatively low framerates (compared to my less powerful Samsung P6810 @ 800x1280). I know with computers in particular it's trivially easy to change resolutions in games/the OS, especially to increase FPS but I've never seen a method to do this on Android and Google searches turn up people mentioning device resolution without changing them.
Does anyone know if it's possible to, ideally, force a different resolution for a particular application? A less than ideal solution would be a system wide change but I would be willing to endure temporarily to increase FPS.
Any advice and suggestions would be greatly appreciated
I would be interested to know about this, iv just loaded ppsspp however havent been able to play any of the playable games listed, I did see a few videos of the xperia z playing well, however that has the same resolution and specs.
juzza87 said:
Does anyone know if it's possible to, ideally, force a different resolution for a particular application? A less than ideal solution would be a system wide change
Any advice and suggestions would be greatly appreciated
Click to expand...
Click to collapse
That was recently discussed in this thread: LCD Density Changes and Results (With Pics)
Cat McGowan said:
That was recently discussed in this thread: LCD Density Changes and Results (With Pics)
Click to expand...
Click to collapse
This is very different, setting the DPI to a non-stock value just resizes the userspace, the resolution is fixed and unchangeable as the OP is thinking. Compared to a Windows PC where you can change the resolution, in Android you only have the ability to change the dpi, which states how large the pixel-to-screen size is. A smaller number indicates a smaller pixel-to-screen size, meaning the information shown on screen is sized for a laeger screen (making it smaller, since the screen is a fixed size). And a larger number has the reverse effect. Android UI guidelines set the optimal dpi for resolution vs. screen size, to mainain a similar experience across devices (similarly sized icons and fonts, etc). Again, this has nothing to do with adjusting the physical resolution of the device, which (to my knowledge) is not possible in Android.
daveid said:
This is very different, setting the DPI to a non-stock value just resizes the userspace, the resolution is fixed and unchangeable as the OP is thinking. Compared to a Windows PC where you can change the resolution, in Android you only have the ability to change the dpi, which states how large the pixel-to-screen size is. A smaller number indicates a smaller pixel-to-screen size, meaning the information shown on screen is sized for a laeger screen (making it smaller, since the screen is a fixed size). And a larger number has the reverse effect. Android UI guidelines set the optimal dpi for resolution vs. screen size, to mainain a similar experience across devices (similarly sized icons and fonts, etc). Again, this has nothing to do with adjusting the physical resolution of the device, which (to my knowledge) is not possible in Android.
Click to expand...
Click to collapse
Heh. Thanks for the schooling, but it was unnecessary, I didn't just fall off a turnip truck.
Thanks for the replies guys, at least now I know for sure..
Hello, I'm a beginner for android development, and I am currently making a game for Android, but I've been stuck on this problem for a few hours.
Since android's resources (drawable, mipmap) are based on DPI, if I want to fill a screen with a specific resolution, how would I go about adjusting the size for multiple displays?
For example, I have a 1920x1080 screen, so I make a background that is 1920x1080. If I try the app a 1280x720 screen, the image will be clipped and some of it will not be visible on the screen. If I try the app on a 2560x1440 screen, the image will not cover the entire screen.
How would I make my app work with phones with different displays? Or have I misunderstood the mdpi,hdpi,xhdpi,..etc. and they in fact actually deal with resolution?
I am using SurfaceView and BitmapFactory to load the resources and load it onto the screen, if that helps anything.
Many thanks.
(If I am posting on the wrong subforum, please direct me to the proper one, Android Software Development seemed to be full of guide and not help, so I decided to post here)
@duraaraa any info or direction that you can provide on this?
I upped the resolution from stock 1080x2160 to 2160x4320 and left dpi at stock so I can have more screen real estate and still have a comfortable viewing experience. The issue I'm facing now is, I cannot capture a screenshot I get an error.
System UI
Couldn't Capture Screenshot
Screenshots are not allowed by this app or your organization.
steps to reproduce:
up your resolution to 2160x4320 and take a screenshot
Any guidance would be appreciated.
webleeper said:
@duraaraa any info or direction that you can provide on this?
I upped the resolution from stock 1080x2160 to 2160x4320 and left dpi at stock so I can have more screen real estate and still have a comfortable viewing experience. The issue I'm facing now is, I cannot capture a screenshot I get an error.
System UI
Couldn't Capture Screenshot
Screenshots are not allowed by this app or your organization.
steps to reproduce:
up your resolution to 2160x4320 and take a screenshot
Any guidance would be appreciated.
Click to expand...
Click to collapse
Sorry, don't know. Probably issue related to rooting and the settings you changed.
Thanks for the quick reply but I'm not rooted.
webleeper said:
@duraaraa any info or direction that you can provide on this?
I upped the resolution from stock 1080x2160 to 2160x4320 and left dpi at stock so I can have more screen real estate and still have a comfortable viewing experience. The issue I'm facing now is, I cannot capture a screenshot I get an error.
System UI
Couldn't Capture Screenshot
Screenshots are not allowed by this app or your organization.
steps to reproduce:
up your resolution to 2160x4320 and take a screenshot
Any guidance would be appreciated.
Click to expand...
Click to collapse
Mate 10 pro panel is only 1080p to begin with,
In what way did you upped the resolution ?? The setting wont give you that resolution option.
otonieru said:
Mate 10 pro panel is only 1080p to begin with,
In what way did you upped the resolution ?? The setting wont give you that resolution option.
Click to expand...
Click to collapse
no need for root or settings to change DPI or Resolution
adb shell wm size 2160x4320
adb shell wm overscan reset
webleeper said:
no need for root or settings to change DPI or Resolution
adb shell wm size 2160x4320
adb shell wm overscan reset
Click to expand...
Click to collapse
uh... well... you already understand that this method is "only faking" the number for the app to think that it run on that size of screen right ? Hardware & stock OS wise, the limitation is still on 1080p
I dont think the system UI app of EMUI 8 itself was made to handle that number
Normal 4K itself is only 3840 x 2160, and i dont think i ever found any phone running 4K+ (18:9)
This is just like asking why sometimes the play store act weird when we change our DPI
So answer is that : because it simply didn't support it
I've done #wm size 720x1280 & wm density 320 to 720p screen for long battery life. and I found the system's screenshot can not take whole screen(720p one).
It looks like the screenshot component take a 480p screen and the same 720p adjusting on AEX 5.x is fine.
so I thought maybe the screenshot on pie still mistake 720p screen for 1080p screen and take a 480p picture(expect: 1080p x 720/1080 = 720p, but now: 1080p x 720/1080 x 720x1080 = 480p)
But I notice that keep wm size 1080x1920, whatever which density(320 480 240)I've set, the screenshot could take a complete screen picture. while I change density, whatever resolution (720x1280, 480x800, 1080x1920), screenshot just take the top left part of screen...
partial screenshot is same condition , take a top left part of what I selected .
the screenshot on different resolution is the last issue I can found on AEX 6.0, which not contain on AEX5.x(maybe this is pie issue but still expect you can fix it) if I don't need change the resolution, the ROM is PERFECT?
can you fix this ?? thxxxxx a lot
XDrz said:
I've done #wm size 720x1280 & wm density 320 to 720p screen for long battery life. and I found the system's screenshot can not take whole screen(720p one).
It looks like the screenshot component take a 480p screen and the same 720p adjusting on AEX 5.x is fine.
so I thought maybe the screenshot on pie still mistake 720p screen for 1080p screen and take a 480p picture(expect: 1080p x 720/1080 = 720p, but now: 1080p x 720/1080 x 720x1080 = 480p)
But I notice that keep wm size 1080x1920, whatever which density(320 480 240)I've set, the screenshot could take a complete screen picture. while I change density, whatever resolution (720x1280, 480x800, 1080x1920), screenshot just take the top left part of screen...
partial screenshot is same condition , take a top left part of what I selected .
the screenshot on different resolution is the last issue I can found on AEX 6.0, which not contain on AEX5.x(maybe this is pie issue but still expect you can fix it) if I don't need change the resolution, the ROM is PERFECT
can you fix this ?? thxxxxx a lot
Click to expand...
Click to collapse
Who is gonna fix what? Just use the phone the way its supposed to be used i dont understand what you are doing and why. If anyone, huawei can fix your issue i guess.... good luck talking to them.
You should read this, particularly the long answer near the top which explains the size vs density changes.
https://stackoverflow.com/questions...to-use-adb-shell-wm-to-simulate-other-devices
I think this is actually a bug in android pie. My phone has a 4k display, but normally uses HD res unless in gallery app. So I changed wm size and density to match the display (and despite what some other say, this actually changes the visible resolution, IF your display has this many physical pixels).
Screenshots worked worked fine in oreo, but after updating to pie, there are black borders on the picture.
Display
Spodi2290 said:
I think this is actually a bug in android pie. My phone has a 4k display, but normally uses HD res unless in gallery app. So I changed wm size and density to match the display (and despite what some other say, this actually changes the visible resolution, IF your display has this many physical pixels).
Screenshots worked worked fine in oreo, but after updating to pie, there are black borders on the picture.
Click to expand...
Click to collapse
No Huawei phone has a 4k display, this whole thread is a waste of space really, guy setting his phone display to something that is not supported and wondering why his screenshot won't work, damn mate 10 pro is 2160x1080 and can't be any more than that, if the problem was the screenshots not working in a supported mode there might be a reasonable and were but as it stands this thread should be closed and deleted
revjamescarver said:
No Huawei phone has a 4k display, this whole thread is a waste of space really, guy setting his phone display to something that is not supported and wondering why his screenshot won't work, damn mate 10 pro is 2160x1080 and can't be any more than that, if the problem was the screenshots not working in a supported mode there might be a reasonable and were but as it stands this thread should be closed and deleted
Click to expand...
Click to collapse
The whole point of my post was more like: its not a Huawei only "bug", but effects all (or at least most) pi phones with a custom wm size set. Maybe I was beating around the bush too much... :angel:
Spodi2290 said:
The whole point of my post was more like: its not a Huawei only "bug", but effects all (or at least most) pi phones with a custom wm size set. Maybe I was beating around the bush too much... :angel:
Click to expand...
Click to collapse
Hi, have you found any solution for the screenshots when you change the screen resolution? You're right it happens only in pie and with different phones, in oreo the multitasking previews resize when you enter to the app but the screenshots are ok, in oreo the previews in multitask are ok but the screenshot miss a part of the screen.