Hello,
I am developing some applications with MoSync-2.4.0-r2425 build for my
Android device Motorola Milestone (Android 2.1) and facing following
issues:
1. I have created simple application with list having 20 Label items.
It was installed properly on Android 2.1 BUT when I tried to scroll it,
it was not able to scroll till the last item....only scroll upto 10 items.
What is the problem? I have no idea...
2. I have created another application where I am using 5-6 Font resources(approx
70kb), with 5-6 .png image resources(approx 30kb).
This application works fine with all simulators provided with MoSync, also I have
installed it on Samsung GT-S5233S, Samsung Wave GT-S8500, and Samsung Corby and
it is working fine on all devices.
BUT when I was trying to install it on Android 2.1 Motorola Milestone it gets
installed but when I starts the application it was giving me the "Malloc Failed:
try to increase the heap memory.." error.
Previously I was using,
Heap = 1024 kb
Stack = 512 kb
Data = 2048 kb
So I have increase it to, the largest that Motorola Milestone Android 2.1
supports,
Heap = 9000 kb
Stack = 2000 kb
Data = 16384 kb
Then, the Malloc issue is solved, BUT it is giving me the
"Font::setResource(MAHandle ...), out of memory, not able to load Font image.."
error with "Force Close" button...and application get closed...
I have also read the http://www.mosync.com/content/android-crash-maui-font-constructor article and tried to change the font file extensions to .bin BUT the
problem remains the same....
So Please please can anybody tell me is it some issue with MoSync-2.4.0-r2425
to that is not able to handle it on Android phones because same application
works very fine on low end devices like corby....or what what is going
wrong....???
Please reply anybody...