大约有 40,200 项符合查询结果(耗时:0.0409秒) [XML]
How to have Android Service communicate with Activity
...cation and trying to get my head around communication between services and activities. I have a Service that will run in the background and do some gps and time based logging. I will have an Activity that will be used to start and stop the Service.
...
What's the difference between the various methods to get a Context?
...
Active
Oldest
Votes
...
How to hide the title bar for an Activity in XML with existing custom theme
I want to hide the titlebar for some of my activities. The problem is that I applied a style to all my activities, therefore I can't simply set the theme to @android:style/Theme.NoTitleBar .
...
Best practice: AsyncTask during orientation change
...
Active
Oldest
Votes
...
Calling startActivity() from outside of an Activity context
... In the onClick method of the OnClickListener , I want to launch a new activity. I get the exception:
24 Answers
...
android asynctask sending callbacks to ui [duplicate]
I have the following asynctask class which is not inside the activity. In the activity I'm initializing the asynctask, and I want the asynctask to report callbacks back to my activity.
Is it possible? Or does the asynctask must be in the same class file as the activity?
...
Android - startActivityForResult immediately triggering onActivityResult
I am launching activities from the main activity in my app using the call startActivityForResult(intent, ACTIVITY_TYPE) , and they are all working but one.
...
I want my android application to be only run in portrait mode?
...
Active
Oldest
Votes
...
How do I make a splash screen?
...
Active
Oldest
Votes
1
2
Next
...