I have an app with multiple activities and multiple layouts. However, one piece of layout is included on several activities. I also have a thread which updates this layout. However, when i switch acti
I am launching an a开发者_如何学Goctivity which displays a ListView.When an item is selected from the ListView, I setResult() and finish().The main Activity then receives the value from setResult() an
When i create a new activity from a开发者_开发百科 class A. Is it then possible to set a property in the parent object (i.e. A) from the new activity?It sure is.If you pass a reference to \"class A\"
I have a helper class that I need context so I can access the SharedPrefences. Other posts recommend passing in the application context on instantiation of the helper class. So I made that change, it
Hey there, I\'ve been searching stack overflow for the same question as this but I cannot seem to make it work and I am desperately hoping someone can help!
I\'ve created a list and would like to pass the list to another activity but i\'m getting an error on the putExtra statement when i create the intent. Just wondering is there any easy way to pass a Li
Are there different steps to register an Android Activity as a BROWSABLE intent on Android 2.3 (API level 10) and earlier versions?
I\'m looking to write an an开发者_Go百科droid app that invokes a screen/activity after some one has entered the default android unlock pattern correctly.
I have a preference activity and want that if one of its items is clicked it will start a background work and show a nice progress bar in foreground until the background task finishes. how to do it???
Currently I\'m using translucent background which allo开发者_JS百科ws for the new Activity to use the previous Activity\'s screen as the background.However, if I press home and then return to the acti