ExampleApp/src/com/altinn/apps/fisher/AppContext.java
/**
	 * Start a refresh token action refer AppContext.scheduleRefreshTimer()
	 */
Start a refresh token action refer AppContext.scheduleRefreshTimer()
Start a refresh token action refer AppContext . scheduleRefreshTimer ()
public void startRefreshTask(){					
			if(mRefreshTokenTask != null){
				mRefreshTokenTask.cancel(true);
			}
			mRefreshTokenTask = new RefreshTokenTask();
			mRefreshTokenTask.execute();
			Log.d("executeRefreshTask(): ",""+(new Date(System.currentTimeMillis())).toString());
	}
public void startRefreshTask ( ) { if ( mRefreshTokenTask != null ) { mRefreshTokenTask . cancel ( true ) ; } mRefreshTokenTask = new RefreshTokenTask ( ) ; mRefreshTokenTask . execute ( ) ; Log . d ( "executeRefreshTask(): " , "" + ( new Date ( System . currentTimeMillis ( ) ) ) . toString ( ) ) ; }
Start a refresh token action refer AppContext.scheduleRefreshTimer()
Start a refresh token action refer AppContext . scheduleRefreshTimer ()