Re: [android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-11-13 Thread Jeff Sharkey
TextView.onSaveInstanceState() saves details about the TextView into a Bundle that is passed between the two Launcher instances when orientation is changed. By default, those values are keyed off View.getId(). This means if your id's collide with those of another widget, your views may overwrite

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-11-06 Thread NewPa
Hi Jeff, I add setting android:saveEnabled=false for all the views in the widget, then widget works well. Thanks for your kindly help. But I don't know why this setting can fix the problem, could you please explain to me? On Nov 3, 6:01 am, Jeff Sharkey jshar...@android.com wrote: For the

Re: [android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-11-02 Thread Jeff Sharkey
For the views that have ids, try setting android:saveEnabled=false so that they don't bundle up their state. j On Sat, Oct 31, 2009 at 8:00 PM, NewPa shiji...@gmail.com wrote: Hi String,     I use static var, i will test it. Hi Jeff,   Here is my layout file content. it seems will cause

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-31 Thread NewPa
Hi String, I use static var, i will test it. Hi Jeff, Here is my layout file content. it seems will cause confliction with others: Thanks for your kindly help. ?xml version=1.0 encoding=UTF-8? LinearLayout android:id=@+id/LinearLayout01 android:layout_width=72dp

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-30 Thread Jeff Sharkey
There can be issues if the android:id's in your layouts conflict with other widgets. This was fixed in Eclair by having Launcher create separate SparseArray jails for each widget to store their state into. It's change 09ddc08b... to be specific. Could you post your layout file, or describe how

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-29 Thread Eong
Yeap. My users reported this to me today. The OTA release has the same bug. They should push a fixed update right now. On 10月28日, 下午1时58分, drasticp drast...@gmail.com wrote: I'm seeing the same issue. I've even tried commenting out all of the onUpdate code and the widget still crashes aCore.

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-29 Thread String
On Oct 29, 6:51 am, Eong eong.c...@gmail.com wrote: Yeap. My users reported this to me today. The OTA release has the same bug. They should push a fixed update right now. FWIW, I'm not convinced it's a bug in Donut. I'm not seeing the same issue in my widgets, and I do plenty in onUpdate. If

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-27 Thread drasticp
I'm seeing the same issue. I've even tried commenting out all of the onUpdate code and the widget still crashes aCore. This problem only seems to occur with 1.6. Any ideas? Anyone else having the same issue? --~--~-~--~~~---~--~~ You received this message because