Top "Deprecated" questions

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded.

Deprecated meaning?

When jQuery, Microsoft or some other software company says:"this function is deprecated". For example, when there is a func1 …

deprecated
ActionBarActivity is deprecated

Actually there is no problem. Project compiles and runs. But I can't understand what is mean strikeout class name (Android …

android android-studio android-actionbar deprecated
Why is the <center> tag deprecated in HTML?

I am just curious as to why the <center> tag in HTML was deprecated. The <center> …

html tags center deprecated
Is `shouldOverrideUrlLoading` really deprecated? What can I use instead?

Is "shouldOverrideUrlLoading" really deprecated? If so, what can I use instead? It seems like shouldOverrideUrlLoading is deprecated targeting Android N …

android webview android-webview deprecated deprecation-warning
BaseException.message deprecated in Python 2.6

I get a warning that BaseException.message is deprecated in Python 2.6 when I use the following user-defined exception: class MyException(…

python exception deprecated
setBackgroundDrawable() deprecated

So my sdk goes from 15 to 21 and when I call setBackgroundDrawable(), Android Studio tells me that it's deprecated. I thought …

android deprecated deprecation-warning
Deprecated ManagedQuery() issue

I have this method: public String getRealPathFromURI(Uri contentUri) { String[] proj = { MediaStore.Images.Media.DATA }; Cursor cursor = managedQuery(contentUri, proj, …

java android deprecated
Is it wrong to use Deprecated methods or classes in Java?

I am using eclipse to develop a web application. Just today I have updated my struts version by changing the …

java methods deprecated
Android LocationServices.FusedLocationApi deprecated

I couldn't figure out why LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient,mLocationRequest, this); "FusedLocationApi" is cross out and point at it saying …

java android deprecated android-fusedlocation
Replacement for stringByAddingPercentEscapesUsingEncoding in ios9?

In iOS8 and prior I can use: NSString *str = ...; // some URL NSString *result = [str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; in iOS9 stringByAddingPercentEscapesUsingEncoding …

ios objective-c url encoding deprecated