Questions tagged as 'deprecated'

1
answer

How to solve the problem of PHP 5.6 with obsolete PPA in Linux?

I ran the sudo apt-get upgrade command and received the PHP PPA discontinuation message. After updating the PHP version, when I run php -v , the following appears: PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1 In th...
asked by 05.07.2016 / 15:17
1
answer

Html.fromHtml obsolete for Android N +

In the Android 7.0 (API level 24) static method fromHtml() of the public class Html has become obsolete I do not know why, if they can tell me. Here's an example of how it was used: tv.setText(Html.fromHtml("<h3>Título</h3&...
asked by 28.03.2017 / 06:48
1
answer

The deprecated setDefaultPushCallback and trackAppOpened methods

When using Parse, I noticed that some of the methods used in the PARSE site examples are deprecated, including PushService.setDefaultPushCallback and ParseAnalytics.trackAppOpened . Anyone know how to replace these methods?     
asked by 26.11.2014 / 17:49
2
answers

How to use / maintain obsolete methods for older versions of iOS?

I'm developing an app for summers other than iOS, in this case for iOS 7 and iOS 8. I'm trying to create the Push Notification service, but the methods to register the app and others are "obsolete". Below is the method I'm using: [[UIApplic...
asked by 09.11.2014 / 22:42
0
answers

How to remove obsolete warning message for $ HTTP_RAW_POST_DATA?

We are using php://input in requests in AngularJS : //método public function putData() { $params = file_get_contents("php://input"); return json_decode($params); } How it's being used: $postData = $this->putData(); $r...
asked by 14.02.2017 / 13:30
1
answer

What would be an alternative to the "obsolete" showDialog function?

Explanation: I have a mobile application that uses the showDialog() method at any given time, to show a DatePickerDialog and get the date, but I see that on the following line: showDialog(DATE_DIALOG_ID); I have the followi...
asked by 25.03.2014 / 18:07
2
answers

Problem with mysql upgrade to mysqli [duplicate]

I'm trying to install a script from a website, but my knowledge of Php is poor, I installed the database and the files in FTP , but the following error appears:    Deprecated: mysql_connect (): The mysql extension is deprecated and wi...
asked by 22.05.2017 / 23:38
1
answer

Changes with IOS 9

I was programming using the Objective-C language and when the Xcode 7 update was done, some errors appeared in the language, one of them is in the file AppDelegate.m : (NSManagedObjectContext *)managedObjectContext { // Retu...
asked by 23.09.2015 / 01:07
0
answers

DefaultHttpClient is decrepated in Android app

I'm performing an integration with a JSON in my application, but when I use DefaultHttpClient it displays the message:    'org.apache.http.impl.client.DefaultHttpClient' is deprecated. Follow the code below: public class JsonClas...
asked by 04.05.2015 / 16:31