Communicate between tabs

by Rog » Sat, 28 Feb 2009 01:55:09 GMT


Sponsored Links
 I am using a TabHost one tab with a list and another to show the
details of a specific item selected in the list.
Does anyone know how I can communicate between tabs?

--~--~---------~--~----~------------~-------~--~----~



Communicate between tabs

by Nykolas » Sat, 28 Feb 2009 03:39:39 GMT


 When you say "communicate" what do you mean? What you can do is write
information to the intent you are firing, using bundles or extras.
Other then that you can use sharedpreferences.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. GDE, a new Home experience!!

btw baru liat videonya.. mirip sama compizz gitu yak... or TouchWiz nya si
Samsung.. :D





--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group, please visit the following page:
 

2. Scale animation problem

I've been trying to modify the "task_open_enter.xml"

Here is the modification i've made
the original:
<set xmlns:android="http://schemas.android.com/apk/res/android"
        android:interpolator="@anim/decelerate_interpolator">
        <translate android:fromXDelta="33%" android:toXDelta="0"
        android:duration="@android:integer/config_mediumAnimTime"/>
</set>

modified to:
<scale xmlns:android="http://schemas.android.com/apk/res/android"
                android:fromXScale="0.0" android:toXScale="1.0"
                android:fromYScale="0.0" android:toYScale="1.0"
                android:pivotX="100%" android:pivotY="0%"
                android:duration="@android:integer/config_mediumAnimTime"
/>

if the "fromXScale" and "fromYScale" is bigger than 0.1, the scale
animation will shown normally, but if these 2 variables is 0.0 or 0.1
it will show "lock_layer timed out (is the CPU pegged?) ..... "

What is the problem here ? Please help, guys... Thanks a lot


--~--~---------~--~----~------------~-------~--~----~

3. ActivityInstrumentationTestCase2 error

4. App Icon and Label bugs with new HTC Hero phones

5. How to access assets of test project

6. ListActivity in Tab crashes

7. App Icon and Label bugs with new HTC Hero phones