[android-beginners] Re: Java heap outofmemory during dex

2009-09-25 Thread whitech
Hi all, I've solve this problem. Since there's someone have ask this question before here. To solve it, just modify dx.bat set the java heap upper, that's ok. On 9月25日, 上午11时31分, whitech whit...@163.com wrote: Hi all, I've met this problem: When using ant to package my program, at the dex step

[android-beginners] Java heap outofmemory during dex

2009-09-24 Thread whitech
Hi all, I've met this problem: When using ant to package my program, at the dex step, it crash as below: dex: [echo] Converting compiled files and external libraries into release/classes.dex... [apply] UNEXPECTED TOP-LEVEL ERROR: [apply] java.lang.OutOfMemoryError: Java heap space

[android-beginners] A problem about application die unexpected.

2009-09-23 Thread whitech
I've met this problem serveral times. When my application is running, some times it die unexpected. The logcat print the message below: (the application name is remove) 09-23 16:00:42.407: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 09-23 16:00:42.407:

[android-beginners] A problem of using webview

2009-09-09 Thread whitech
Hi~~~ Here's the problem: When I click a super-link in a page,(not using chrome, just webview), can I get the information of the target attribute? For example: a href=xxx.xxx target=_blankx/a , how can I know the link need to open a new window or some way else?

[android-beginners] a problem about listview

2009-09-08 Thread whitech
Hi all~ I've met this problem: while scrolling, the background of a listview change to black but not the background color which I'd define. How can I let the background color not change when scrolling? --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Hold http request from webview

2009-08-14 Thread whitech
Hi~~ I want to hold all the http request send by webview. But after I overriden the function shouldOverrideUrlLoading and onLoadResource( which of WebViewClient ) , it just work at the first time. And the function onLoadResource is just notify me, but do nothing! That means the webview will sent

[android-beginners] Open files with default software

2009-08-14 Thread whitech
Hi I've got this problem: I want to open a file with default binded software ( like .doc file with Office Word or .mp3 file with Media Player ) in my program, how can I do that ? Thank you. --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Block when animation is running

2009-08-13 Thread whitech
Hi~~ I've met this problem: I want to do something ( like intent another activity ) after an animation is over. The code is given below: TranslateAnimation s = new TranslateAnimation((prev-currentPos) *movearea/100, 0, 0, 0); AlphaAnimation a =

[android-beginners] Re: Block when animation is running

2009-08-13 Thread whitech
Thank you very much~ But there's something hard to do: when my animation runs serveral times, but the function() is different in every cases, and it's hard to mark the state. I think if I can block the other thread but the thread where the animation is running is the best way. Can I do it? On

[android-beginners] Re: Distortion of images

2009-08-13 Thread whitech
, it seems that the color palette is reduced..? On 12 Aug., 13:09, whitech whit...@163.com wrote: Hi~ When I use png image ( with gradient color ) in programs, the color of image is distortion -- the gradient color is change to a lower level. Why would it happended? And how can I solve

[android-beginners] 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 Beginners group. To post

[android-beginners] Distortion of images

2009-08-12 Thread whitech
Hi~ When I use png image ( with gradient color ) in programs, the color of image is distortion -- the gradient color is change to a lower level. Why would it happended? And how can I solve this problem? --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: Let a view bigger than screen

2009-08-11 Thread whitech
=fill_parent         TextView android:layout_height=500px android:layout_width=500px         /TextView /ScrollView Hope that works for you Am 10.08.2009 um 12:15 schrieb whitech: Hi~ I've met a problem now. I've got a view that must be bigger than 480*320, like 500*500, and using finger

[android-beginners] Cache the event of soft-keyboard pop up

2009-08-11 Thread whitech
Hi there, I've met a problem here. I've got a control bar align-bottom at the screen, when I click a editText, the soft-keyboard popup and push the control bar up. But I don't want it like that. How can I catch the event of soft-keyboard popup? Or let the control bar invisible when the keyboard

[android-beginners] Re: Cache the event of soft-keyboard pop up

2009-08-11 Thread whitech
And there is another problem. If I want to input something into a non- edittext view, how should I call up the soft-keyboard(virtual keyboard) and get the message input from the keyboard? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Let a view bigger than screen

2009-08-10 Thread whitech
Hi~ I've met a problem now. I've got a view that must be bigger than 480*320, like 500*500, and using finger to move it so i can see all of the view. How should i set the LayoutParams of this view ? Thank you! --~--~-~--~~~---~--~~ You received this message

[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] Hello every body, I'm new here.

2009-08-03 Thread whitech
Hi all! I'm new here. Now I've met a problem: when my program using too much memory, it die. Is there an exception or something else? And how to get it? Thank you very much! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[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