[TIMOB-18625] Android: Remove or fix warnings in Titanium SDK
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-05-07T03:21:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Android |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Hieu Pham |
Created | 2015-03-02T03:33:55.000+0000 |
Updated | 2017-03-20T22:04:50.000+0000 |
Description
We have a number of warnings in the Titanium SDK for a variety of issues, including deprecation warnings, issues about raw types, etc. We should correct them
* BitmapDrawable(Bitmap) is deprecated: http://stackoverflow.com/questions/26832050/the-constructor-bitmapdrawable-is-deprecated-fix * BitmapFactory.options.inPurgeable is deprecated: http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html#inPurgeable * BitmapFactory.options.inInputShareable: http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html#inInputShareable * Sensor.TYPE_ORIENTATION is deprecated: http://www.codingforandroid.com/2011/01/using-orientation-sensors-simple.html * LocalActivityManager is deprecated. Use Fragment and FragmentManager instead
PR for some other easier-to-fix issues: https://github.com/appcelerator/titanium_mobile/pull/6678
PR for remove deprecation warnings: https://github.com/appcelerator/titanium_mobile/pull/6819
Closing ticket as fixed.