[android-beginners] Re: Hello every body, I'm new here.

2009-08-04 Thread whitech
Thank you very much, I can catch the error now. I've use catch (Exception) not catch(Error) before so I can't catch it. There is another problem, can I push the limit of memory higher? It is a little too small with only 16 MB. If can, what should I do? On 8月4日, 上午2时15分, Yusuf T. Mobile

[android-beginners] Re: Hello every body, I'm new here.

2009-08-04 Thread Balwinder Kaur (T-Mobile)
You can add -memory for the emulator. If you are using Eclipse, edit your run configuration to add the -memory command line option. go to your_Android_SDK_PATH/tools/emulator -help to see all the emulator options. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The

[android-beginners] Re: Hello every body, I'm new here.

2009-08-03 Thread whitech
Thank, I think that's an java.lang.OutOfMemoryError, but when I use try-catch statement at the new statement, I can't catch anything. Is there another way to catch the error? On 8月4日, 上午2时15分, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: Hello, to see the exception, look at logcat. You can do