I inline java in B4A.
Java Method:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
B4A:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Error occurred: java.lang.RuntimeException: Method: setCustomDensity not matched.
How to use this method correctly?
			
			Java Method:
			
				JAVA:
			
		
		
		public void setCustomDensity(@NonNull Activity activity, @NonNull final Application application)
	B4A:
			
				B4A:
			
		
		
		Dim JO As JavaObject
JO.RunMethod("setCustomDensity",Array(Activity,Application))
	Error occurred: java.lang.RuntimeException: Method: setCustomDensity not matched.
How to use this method correctly?