public Builder SetIcon(Texture2D tex)
            {
                var iconAjo =
                    C.AndroidGraphicsDrawableIcon.AJCCallStaticOnceAJO("createWithBitmap",
                                                                       AGUtils.Texture2DToAndroidBitmap(tex));

                _ajo.CallAJO("setIcon", iconAjo);
                return(this);
            }
 public static string InsertImage(Texture2D texture2D, string title, string description)
 {
     using (var mediaClass = new AndroidJavaClass(C.AndroidProviderMediaStoreImagesMedia))
     {
         using (var cr = AGUtils.ContentResolver)
         {
             var image    = AGUtils.Texture2DToAndroidBitmap(texture2D);
             var imageUrl = mediaClass.CallStaticStr("insertImage", cr, image, title, description);
             return(imageUrl);
         }
     }
 }