When I am using the getApplicationContext() that time eclipse give me error create method \'getApplicationContext()\'. Please let me know How to re
getApplicationContext()
create method \'getApplicationContext()\'
In a Fragment, you can use getActivity().getApplicationContext() instead.
getActivity().getApplicationContext()
As for the AppSettings.getMeasureUnit error, if the getMeasureUnit method is expecting a context you can usually use getActivity().getApplicationContext().