SyntaxFix
Write A Post
Hire A Developer
Questions
try this, calling the activity in the constructor
public class WebService { private Activity activity; public WebService(Activity _activity){ activity=_activity; helper=new Helper(activity); } }