[android-developers] Re: Stack overflow error

2011-10-28 Thread Studio LFP
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

[android-developers] Re: Stack overflow

2011-05-22 Thread DanH
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

[android-developers] Re: Stack overflow

2011-05-20 Thread DanH
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.  

Re: [android-developers] Re: Stack overflow

2011-05-20 Thread Nasif Noorudeen
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

[android-developers] Re: Stack overflow error in TextView with text = ジョルテ

2011-03-28 Thread Hari Edo
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

[android-developers] Re: stack overflow exception on certain sequence of UNICODE characters, I DONT HAVE TOO MANY LAYERS!

2009-09-14 Thread kevikev2020
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

[android-developers] Re: stack overflow exception on certain sequence of UNICODE characters, I DONT HAVE TOO MANY LAYERS!

2009-09-03 Thread kevikev2020
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

[android-developers] Re: stack overflow exception on certain sequence of UNICODE characters, I DONT HAVE TOO MANY LAYERS!

2009-09-03 Thread Romain Guy
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,

[android-developers] Re: stack overflow exception on certain sequence of UNICODE characters, I DONT HAVE TOO MANY LAYERS!

2009-09-02 Thread Romain Guy
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

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread Mark Murphy
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

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread thesquib
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,