My android app is working fine on all android devices except in samsung devices having ICS. It's a webview app and the images are getting pixelated on samsung devices having ICS. Any idea on this?
I got the solution :)
I just included a line android:hardwareAccelerated="true", in my application tag in xml file. I had to change the project build target to Android 3.0 for this line. And thats it! pixelation issue gone :)
Related
I started testing out some stuff with Android and Android Studio. I have an AMD-CPU, so I can't use the normal AndroidStudio-AVMs.
I decided to use Genymotion. When I loaded my first test-app on the genymotion AVM, which is the Samsung Galaxy S7-6.0.0-API 23, I had a problem with the layout. Here's an image of the app on the AVM:
But it is supposed to look like the following picture:
I'm using Unity4.5.4 and NGUI 3.6, and want to support multi-languages.
When I try on devices using Android 4, it is totally fine. When I install the same build on Google Nexus 7 using Android 5.0, English version is fine, but almost all the Asian characters cannot be displayed(Chinese Korean Japanese). I tried different fonts(using Arial or load my own font from Resource folder), it didn't work either.
Does anybody encounter similar problem, or know how to deal with this problem? Thanks a lot!
It has to do with the image that you have flashed into your Android device.
Although the APIs for Android 5.0 are now final, the system image for
end-users is not available yet.
Assume everything is done correctly, once the end-user-system images are released your problem should be corrected.
Reference.
This is a bug in Unity. You may want to submit a bug report and wait for a patch release to fix it (though you used a preview image, it is also likely to happen on retail Android 5.0).
Edit: I tried on a Nexus Player, and the fonts were rendering just fine. Looks like Google forgot to add some fonts to the preview image. If you are experiencing this issue with a retail version of Android 5.0, please submit a bug for Unity.
I've received several reports from users that large parts of UI in my application just went invisible on their Galaxy Nexus with Android 4.1 and they are still clickable. I'm not able to reproduce it on any Android 4.1 emulator.
So the question is, what did Google mess up this time? Is it a known bug?
I ran into this myself. My problem was in using layerType="software" in some layouts. Getting rid of that fixed it.
I have a app which was working properly on device Android 2.3.3.
But is not working properly on Android 4.0.3 device.
Errors are
App crash at start.
Grid-view icon not clickable after clicked once. Works again on restart for once.
These are examples.
These are platform issues are just coding errors.
Thanks for help in advance.
I also faced the same problem. I found the solution here. Try not using the Deprecated methods/API(in your case GRIDVIEW) in your code because Android API does not support the deprecated methods/API in the latest versions.
I have a phone gap app.
When I test it out on 2.2 froyo, (on actual phone and in AVD) it refuses to scroll.
I've tested it out on 2.3.3 and it works perfectly. Are there issues with scrolling in the 2.2 version?
If so, is there a workaround to this?
Some PhoneGap examples include the following line in initialization code:
document.addEventListener("touchmove", preventBehavior, false);
This will disable scrolling on some devices. If your app includes it, try deleting (or commenting) it.