Hi,
I'm trying to use the jar library made available for sending to the second display of an android iMin D1.
This is part of the documentation:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I have in the project:
#AdditionalJar: freeimagelibrary.jar
I try with this code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
but I always get error "java.lang.IllegalArgumentException: Expected receiver of type com.imin.image.ILcdManager, but got java.lang.Class<com.imin.image.ILcdManager>"
in the sendLCDString call, where am I wrong?
Thank you
			
			I'm trying to use the jar library made available for sending to the second display of an android iMin D1.
This is part of the documentation:
			
				Java:
			
		
		
		/* * Send a string to display on Secondary screen * @param string The content of the displayed string can display up to 5 Chinese characters or 10 English characters */
void sendLCDString(String string);
transfer:ILcdManager.getInstance(this).sendLCDString(String string);I have in the project:
#AdditionalJar: freeimagelibrary.jar
I try with this code:
			
				B4X:
			
		
		
		Sub Button1_Click
    Dim Lib As JavaObject
    Lib.InitializeStatic("com.imin.image.ILcdManager")
    If Lib.IsInitialized Then
        Lib.RunMethodJO("sendLCDString", Array("test test test"))
            
    End If
End Subbut I always get error "java.lang.IllegalArgumentException: Expected receiver of type com.imin.image.ILcdManager, but got java.lang.Class<com.imin.image.ILcdManager>"
in the sendLCDString call, where am I wrong?
Thank you
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		