After setting: MyDialogFragment fragment = new MyDialogFragment(); fragment .setCancelable(false); it is still dismissed after click on search button.
The activity hosting this fragment has its onActivityResult called when the camera activity returns. My fragment starts an activity for a result with the intent sent for the camera to take a picture.
Android activities have a pair of methods onRetainNonConfigurationInstance()/getLastNonConfigurationInstance()
I\'m trying to use Proguard against my app which will eventually incorporate LVL and In-app Billing. The problem I have is that Proguard keeps crashing my app on start and it\'s hard to figure out wha
Basically I want to set my activity\'s theme in the manifest as follows: android:theme=\"@android:style/Theme.Translucent.NoTitleBar\"
I\'m curious as to how (if at all) onPrepareOptionsMenu(Menu) (and by extension, onPreparePanel(int, View, Menu)) is used on Android 3.0+ when targeting API 11 or greater.
Pre-Honeycomb (Android 3), each Activity was registered to handle button clicks via the onClick tag in a Layout\'s XML:
I am interested in creating a ListView where each row is marked the way it is done in GMail for 3.0+. This creates a nice separation of the left and right ListFragment.
In the Honeycomb sample gallery app, there\'s a layout that uses a two-fragment setup: one on the left of the screen showing titles, and one on the right showing the selected content. The titles fragm
Its possible开发者_开发技巧 to retain a Fragment between Activities? Lets say I have Activity A with Fragment F_Left placed at the left and Fragment F_Right placed at the right. If I want to launch a