Phone Scoop

printed October 25, 2014
See this page online at:
http://www.phonescoop.com/phones/p_forum.php?fm=m&ff=293&fi=100659

Home  ›  Phones  ›  Sanyo  ›

Sanyo SCP-8100

 

Info Photos Reviews  94 News Forum  

Back to message list

Sanyo 8100 Key events skipping problem

by anandchaudhari    Sep 14, 2004, 6:07 PM

I have some problems with Sanyo 8100 phone (Sprint Carrier). The problem is,

I have a situation in which networking activity is going on with some UI key press events are also to be handled simultainously. Now the thing is, in 8100, I can see that some key press (and some key release) events are being skipped.

I tried a simple key press and release tracking by printing the key press and release count on the device. And it clearly showed that the key press and some key release events are being skipped.

Now...The same build works perfectly on Samsung A620 (Sprint) phone. It gives a delay or the keypress and release events but it doesn't skip them.

The normal key handling logic of the game looks ok. The game has online and offline mode and in offline mode everything is just fine. But in online game, it has these problems.

I also tried one more sample program having a thread with blocking of 4 sec (while loop) and 4 sec sleep. In this scenario, it doesn't skip any key events. So do you have any idea what can be done with a networking code to get rid of this problem?

Can the networking code be blocking so that it can block the key events? And if yes..is there anything that I can do in the key handling code?

The situation is the network operation will go on along with processing user input. I have the networking stuff inside a jar file and in the class which actually does this operation has a Thread which does some "keep alive" stuff every 10 sec. It also sends and receives data to and from server continuously for keeping track of the online users.

And while doing this activity the game goes on. So it means in the game, we have 2 threads, one for the user play, and another for networking. I can see from the networking signals on the top of the device (some arrows for incoming and outgoing data) that the networking activity is going on all the time in online mode.

And still I need to process the key inputs.

Is it possible in this phone? For this game, a key input delay is affordable but the key event skipping is not good.

Also, it seems this is Sanyo specific as the same build works on Samsung A620 (Sprint).



Please let me know.

Thank You!!

Anand.

Report to moderator

Replies

No replies to this message


Reply You must log in to reply.

Back to message list

Subscribe to Phone Scoop News with RSS Follow @phonescoop on Twitter Phone Scoop on Facebook Phone Scoop on Google+ Subscribe to Phone Scoop on YouTube Follow on Instagram

 

All content Copyright 2001-2014 Phone Factor, LLC. All Rights Reserved.
Content on this site may not be copied or republished without formal permission.
1