Nested activities question

by jb » Fri, 23 Apr 2010 00:48:09 GMT

Sponsored Links
 I have an application that allows the user to "drill-down" into data.
At each level of data the user can choose a Tableview item or a
Listview item. This will result in a startActivity() call for display
of new data.

I can get back to the top (Parent activity) by using the Back button,
which can take a while. Is there a way to "POP" back to the Parent
activity and dismiss all previously allocated activities, and not have
to go back through all the activities previously created?




Nested activities question

by ~ TreKing » Fri, 23 Apr 2010 01:48:27 GMT


See this thread:

Sponsored Links

Nested activities question

by krox » Fri, 23 Apr 2010 02:03:01 GMT


rootActivityIntent) with the flag FLAG_ACTIVITY_REORDER_TO_FRONT set
for rootActivityIntent. Hope this is what you were looking for, for
more information see: #FLAG_ACTIVITY_REORDER_TO_FRONT



Other Threads

1. Weird: It appears as if sometimes my Activity will be resumed but previously set instance variables are null

Hey all-

I am using an Application object to store app-wide instance data--data
that I need to remain in existence for the entire lifetime of the app,
so the Application class seems like the proper place to put it. I have
just finished reading this thread

2. Exception in setDrawingCache in Android 1.5?


I am developing an application where I am using setDrawingCache and
then once I get the Bitmap I destroy the cache by using

The application has been developed with Android SDK 1.6. When testing
the application in emulator with Android 1.5 the application throws
NullPointerException when try to manipulate the Bitmap returned by
getDrawingCache(). It probably gives error since getDrawingCache
returns null.

The interesting thing in this is that the NullPointerException comes
only after I run the application twice or thrice. It means I am able
to get the Bitmap for two times and then it throws this exception.

The error that I am getting is as below

E/AndroidRuntime( 1036):        at
E/AndroidRuntime( 1036):        at com.babbleville.HomeScreenActivity.access
E/AndroidRuntime( 1036):        at com.babbleville.HomeScreenActivity
E/AndroidRuntime( 1036):        at
E/AndroidRuntime( 1036):        at android.os.Looper.loop(
E/AndroidRuntime( 1036):        at
E/AndroidRuntime( 1036):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1036):        at
E/AndroidRuntime( 1036):        at
E/AndroidRuntime( 1036):        at
E/AndroidRuntime( 1036):        at dalvik.system.NativeStart.main(Native

Can someone please let me know the problem?



3. How to Bind data to list?

4. Quick & Easy Question

5. Problem porting Android to iPhone

6. three sim card

7. Service communicates with other service