大约有 40,120 项符合查询结果(耗时:0.0264秒) [XML]
How to handle screen orientation change when progress dialog and background thread active?
My program does some network activity in a background thread. Before starting, it pops up a progress dialog. The dialog is dismissed on the handler. This all works fine, except when screen orientation changes while the dialog is up (and the background thread is going). At this point the app either c...
How do you display a Toast from a background thread on Android?
...
Active
Oldest
Votes
...
What's the best way to share data between activities?
I have one activity which is the main activity used throughout the app and it has a number of variables. I have two other activities which I would like to be able to use the data from the first activity.
Now I know I can do something like this:
...
Should I use PATCH or PUT in my REST API?
...
Active
Oldest
Votes
...
Android update activity UI from service
...ing for new task all the time. If there is new task, I want to refresh the activity UI to show that info.
I did find https://github.com/commonsguy/cw-andtutorials/tree/master/18-LocalService/ this example. Is that a good approch ? Any other examples?
...
How to launch an Activity from another Application in Android
...
Active
Oldest
Votes
...
How to send parameters from a notification-click to an activity?
I can find a way to send parameters to my activity from my notification.
13 Answers
13...
Prevent Android activity dialog from closing on outside touch
I have an activity that is using the Theme.Dialog style such that it is a floating window over another activity. However, when I click outside the dialog window (on the background activity), the dialog closes. How can I stop this behaviour?
...
Change Active Menu Item on Page Scroll?
As you scroll down the page, the active menu item changes. How is this done?
4 Answers
...
