Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleJCEInitTask LoaderSample
public class LoaderSample implements OnTaskFinishedCallback
{
	Context _c; 
	public LoaderSample(Context c)
	{
		this._c = c;
	} 

	public void startLoading()
	{
		new InitJCETask(this._c, null, this, false).execute();
	} 

	@Override
	public void onFinished(JCELoadResult result) 
	{
		switch (result)
		{
			case _E_ALREADY_LOADED{_}:
								break;
			case _E_NOT_INSTALLED{_}:
								break;
			case _E_SUCCESS{_}:
								//get providers
								ProviderLoader.getProviders(); 
								break;
			case _E_UNSPECIFIED_ERROR{_}:
								break; 
		}
	}	
}

Anchor
_Toc456191102
_Toc456191102
Features

...