This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void checkForUpdate() { | |
| String originalVersion = bridge.getResourceCache().getBridgeConfiguration().getSoftwareVersion(); | |
| boolean showToast = true; | |
| bridge.getResourceCache().getBridgeConfiguration().setPortalServicesEnabled(true); | |
| if(bridge.getResourceCache().getBridgeConfiguration().getPortalState().getSignedOn()){ | |
| bridge.getResourceCache().getBridgeConfiguration().setCheckForUpdate(true); //set the check for update flag to true | |
| Toast.makeText(this, "Checking for update ...",Toast.LENGTH_LONG).show(); |