I have Create Java Bind Library in Xamarin and add .Jar file in Library
and Add reference of this Project in My Project
and library is call - Com.Symbol.Emdk
when i Implement this one -
EMDKResults results = EMDKManager.GetEMDKManager(Android.App.Application.Context ,this);
then Go Here
[Register ("getEMDKManager", "(Landroid/content/Context;Lcom/symbol/emdk/EMDKManager$EMDKListener;)Lcom/symbol/emdk/EMDKResults;", "")]
public static global::Com.Symbol.Emdk.EMDKResults GetEMDKManager (global::Android.Content.Context p0, global::Com.Symbol.Emdk.EMDKManager.IEMDKListener p1)
{
if (id_getEMDKManager_Landroid_content_Context_Lcom_symbol_emdk_EMDKManager_EMDKListener_ == IntPtr.Zero)
id_getEMDKManager_Landroid_content_Context_Lcom_symbol_emdk_EMDKManager_EMDKListener_ = JNIEnv.GetStaticMethodID (class_ref, "getEMDKManager", "(Landroid/content/Context;Lcom/symbol/emdk/EMDKManager$EMDKListener;)Lcom/symbol/emdk/EMDKResults;");
global::Com.Symbol.Emdk.EMDKResults __ret = global::Java.Lang.Object.GetObject<global::Com.Symbol.Emdk.EMDKResults> (JNIEnv.CallStaticObjectMethod (class_ref, id_getEMDKManager_Landroid_content_Context_Lcom_symbol_emdk_EMDKManager_EMDKListener_, new JValue (p0), new JValue (p1)), JniHandleOwnership.TransferLocalRef);
return __ret;
}
I have got error in This Line-
global::Com.Symbol.Emdk.EMDKResults __ret = global::Java.Lang.Object.GetObject<global::Com.Symbol.Emdk.EMDKResults> (JNIEnv.CallStaticObjectMethod (class_ref, id_getEMDKManager_Landroid_content_Context_Lcom_symbol_emdk_EMDKManager_EMDKListener_, new JValue (p0), new JValue (p1)), JniHandleOwnership.TransferLocalRef);
Please Help me How to use Java bind library