Upgrading to phonegap 2.4

changing deprecated getContext to getActivity

tested with maps and pdfs and all appears to be fine