大约有 40,200 项符合查询结果(耗时:0.0487秒) [XML]

https://stackoverflow.com/ques... 

Dialog throwing "Unable to add window — token null is not for an application” with getApplication()

My Activity is trying to create an AlertDialog which requires a Context as a parameter. This works as expected if I use: 28...
https://stackoverflow.com/ques... 

How do I get the SharedPreferences from a PreferenceActivity in Android?

I am using a PreferenceActivity to show some settings for my application. I am inflating the settings via a xml file so that my onCreate (and complete class methods) looks like this: ...
https://stackoverflow.com/ques... 

How to fix 'android.os.NetworkOnMainThreadException'?

... Active Oldest Votes 1 2 Next ...
https://stackoverflow.com/ques... 

How can I access getSupportFragmentManager() in a fragment?

I have a FragmentActivity and I want to use a map fragment within it. I'm having a problem getting the support fragment manager to access it. ...
https://stackoverflow.com/ques... 

How to disable action bar permanently

... Active Oldest Votes ...
https://stackoverflow.com/ques... 

Further understanding setRetainInstance(true)

... Active Oldest Votes ...
https://stackoverflow.com/ques... 

“Active Directory Users and Computers” MMC snap-in for Windows 7?

... for use in Windows 7? I just need to browse the membership of some small Active Directory groups that are deep within a huge hierarchy, so I can eventually write code to work with those groups. The Windows Server 2003 version of the installer works, but the resulting MMC snap in just won't start ...
https://stackoverflow.com/ques... 

OnCreateOptionsMenu() not called in Fragment

I have an app which got one activity with 2 fragments placed horizontally. 8 Answers 8...
https://stackoverflow.com/ques... 

How to capture the “virtual keyboard show/hide” event in Android?

... Active Oldest Votes ...
https://stackoverflow.com/ques... 

How to make a phone call in android and come back to my activity when the call is done?

I am launching an activity to make a phone call, but when I pressed the 'end call' button, it does not go back to my activity. Can you please tell me how can I launch a call activity which comes back to me when 'End call' button is pressed? This is how I'm making the phone call: ...