I'm desesperate with my app. I'm developing an app for a dedicated barcode scanner Android based device. It's like an old phone (CPU Cortex-A8 OMAP 1Ghz, 512MB RAM), with Android 4.0. I can't root the system, nor update it, i've talked with the manufacturer.
The problem is that can't finish a simple (JSON) login. It tries to allocate more memory, but it can't.
Here is the same activity and the same process in the same network, but in an LG G2 (it tooks about 5s doing the login and the sync, as expected)
In the barcode scanner device, I removed or hibernated ALL of the apps I can, I've installed Zend Launcher (which has a very little memory footprint), but I'm out of ideas now. I've tried android:largeHeap on manifest, without success.
Somebody has an idea for me? Thanks in advance
PS: The app must run in that barcode scanner, working on LG G2 is only for test and comparative purposes.
EDIT: I don't care about other apps in background, because this device will basically use this app, and nothing else.
It was my fault. The peaks on the memory was lead by a graphical resource in the loading screen, not an OOM. And the log-in proccess took tooo much.