[android-developers] Re: list add item error

2009-06-24 Thread Tsai stanly
with the location parameter, when into the app,will show the application demo(process demo.app) has stopped on unexpectedly, please try again without location, it works!! 2009/6/24 Mark Murphy mmur...@commonsware.com tstanly wrote: hi all, it's so strange!! i have a list decleared:

[android-developers] Re: list add item error

2009-06-24 Thread Tsai stanly
thanks for your help! from my DDMS on my Eclipse, it just show: [2009-06-24 20:06:02 - DeviceMonitor]Error reading jdwp list: EOF and how to use the adb logcat? thanks! 2009/6/24 Mark Murphy mmur...@commonsware.com Tsai stanly wrote: with the location parameter, when into the app

[android-developers] Re: how to close activity?

2009-06-23 Thread Tsai stanly
no...if you don't use the finish(), and variables would not kill automatically, variables include some static variable 2009/6/23 Fei Zhang getid...@gmail.com I don't think you need close 2, the system will do it! Is it right? 2009/6/23 tstanly tsai.sta...@gmail.com hi all, i have a

[android-developers] Re: Problem with setExtra

2009-06-22 Thread Tsai stanly
http://developer.android.com/reference/android/content/Intent.html#putExtra(java.lang.String,%20int ) 2009/6/22 Sujay Krishna Suresh sujay.coold...@gmail.com by doesnt work do u mean that u r unable to read the extra in ur target activity? if so plz post d code tat u r usin for this

[android-developers] Re: global variable and get website address question

2009-06-19 Thread Tsai stanly
thanks for your reply, for first question, how can i do the garbage collection? for second, i was implement,but haw can get the link address? my code of implement shouldOverrideUrlLoading is bellow, how can i get address? thanks! private class class_WebViewClient extends WebViewClient {

[android-developers] Re: global variable and get website address question

2009-06-19 Thread Tsai stanly
sorry,about first quest, I want the variable can deliver between different .java in the same project. 2009/6/19 Tsai stanly tsai.sta...@gmail.com thanks for your reply, for first question, how can i do the garbage collection? for second, i was implement,but haw can get the link address

[android-developers] Re: global variable and get website address question

2009-06-19 Thread Tsai stanly
solved. for two: use WebViewClient.getTitle() for one: eg: class A{ static int a=1; public void doSomethingElse(){ } } class B{ public void doAddA(){ A.a=A.a+1; } } 2009/6/19 Tsai stanly tsai.sta...@gmail.com sorry,about first quest, I want the variable

[android-developers] Re: how can alert dialog add/delete items arbitrary?

2009-06-18 Thread Tsai stanly
solved use android.app.AlertDialog.Builder there has setAdapter method 2009/6/18, tstanly tsai.sta...@gmail.com: hi all, I wish my alert dialog can add/remove items arbitrary, but I looked for the sdk reference but nothing method can use, is somone knows how to do? thanks

[android-developers] Re: android.os.SystemProperties???

2009-06-17 Thread Tsai stanly
thanks for your answer, so it can't be use? 2009/6/18, Dianne Hackborn hack...@android.com: It is private. On Wed, Jun 17, 2009 at 9:07 AM, tstanly tsai.sta...@gmail.com wrote: hi all, when i research the android browser source code, there are BrowserSetting.java in the src dir, and

[android-developers] when program has edittext and webview

2009-06-15 Thread Tsai stanly
hi, there have some problems when adding edittext and webview, the edittext is upon the webview, the problem is the mouse always focus on edittext, so i can't type the id or password in the webview?? so, how to solved??? thanks!!! stanly --~--~-~--~~~---~--~~