Letters are replaced by blocks on Android Activity - android

Hopefully someone has had this problem before and can share a solution.
I start an activity via startActivity(intent), the new activity launches fine, but as soon as I scroll the window, the text is replaced by blocks. Here is a screenshot showing the problem:
The activity that comes before this problematic activity is using opengl directly, maybe this has something to do with the problem?
Thanks in advance.
EDIT: The string resources are in spanish, and some are stores in strings.xml and other are inserted programatically.
EDIT2: This is happening on my Samsung Galaxy Nexus (4.2.2), I tested on a Galaxy S3 and Galaxy S3 mini as well and the application runs perfectly.

I fixed the issue by disabling hardware acceleration and unchecking "Force GPU Rendering" in Settings->Developer Options.

Related

Lost Android debugger but app keeps running normal

I'm developing for android (API 14) deploying for Nexus One on Genymotion simulator and to a Galaxy Note N8000 tablet, but my app it's having a strange behaviour: in one of the activities, when I press the back button, the app shows the right activity but my debugger disconnects.
Using the simulated Nexus One I have a log message related to OpenGL out of memory and I've found out that OpenGL support for simulators it's usually bad, but using physical note n8000 I have nothing in my logs that can help me. The app behaves like it should but I loose debugging.
Does anyone had a problem similar to that? How did you fix it?
I face the same issue sometimes, my guess is that the Exception actually forces application closing (disconnecting it from debugger), but somehow it gets automatically restarted restoring the previous 'state'.
In your case, maybe is just a simulator issue, but you should consider testing in a real Nexus One device, just to make sure.

Adreno200-EGLSUB: <ConfigWindowMatch:2087>: Format RGBA_8888 issue with Motorola Defy device

I have been facing strange issue in my one of Android application with Motorola Defy device. I have been testing the same application on HTC and Samsung devices and it is running perfectly without any issue, however when I test it with Motorola device, it starts getting crashes.
All log files shows Adreno200-EGLSUB: : Format RGBA_8888 error. Let me add one more thing that I am using SurfaceView and surfaceHolder class.
Could anyone know what possible reasons might be and it can be sorted out?
Thanks in advance.
I met the same problem, I tried to set
getWindow().setFormat(PixelFormat.RGBA_8888);
But still returned the same problem. I run on several thousands times, no further error was shown related to this one.
According to answers Device specific error - s3dReadConfigFile "Can't open file for reading."
It will not affect the use of your application
i have it too,
just unlock your phone, and make it ready to use.
than run your app from software (Eclipse - in my case).

Images not visible on Galaxy S3

I hava the following issue - my app is working well on all devices I have, but I have just tried it on Galaxy S3 and I am surprised to see, that all images are... gone. The only image, that is still visible, is the app icon image. On the S3 I have downloaded the app from th market.. and as mentioned - on the other devices it works as expected. The images are statically loaded in xml in image views... nothing fancy...
Any idea what could cause such behavior?
This is the app id in market, if needed (NOT intended to be app advertisement!):
Com.rts.android.tictactoe3d
Thank you!
This was a wired issue, it dissipated after I have updated my S3 to the latest firmware. Before that nothing really helped, I have tried to cleanup the application data, uninstall/reinstall, more the app to the SD or back to phone - same behavior.
It turned out, that GIF image format is not entirely supported in some Android versions, for more information you could take a look at the thread below and a big THANK YOU to Rich for solving the issue!
Images not loading on Galaxy S3

Custom app installed onto Galaxy Nexus doesn't look anything like it should

I am developing an app in Android that I hope to release. I've got most of my GUI done, but it does not look even close to correct on the device when installed and opened. I have a screenshot of how it looks, and a screengrab of how it should look (taken from the Emulator in Eclipse) at the links at the bottom of this post. It's best to take a look at the two images rather than me try to describe how screwed up the app becomes on my device.
I had a friend with the exact same device, including hardware and Android version, and his loads up just fine. Does anyone have any idea what's going on here? Both devices are Galaxy Nexuses, running Android 4.0.2, GSM on AT&T (unlocked).
Installed on my device: http://i.stack.imgur.com/x66Jo.png
In the emulator: http://i.stack.imgur.com/qE0J6.png
I've seen this occur in some Galaxy Nexus' and I put it down to a bug/glitch in the OS on that Galaxy Nexus. Try a Factory Reset of your Galaxy Nexus, if that fails, try reinstalling the current OS version you have (if you can get your hands on it), if that fails, get it fixed under warranty.
Does your app use multiple activities?
Can you compare on your two devices if this setting is the same?
Settings > Developer Options > Don't keep activities checkbox.
I realise this is an old question now but I was having the same problem as you and stumbled across a solution. I didn't particularly want to factory reset my phone as per straya's instructions, so I started playing around options in the Settings > Developer Options menu.
As it turns out, this problem occurs for some applications if you have the Force GPU rendering option checked. Disable this (I'm not sure why it was enabled anyway) and everything displays as it should.

Problems rendering on a galaxy tab GT-P1000

Hi have a problem running my software on the samsung galaxy tab.
Sometimes (but not always!) areas that are rendered transparent look garbled. I have attached an image showing a screen capture done on the device, which looks perfect for a strange reason, and a photo that shows the garbled half transpaent black box.
Has somebody an explanation for this effect or can somebody point me in a direction - I really don't know where I should start searching since the same software runs flawless on a galaxy s2 and on all IOS devices.
Perhaps somebody here has seen somthing similar and knows reasons that might lead to artifacts like these.
screenshot vs photo http://www.applab.at/img/garbage_samsung_tab7.png
The problem seems to be the device itself.
Sometimes if you turn the device on, you see a garbled screen befoer the samsung logo appears. Then this effect shows whenever running the software.
If the device boots without a garbled screen, everything is fine.

Categories

Resources