[android-developers] How to destroy a background activity without removing it from back stack.

2012-02-06 Thread Haisoo Shin
Hi, I have a problem on some devices like Galaxy Nexus, where my background activities are not destroyed by the system even when available memory is low. (It's not a memory leak. I tested it with a minimal activity, and it's device specific.) If I can't rely on the Android system to destroy

[android-developers] Setting windowIsFloating programmatically

2011-12-26 Thread Haisoo Shin
Hi, I am trying to use the same activity, but use it as a dialog under some conditions and as a regular activity under others. I tried calling setTheme to setting it to Theme.Dialog style, but the previous activity is blocked by black background. So I think I figured out so far that it's