package com.rho.connectionchecking;

import android.content.Intent;



import com.rhomobile.rhodes.RhodesActivity;
import com.rhomobile.rhodes.extmanager.AbstractRhoListener;
import com.rhomobile.rhodes.extmanager.IRhoExtManager;
import com.rhomobile.rhodes.extmanager.RhoExtManager;


public class ConnectionCheckingListener extends AbstractRhoListener {
	
	private static String TAG = "ConnectionCheckingListener";
	
	@Override
	public void onCreateApplication(IRhoExtManager extManager) {
		
		extManager.addRhoListener(this);
		ConnectionPageNavEvent ext=new ConnectionPageNavEvent();
		RhoExtManager.getInstance().registerExtension("ConnectionCheckingService", ext);
		
	
	}
	
	

}

@@ -277,16 +277,51 @@
 anager;%0A
+import com.rhomobile.rhodes.Logger;
 %0A%0Apublic
@@ -710,13 +710,840 @@
 %0A%09%0A%09%7D%0A%09%0A
+%09@Override%0A%09public void onEBLicenseDestroyed() %7B%0A%09%09%0A%09%09Logger.I(TAG, %22onEBLicenseDestroyed Recieved%22);%0A%09%09if(!ConnectionPageNavEvent.isCurLinkBadLink() && ConnectionCheckingService.getInstance()!=null)%0A%09%09%09ConnectionCheckingService.getInstance().restartThread();%0A%09%09%0A%09%09super.onEBLicenseDestroyed();%0A%09%7D%0A%09@Override%0A%09public void onEBLicenseHidden() %7B%0A%09%09Logger.I(TAG, %22onEBLicenseHidden Recieved%22);%0A%09%09if(!ConnectionPageNavEvent.isCurLinkBadLink() && ConnectionCheckingService.getInstance()!=null)%0A%09%09%09ConnectionCheckingService.getInstance().restartThread();%0A%09%09super.onEBLicenseHidden();%0A%09%7D%0A%09@Override%0A%09public void onEBLicenseVisible() %7B%0A%09%09Logger.I(TAG, %22onEBLicenseVisible Recieved%22);%0A%09%09if(ConnectionCheckingService.getInstance()!=null)%0A%09%09%09ConnectionCheckingService.getInstance().handleLicenseCreate();%0A%09%09super.onEBLicenseVisible();%0A%09%7D%0A
 %09%0A%0A%7D%0A

Update ConnectionCheckingListener.java