Samsung A610 slowdown | developer.brewmp.com Samsung A610 slowdown | developer.brewmp.com

Developer

Samsung A610 slowdown

Forums:

The problem is this. I have a game where the computer plays it's turn
for 30 seconds or more. After this amount of time the game slows to a crawl.

I am using the BREW 1.1 SDK and the GCC compiler.

Some facts:
1. hitting any key immediately makes it run at full speed (for another
10-30 seconds or so)
2. wait a while and it returns to speed on it's own (only to slow down
again soon)
3. plug the USB cable in to the phone and it never does this
4. there are no EVT_APP_NO_SLEEP or EVT_BUSY or any other events issued
5. sending an EVT_USER does not help the situation
6. the setting of the LCD backlight makes no difference
7. the setting of the key pad light makes no difference
8. does not happen on the 2.1 emulator
9. does not happen on other manufacturers handsets
10. changing the callback timer does not seem to make a difference

If there is a workaround I would sure like to know.

I have sent an email to BREW Support asking for help along with a simple hello world test case that seems to fail on the A610 and maybe other Samsung devices. It was reported on the A530 too. We do not have our A650 or A670 back from Qualcomm so I cannot test those devices.

There is nothing you can do about that. It's an inherent limitation of the platform and it will happen on other platforms as well. Some more so than others.
Not to sound mean or anything, but do you really think it is fun for someone to play a game where the computer opponent takes 30 seconds for his turn? I mean 30 seconds is all the time some people have to play an entire game on their cell phones at a time.

There is nothing you can do about that. It's an inherent limitation of the platform and it will happen on other platforms as well. Some more so than others.
Not to sound mean or anything, but do you really think it is fun for someone to play a game where the computer opponent takes 30 seconds for his turn? I mean 30 seconds is all the time some people have to play an entire game on their cell phones at a time.

I found a solution suggest by Joe Rojas. Send yourself a EVT_KEY via SendEvent or PostEvent every 10 seconds and the problem goes away!
Sending EVT_USER or EVT_APP_NO_SLEEP will not work!

I found a solution suggest by Joe Rojas. Send yourself a EVT_KEY via SendEvent or PostEvent every 10 seconds and the problem goes away!
Sending EVT_USER or EVT_APP_NO_SLEEP will not work!

Hey, nice hack!
I will add that right now. Thanks!
FL

Hey, nice hack!
I will add that right now. Thanks!
FL