Hello, How can I return a value from TabActivity? It seems that the return value from tab pages vanishes and the caller always receives RESULT_CANCELED instead of RESULT_OK.
Here is a simple but complete example. http://www.futuredesktop.org/tmp/TabTest.zip Please take some time to study and test it. ----------------------- The main activity is Test.java. It starts the TabPage activity with >>> Intent i = new Intent(Test.this, TabPage.class); >>> startActivityForResult(i, Test.MY_CODE); The TabPage activity has 2 tab pages with TabContent1 and TabContent2 activities. The main Test.java [by function onActivityResult(...) ] should receive individual return values from these tab pages, but this fails. Why? The return values is always RESULT_CANCELED. TIA, Osmo (Moma) Antero from Norway/Grønland, http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---