MyTouch Lag Problems

by Mike » Tue, 25 Aug 2009 13:04:21 GMT


Sponsored Links
 Hi, I am the creator of WordUp!  This game has done well, and I have
had next to no complaints related to performance on the G1.  Around
July of this year, which, coincidentally, is when the MyTouch hit the
market, I noticed people leaving feedback mentioning that my game was
"laggy".  One of my users was kind enough to email me and confirm that
he is using the MyTouch and that my game is very laggy (will sometimes
display the Force Close dialog with the Wait option) while he is
playing it.

Since I don't have the benefit of being able to go out and buy every
hardware device that runs Android, I must rely on the feedback of my
users and hopefully others on here that may provide some insight.

I did some research, and what I am finding is that there are a lot of
people on the Tmobile forums complaining about the MyTouch as it
relates to performance.  See this thread as an example:
 http://forums.tmonews.com/index.php?topic=10263.0 

I'm a little surprised that I haven't been able to find much on this
subject here in the android google groups.  Can anyone at Google speak
to this problem?

Regards,

- Mike
--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Chris Stratton » Wed, 26 Aug 2009 02:35:57 GMT


 



Seems what is really needed over on those forums is perhaps a tool for
collecting and submitting ddms logs?

I'm downloading your game to try and will try to get you a log extract
via email if I run into any problems and see anything relevant in the
log.

One oddity on the mytouch I haven't head mentioned but assume is
widely know: the capacitive screen doesn't work too well unless you
are holding the phone - if it's sitting on something and you poke it,
it often doesn't register a touch.  I could see that sometimes being
mistaken for lag.  I wonder if this will cause problems with some
protective sleeves if they are too "dielectric"
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


MyTouch Lag Problems

by Casper Bang » Wed, 26 Aug 2009 02:43:00 GMT


 Never heard of that issue anywhere, but the screen is obviously less
sensitive at the edge of the screen - though particular noticeable
when using the spacebar on the soft-touch keyboard.

/Casper





--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Chris Stratton » Wed, 26 Aug 2009 03:01:12 GMT


 


That's kind of how I first discovered the issue - but what I found was
if I hold the phone in my other hand, then the edge keys work just
fine.  While if I'm not holding it, even in the middle can be somewhat
inconsistent.  This is with the supplied screen protector applied, but
no slip cover protector on the body.

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Dianne Hackborn » Wed, 26 Aug 2009 03:34:59 GMT


 As far as I know, the myTouch/Sapphire screen is the same as the Dream/G1
screen, and they both are inaccurate along the edge.  You can run the
Pointer Location applet in DevTools to see what they do -- you'll notice
when you get close to the edge the pointer snaps to the edge.  What is
happening is that you have reached the area of the screen where it can't
detect your position along that axis, so the driver reports a position at
the very edge.

Pointer Location can be very educational in seeing how the touch screen
actually behaves. :)

Also, except for the amout of flash, I am pretty sure the myTouch and G1 are
identical hardware as far as the CPU, memory and memory bus, etc. goes.  And
since they are both Google Experience devices running 1.5, the system
software should be basically the same -- the only differences are probably a
few configuration options such as turning on sensor rotation by default, and
probably some different pre-installed apps and media.

Anyway, getting an adb bugreport from a misbehaving device can often be very
educational.









-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Sekhar » Wed, 26 Aug 2009 07:49:31 GMT


 I have myTouch, and I just downloaded your game to check out what
you're saying, and yes - it does miss letters if I move my finger
quickly. Edges are also a problem, but not that much.




--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Mike » Thu, 27 Aug 2009 01:11:59 GMT


 Thanks for taking the time to download the game and try it out on your
hardware.  I appreciate that!

I'm concerned about the game missing letters once in a while, but I'm
much more concerned with the issue of the Force Close with wait option
dialog being displayed every once in a while when they are playing.
And, just to be clear, this the version of the force close that is
shown when an app hasn't been responsive, not the one where an app
throws an unchecked exception.

Dianne - your post seems to line up with my knowledge of the MyTouch
hardware too.  If anything, I would think the MyTouch would be
slightly more responsive than the G1.  This just doesn't seem to match
what I'm hearing from my users.  :(

For those of you who have been nice enough to try the game on your
MyTouch - can you tell me how often you see the force close with wait
option dialog?  If you have seen this - do you notice the same thing
happening with other apps your using?  How many apps do you have
running in the background when it occurs?

Regards,

- Mike




--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Dianne Hackborn » Thu, 27 Aug 2009 01:46:09 GMT


 etting the output of "adb bugreport" is very valuable for diagnosing an ANR
-- it will have all stacks of all apps running (including the main thread of
the foreground app that had the ANR), in the log there will be cpu
information at the time of the ANR, etc. Of course the output of this
command is something like 1MB; if you want something smaller, these are
probably the key things to get:

adb logcat
adb cat /data/anr/traces.txt
adb procrank
adb shell dumpsys activity

On Wed, Aug 26, 2009 at 8:59 AM, Mike <michaeldouglaskra...@gmail.com>wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Hong » Thu, 27 Aug 2009 04:14:24 GMT


 I suspect the whole bundle of t-mob apps running in the background that
slows down the G2, e.g. MyFav, Sherpa, etc.

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by bkbonner » Thu, 27 Aug 2009 10:08:40 GMT


 here doI find Pointer Location applet?

On Aug 25, 3:34pm, Dianne Hackborn <hack...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by cnordvik » Thu, 27 Aug 2009 21:08:13 GMT


 I noticed my phone was lagging all the time and googled for "Android
slow" and this tip made my phone twice as fast:
 http://code.google.com/p/android/issues/detail?id=3453 

I turned off the location functionality and haven't seen any lag
since :-)

-Christer

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Dianne Hackborn » Fri, 28 Aug 2009 02:06:37 GMT


 Hi, this bug should be fixed in the next release.  Also Mike says that it
may be sufficient to just toggle location services on and off -- turning it
off should clear out the message queue, so when you turn it on it won't
start getting full again for awhile (if you run into the bug again at all).






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Hong » Fri, 28 Aug 2009 02:38:52 GMT


 Thanks for the heads up!  Sorry to jump the gun but will G1 users get the
next release?
Your next release refers to security/patch release or OS update release?

Thanks





--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Dianne Hackborn » Fri, 28 Aug 2009 03:04:22 GMT


 Next feature release.  I don't know what announcements have been made about
it, so I'm not in a position to say anything.







-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



MyTouch Lag Problems

by Mike » Fri, 28 Aug 2009 04:19:52 GMT


 Thanks everyone for your input.  I'm asking some of my users to do
what Dianne suggested with toggling the location services off and on
to see if that is enough to alleviate this problem.  I'll let you know
what I find out.

Regards,

- Mike




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. are the clinet(testset), pv engine , pv framework, pv node, pv logger in the same thread

from the following pv logger information, it seems that all are in the
same thread, but if they are in the same thread, the program procedure
seems not reasonable.

PVLOG:TID(0xbe82fbac):Time=81:testset enter Run

PVLOG:TID(0xbe82fbac):Time=81:testset no cmd pending

PVLOG:TID(0xbe82fbac):Time=81:testset PVAE_CMD_ADD_DATA_SOURCE

PVLOG:TID(0xbe82fbac):Time=135:PVAuthorEngine::AddDataSource:
&aDataSource=0x7f6cc, aContextData=0x56e88

PVLOG:TID(0xbe82fbac):Time=135:testset exit Run

PVLOG:TID(0xbe82fbac):Time=136:PVAuthorEngine::Run: Enter

PVLOG:TID(0xbe82fbac):Time=136:PVAuthorEngine::DoAddDataSource

PVLOG:TID(0xbe82fbac):Time=136:PvmfMediaInputNode::ThreadLogon

PVLOG:TID(0xbe82fbac):Time=136:PvmfMediaInputNode:SetState 1

PVLOG:TID(0xbe82fbac):Time=136:PVAuthorEngineNodeUtility::Init:
aNode=0x7fbe8, aContext=0x0

PVLOG:TID
(0xbe82fbac):Time=136:PVAuthorEngineNodeUtility::AddCmdToQueue

PVLOG:TID(0xbe82fbac):Time=136:PVAuthorEngine::Run: Exit

PVLOG:TID(0xbe82fbac):Time=136:PVAuthorEngineNodeUtility::Run: Enter

PVLOG:TID(0xbe82fbac):Time=137:PVAuthorEngineNodeUtility::Run:
cmd.iType=5

PVLOG:TID(0xbe82fbac):Time=137:PVAuthorEngineNodeUtility::DoInit

PVLOG:TID(0xbe82fbac):Time=137:PvmfMediaInputNode::Init() called

PVLOG:TID(0xbe82fbac):Time=137:PVAuthorEngineNodeUtility::Run: Exit

PVLOG:TID(0xbe82fbac):Time=137:PvmfMediaInputNode:SendMIORequest:
Command Issued to MIO component, waiting on response...

PVLOG:TID(0xbe82fbac):Time=137:PvmfMediaInputNode::RequestCompleted:
Cmd ID=0

PVLOG:TID(0xbe82fbac):Time=137:PvmfMediaInputNode:CommandComplete Id 1
Cmd 4 Status 1 Context 0 EVData 0 EVCode 1024

PVLOG:TID(0xbe82fbac):Time=137:PvmfMediaInputNode:SetState 2

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngine::HandleNodeInformationalEvent

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngine::HandleNodeInformationalEvent
sends unknown eventType:24

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngineNodeUtility::NodeCommandCompleted

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngineNodeUtility::CompleteStateTransition:
aState=2

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngineNodeUtility::CompleteUtilityCmd:
aCmd.iType=5,  aStatus=0x1

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngine::NodeUtilCommandCompleted

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngine::NodeUtilCommandCompleted cmdType:
6

PVLOG:TID(0xbe82fbac):Time=138:PVAuthorEngine::Comple{*filter*}gineCommand:
aStatus=0x1, aResponseData=0x0, aResponseDataSize=0

PVLOG:TID
(0xbe82fbac):Time=138:pv_mediainput_async_test_opencomposestop::CommandCompleted
iState:8

PVLOG:TID
(0xbe82fbac):Time=138:PVAuthorEngine::NodeUtilCommandCompleted: Exit

--~--~---------~--~----~------------~-------~--~----~

2. starting the htc dream

Hi,

I received my HTC dream, installed a sim and the battery, and it prompts me 
to setup my google account. I don't want to setup my google account, I don't 
even have a data plan (and don't plan to get one any time soon as they are 
too expensive in Canada). But, I still want to use the phone and local apps, 
write apps for the phone that I can use on it etc...

I've tried all the buttons, all the menus I could get too etc..., but it 
always returns to the google acocunt setting ?

I can I skip the account setup menu ?



Thanks.

-- 
Yves.
http://www.sollers.ca/


--~--~---------~--~----~------------~-------~--~----~

3. A2DP bluetooth e riproduzione a scatti (music cut)

4. How to get intent results?

5. Debugging sample app Snake

6. AsyncTask: onPostExecute always after onProgressUpdate?

7. Making .apk files?