[android-developers] Java heap outofmemory during dex

2009-09-24 Thread whitech
hi all, I've meeting a problem here: When I use ant to package my program, in the dex step, it crash like below: dex: [echo] Converting compiled files and external libraries into release/classes.dex... [apply] UNEXPECTED TOP-LEVEL ERROR: [apply] java.lang.OutOfMemoryError: Java heap

[android-developers] Hold http request from webview

2009-08-12 Thread whitech
Hi~~Now I'm facing this problem: I want to hold part of http requests which send by webview, and send after modified. How should I do? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Does WebView support local proxy?

2009-08-11 Thread whitech
Here's my problem. When connecting the internet, sometimes I want to do it via a local proxy, maybe let the request url append 127.0.0.1 at the head. How can I implement it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Catching memory exception

2009-08-04 Thread whitech
thank you, 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 On 8月4日, 上午2时14分, fadden thefad...@gmail.com wrote: On Aug 2, 8:01

[android-developers] Re: Catching memory exception

2009-08-04 Thread whitech
Oh so sorry to hear that Thank you. There's another problem, is there some way to know how many memory my program is using ? On 8月4日, 下午6时39分, Mark Murphy mmur...@commonsware.com wrote: whitechwrote: There is another problem, can I push the limit of memory higher? It is a little too

[android-developers] Re: Catching memory exception

2009-08-04 Thread whitech
has a linux heart so you can type ps to see all process's status which also including mem info. Regards, Caval. 2009/8/5 whitech whit...@163.com Oh so sorry to hear that Thank you. There's another problem, is there some way to know how many memory my program is using ? On 8

[android-developers] Monitoring memory in program

2009-08-03 Thread whitech
Hi all. I've got a problem here. If my program needs a lot of memory, and may lead the out of memory error happen, is there an exception or something else will throw ? If there is, how to catch it? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Catching memory exception

2009-08-03 Thread whitech
Hi all. I've got this problem: When my program using too much memory, it die. Is there an exception or something else to warn me? How can I catch it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Catching memory exception

2009-08-03 Thread whitech
Uncaught handler: thread main exiting due to uncaught exception java.lang.OutOfMemoryError at xx On 8月4日, 上午2时14分, fadden thefad...@gmail.com wrote: On Aug 2, 8:01 pm,whitechwhit...@163.com wrote: Hi all. I've got this problem: When my program using too much memory, it