Developing an app/RN4020 Bluetooth product, which is nearing completion.  During testing I'm operating the app under as many varied conditions I can think of!  When I exit the app (after normal error free execution) and quickly start it up again I get two run time exceptions.  Sometimes I get "Service not found", meaning that it thinks the Bluetooth service is not ready, and mostly I get "no device connected".  My app shows that a connect event occurred even though scanning for the RN4020 has not started.  These problem occur when I exit the app using "activity.finish".  I make sure prior to exit to issue a disconnect and stop the Bluetooth service.  Interestingly these problems go away when I use "ExitApplication" to exit the app, which I know is not recommended.  These happen on Android versions 4, 6 and 7.
Does anyone have thoughts or suggestions on this?
Thanks in advance!!
			
			Does anyone have thoughts or suggestions on this?
Thanks in advance!!
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		