Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.
The "DeprecationPolicy" page has been changed by JoeBowser: http://wiki.apache.org/cordova/DeprecationPolicy?action=diff&rev1=13&rev2=14 Comment: The ctx change pre-dates the Deprecation Policy and doesn't belong here. See http://simonmacdonald.blogspot.com/2012/08/so-you-wanna-write-phonegap-200-android.html - == deprecation: ctx == - - All the "ctx" methods have been deprecated and replaced with "cordova" methods. - So any old code ways, for example, - {{{ - ctx.getAssets() - }}} - should be updated to say - {{{ - cordova.getActivity().getAssets() - }}}, etc. - - See - [[http://simonmacdonald.blogspot.com/2012/07/phonegap-android-plugins-sometimes-we.html | "PhoneGap Android Plugins: Sometimes We Screw Up"]]. - - Should - cordova.getContext() be replaced with cordova.getActivity().getApplicationContext() ? == deprecation philosophy ==
