Project: titanium
Issue TIMOB-7233: Android: evalJS and evalFile methods deprecated in TiContext
h3.Issue One of the General changes while porting modules to our current SDK 1.8.0.1 was remove TiContext. h6.Customer's remarks Inside my Android module, I have to execute some JavaScript statements in the current context. I was using TiContext to do that in pre-1.8.0.1 versions of SDK. Since TiContext is deprecated where in 1.8.0.1 Android module SDK can I find evalJS() and evalFile() methods? h6.General changes {noformat} TiContext is being replaced, and any implementation utilizing TiContext will take a performance / stability hit compared to using the desired API's directly. In most of the places where TiContext is used as an argument, the TiContext argument can be removed entirely or replaced with an Activity reference. {noformat} h6.evalJS and evalFile methods migrated {code:title=TiContext.java}	public Object evalFile(String filename)	throws IOException	{	return evalFile(filename, null, -1);	}	public Object evalJS(String src)	{	if (krollBridge == null)	{	Log.e(LCAT,"on evalJS, evaluator is null and shouldn't be");	}	return krollBridge.evalJS(src);	} {code} h6.References https://wiki.appcelerator.org/display/guides/Android+Module+Porting+Guide+for+1.8.0.1
Story points: 3