Put a log output in your onFocusChange and run it again. I think you may
find you are causing an infinite loop. Notice in your error log that they
are all on the same millisecond and you have multiple onFocusChange hits.
Without more code, I can't validate this for sure, but I've seen this
This morning (Sunday) there were 100 new questions per hour appearing
on Stack Overflow. The key to getting your question picked out of the
masses and answered is a well-phrased title, a well-phrased question
body with sufficient info to understand the issues, and a good choice
of tags (though
You post your questions. Use the right keywords, the right title,
explain yourself well, and you'll get some reasonable responses.
On May 20, 9:27 pm, Julius Spencer jul...@msa.co.nz wrote:
Hi,
After attending IO and talking to the engineers, I was told to put questions
on stack overflow.
stacke overflow is the rigth choice
On Sat, May 21, 2011 at 8:18 AM, DanH danhi...@ieee.org wrote:
You post your questions. Use the right keywords, the right title,
explain yourself well, and you'll get some reasonable responses.
On May 20, 9:27 pm, Julius Spencer jul...@msa.co.nz
I've used katakana and hiragana extensively in textviews, no problem.
This is a pretty suspicious error report-- is it JUST that string?
Is it only when the textview is in a listview? What's the full stack
trace? Are you sure your own function is not in the recursion, like
if you change the
HI ROMAIN, you were right. I had too many layers. When I reduced
down, no more stack overflow exceptions on certain character inputs
and NO MORE BREAKING MY APP YAY!
It would be nice if the layout editor in the android sdk could somehow
warn the developer if he is using too many
Thanks ROMAIN, but I need to clarify the problem: What I am trying to
say is there is a HACKER on my chat app who is able to send out a
certain sequence of characters (it's like 2 unicode characters, but
I'm not sure which ones), and it causes all these layers to explode
out and causes the stack
TextView cannot be hacked. The problem is that you have too many
layers of ViewGroups in your UI. By using specific characters you are
causing TextView to take another code path, usually not taken, that
happens to go right over the edge of the stack size.
Use fewer views, that's all.
On Thu,
Yes, you have too many layers. You should check in HiearchyViewer.
On Wed, Sep 2, 2009 at 2:18 PM, kevikev2020kkaw...@gmail.com wrote:
Hi, I DO NOT HAVE TOO MANY LAYERS, THIS STACK OVERFLOW EXCEPTION ONLY
OCCURS WHEN A CERTAIN UNICODE CHARACTER SEQUENCE COME TO THE
LISTVIEW. THIS BUG IS
thesquib wrote:
I just wanted to add that I am interested in finding a way around
this, or just to find out if it is a limitation which will not go
away.
I'd focus instead on getting rid of 20+ classes in the hierarchy.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training
Thanks for your reply Mark. I realise that the best solution is to
collapse the hierarchy, however I am still interested to know the
cause.
On Dec 30, 9:04 am, Mark Murphy mmur...@commonsware.com wrote:
thesquib wrote:
I just wanted to add that I am interested in finding a way around
this,
11 matches
Mail list logo