
Xamarin
文章平均质量分 51
liangyj66
这个作者很懒,什么都没留下…
展开
-
学习Camera碰到的问题
1.ISurfaceHolder.AddCallback(this):这里回调函数添加的内容是当前的Activity,当前Activity需实现ISurfaceHolderCallback接口,并实现接口方法 public void SurfaceChanged(ISurfaceHolder holder, Android.Graphics.Format format, int width,原创 2017-05-12 11:06:34 · 772 阅读 · 0 评论 -
Xamarin问题记录
1.Warning XA0101:@(Content) build action is not supported (XA0101)解决:修改AndroidMainifest.xml的生成操作(Build Action)为无。2.Exception while loading assemblies: System.IO.FileNotFoundException原创 2017-05-11 15:39:14 · 579 阅读 · 0 评论 -
Xamarin中WebView问题记录
1.使用WebView进行浏览器嵌套时, WebView会打开手机中默认浏览器,而不是嵌套在WebView当中。解决方法:重写WebViewClient 的ShouldOverrideUrlLoading方法。 public class WebViewCustClient : WebViewClient { public override bool原创 2017-05-16 15:53:55 · 2103 阅读 · 0 评论 -
修改Xamarin Android App 的图标跟名称
在主Activity中: Label="App名称":设置App的名称 Icon = "@drawable/bleeding_hearts":设置App的图标,不写文件名后缀,bleeding_hearts.ico文件放在drawable文件夹中, [Activity(Label = "App名称", MainLauncher = true, Icon = "@drawa原创 2017-05-16 16:05:47 · 8267 阅读 · 0 评论