[android-developers] Re: Wired crash with ActivityUnitTestCase and dimens.xml

2010-05-18 Thread T-Droid
Ok, here is my observation. On device with Android 1.5 the program is crashing. With 1.6 the program works fine. I removed the attrs.xml and using the dimension elements directly. The crash was gone for 1.5 devices. On May 11, 10:13 am, T-Droid dev.r...@googlemail.com wrote: No comments

[android-developers] Re: Wired crash with ActivityUnitTestCase and dimens.xml

2010-05-11 Thread T-Droid
style and themes. The InstrumentationTestCases works fine. Thanks in advance. T-Droid On 10 Mai, 15:48, T-Droid dev.r...@googlemail.com wrote: Hi @all, I wrote a test case with ActivityUnitTestCase which was working fine. Now I added a dimensions file (dimens.xml) and using the values

[android-developers] Wired crash with ActivityUnitTestCase and dimens.xml

2010-05-10 Thread T-Droid
the crash: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.setContentView(R.layout.my_layout); } Any idea? T-Droid -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: In process communication

2010-05-04 Thread T-Droid
a activity knows the service. I'm talking how a service knows an activity. Because in my design the service should trigger view changes. The communication is unidirectional. Thanks in advance T-Droid On Apr 4, 8:24 am, Dianne Hackborn hack...@android.com wrote: Fyi this approach is illustrated

[android-developers] Re: In process communication

2010-05-04 Thread T-Droid
Sorry, I was meaning I'm using the solution of Kumar Bibek. The static one. On May 4, 8:34 am, T-Droid dev.r...@googlemail.com wrote: Hi, I solved the problem as spachner mentioned. From my point of view it was easy to understand. About the second solution I still get not the whole idea

[android-developers] Dynamic view with two layout

2010-05-04 Thread T-Droid
. First pressing the button leads to the crash - unfortunately! Does anybody have another idea, which is easy to handle? Thank you in advance. T-Droid -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] In process communication

2010-04-02 Thread T-Droid
no reference to the service. Then I was thinking to take AIDL but this is more for inter-process communication. How is it possible that the service informs the activity about state changes? Both are running in the same process. What can you recommend? Thank you in advance. T-Droid -- You received