
Xamarin
jameszhouhvs
WinForm > ASP.NET > MVC > Silverlight > WP > Xamarin > .NET Core > .NET
展开
-
Xamarin.android + VS - notes how to enable debug with device
Notes for debug on android device: 1. enable debug on device as per http://docs.xamarin.com/guides/android/getting_started/installation/set_up_device_for_development/ 2. connect device with PC and in原创 2014-02-11 19:03:03 · 1321 阅读 · 0 评论 -
LINK - Google Play Store 应用内购买测试注意事项
LINK - http://stackoverflow.com/questions/20692402/application-not-configured-for-billing-through-google-playThere are a few things to consider here:After uploading your apk to Google Play, you need t原创 2015-01-20 12:26:37 · 2421 阅读 · 0 评论 -
Xamarin.Android Binding - When auto-generated class failed
Sometimes the VS auto-generated wrapper classed failed to implement interface or abstract classes for some reasons... you can try to add a partial class and implement it by yourself if possible with s原创 2015-03-20 16:43:15 · 792 阅读 · 0 评论 -
iTunes 无法安装ad-hoc ipa, 错误"this compunter is no longer authorized..."
问题: 设备已经authorized过了 但是安装ad-hoc ipa 时仍遇到 "this compunter is no longer authorized。。。"原因:设备上的已安装app是通过不同的Apple ID安装的。删除那些不是通过当前Apple ID授权安装的应用,问题解决参考:https://discussions.apple.com/thread/2348353?start=0原创 2015-04-28 14:47:33 · 1197 阅读 · 0 评论 -
LINK - HttpClient + PATCH support
From - http://compiledexperience.com/blog/posts/patch-support-in-httpclient/public static class HttpClientExtensions{ public async static Task PatchAsync(this HttpClient client, string requestUri原创 2015-05-11 16:54:53 · 1192 阅读 · 0 评论 -
LINK - Objective-C to C#
https://lostechies.com/scottreynolds/2009/02/05/beginning-objective-c-for-the-c-guy/http://developer.xamarin.com/guides/ios/advanced_topics/xamarin_for_objc/primer/http://adventuresdotnet.blogspot.com原创 2015-08-18 15:58:54 · 1030 阅读 · 0 评论 -
LINKs: Xamarin.Forms + Prism
LINK 1 - How to use Prism with Xamarin.Forms http://brianlagunas.com/first-look-at-the-prism-for-xamarin-forms-preview/(Note: the Prism.Forms version 6.0.1 doesn't support Xamarin.Forms v2 yet)LINK 2原创 2015-12-28 15:44:15 · 2300 阅读 · 0 评论 -
Xamarin.iOS + MvvmCross - Notes about how to use Mvx TableViewSource
The available v3 table sources are:Abstract classesMvxBaseTableViewSource base functionality only no ItemsSource - generally not used directlyMvxTableViewSource.cs inherits from the basetable and adde原创 2016-03-31 11:45:47 · 1496 阅读 · 0 评论 -
Xamarin.iOS + MvvmCross: UIPickerView data binding, SelectedItemChanged event
UIPickerView data binding, SelectedItemChanged event原创 2016-04-06 19:56:52 · 1667 阅读 · 0 评论 -
LINK - Xamarin.iOS + MvvmCross: TableCell Without NiB e.g. XibFree
LINK - http://benjaminhysell.com/archive/2014/04/mvvmcross-custom-mvxtableviewcell-without-a-nib-file/原创 2016-04-08 16:40:15 · 1632 阅读 · 0 评论 -
Xamarin.iOS - Handing Keyboard
1. Scroll view when keyboard hide your input viewsLINK - http://www.gooorack.com/2013/08/28/xamarin-moving-the-view-on-keyboard-show/2. Hide keyboard on touching empty space of current UIViewControlle原创 2016-04-14 17:43:48 · 1831 阅读 · 0 评论 -
Xamarin.Android - Binding to android native SDK with AIDL file
Binding Steps:1. VS (Xamarin) : follow the normal binding step e.g. add the target sdk .jar with build action as "EmbeddedJar" in binding project2. JAVA: compile the .java file generated from the .aid原创 2016-09-08 18:50:26 · 1504 阅读 · 0 评论 -
Xamarin.Android Build Error: java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout$
Here's a GitHub issue raised on a Xamarin.Forms plugin which had a build error when using this plugin with another nuget lib ModernHttpClient https://github.com/AlejandroRuiz/PayPal.Forms/issues/15the原创 2016-09-22 10:53:43 · 1704 阅读 · 0 评论 -
Xamarin.Android + Build/Test Cloud TFS Automation - Issues and Workground
# Issue 1: Xamarin.Android Test Cloud MSBuild Step - Failure and workaroundcheck link: https://social.msdn.microsoft.com/Forums/en-US/56ff026c-0eff-4fab-a07b-5c474ce461b1/facing-issue-in-uitest-xamari原创 2016-12-23 15:19:35 · 1025 阅读 · 0 评论 -
Xamarin.iOS + VSTS + OSX Build Agent
VSTS Configuration: https://blog.xamarin.com/continuous-integration-for-ios-apps-with-visual-studio-team-services/OSX Build Agent: https://github.com/Microsoft/vsts-agent/blob/master/docs/start/starto原创 2016-12-29 12:18:41 · 1182 阅读 · 0 评论 -
Xamarin.iOS Binding Notes about .dylib and clang compiler
Notes for "Wham City Lights iOS SDK" Xamarin.iOS binding1. The sdk reference a libz.dylib dynamic library, so in the xxxLinkWith.cs need below content in the assembly attribute:LinkerFlags="-lz"2.原创 2014-12-26 12:37:23 · 1246 阅读 · 0 评论 -
what we learned from Xamarin.Android + Parse Android SDK Binding for push message
We have to use Parse Android SDK binding in a Xamarin.Android app to use the Parse push notification. It took a week to get the push working till we found need to use the package name as the namespace原创 2014-12-08 18:00:12 · 1695 阅读 · 2 评论 -
LINK - Better Xamarin.iOS bindings
5 blogs about better Xamarin.iOS bindingshttp://blog.xamarin.com/producing-better-bindings-for-xamarin.ios-and-xamarin.mac/原创 2014-11-06 12:20:12 · 1066 阅读 · 0 评论 -
Xamarin.iOS Notes
1. I'm used to Windows for years and have to use Mac for Xamarin.iOS, and not feeling productive when using Mac. So I use TeamViewer to remote on Mac from Windows even the two machines both on my desk原创 2014-03-06 23:03:09 · 2878 阅读 · 0 评论 -
Link - iOS Layout about "edgesForExtendedLayout" and "automaticallyAdjustsScrollViewInsets"
http://stackoverflow.com/questions/18798792/explaining-difference-between-automaticallyadjustsscrollviewinsets-extendedlayo原创 2014-05-06 13:58:55 · 1050 阅读 · 0 评论 -
Xaml - Be careful of binding with ContextMenu
Header="{Binding Source={StaticResource LocalizedStrings}, Path=LocalizedResources.Conference_Details}"/>原创 2014-04-04 18:09:59 · 994 阅读 · 0 评论 -
Xamarin - Disadvantages
1) For Apps of UI heavy, in Xamarin I would still need to build separate UI code bases. The common code that could be shared is quite small2) Limited Ecosystem/Community compared to Java and Objective原创 2014-04-14 09:52:45 · 1106 阅读 · 0 评论 -
LINK - iOS/Android/Windows UI Guides
iOS - https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/index.htmlAndroid - http://developer.android.com/design/index.htmlhttp://msdn.microsoft.com/library/wind原创 2014-05-20 11:59:59 · 931 阅读 · 0 评论 -
LINK - Xamarin.iOS + MvvmCross: UIImage binding to local storage image
bind byte[] from local s to UIImagehttp://stackoverflow.com/questions/16892670/mvvmcross-binding-uiimageview-to-byte原创 2014-08-05 11:35:09 · 1216 阅读 · 0 评论 -
Xamarin.iOS - 如果需要缓存,就用UIImage.FromBundle加载图片
FromBundleThe FromBundle method call is a synchronous (blocking) call that has a number of image loading and management features built-in, such as caching support and automatic handling of image files原创 2014-08-25 21:32:15 · 2691 阅读 · 4 评论 -
Xamarin.Android - 软键盘遮盖输入控件问题
- Use scrollview http://www.finalconcept.com.au/article/view/android-keeping-buttons-visible原创 2014-09-10 17:43:54 · 2237 阅读 · 0 评论 -
LINK - MvvmCross依赖注入的实例化
http://stackoverflow.com/questions/16967454/instantiation-of-viewmodels-and-service-classes原创 2014-08-28 01:55:48 · 1089 阅读 · 0 评论 -
Xamarin.Android - 下载pdf和视频到应用空间并打开
http://stackoverflow.com/questions/3038474/can-a-videoview-play-a-video-stored-on-internal-storage原创 2014-09-02 05:55:32 · 3279 阅读 · 0 评论 -
Windows Azure Mobile Service - Data Sync lessons learned
1. primary key on server table should原创 2014-09-02 08:02:46 · 1044 阅读 · 0 评论 -
Xamarin.Android - 如何实现接口方法 IntPtr Handle 和 Dispose
Answer: Inherits from Java.Lang.Objecthttp://blog.ostebaronen.dk/2013/09/how-to-implement-intptr-handle-and.html原创 2014-09-05 00:05:01 · 2230 阅读 · 0 评论 -
LINK: WinRT, Xamarin.Android, Xamarin.iOS - How to implement a "pull-to-refresh" list
WinRT - https://marcominerva.wordpress.com/2013/05/22/implementing-the-isupportincrementalloading-interface-in-a-window-store-app/原创 2014-11-05 12:35:28 · 972 阅读 · 0 评论 -
JSON.NET PCL - MongoDB date json deserialization
Use a customized JsonConverter to handle deserilizatrion the MongoDb based datetime json"Submitted" : { "$date" : 1413030537700 }the converter:public class MongoDateConverter : JsonConverter {原创 2014-10-20 17:25:32 · 1190 阅读 · 0 评论 -
iOS - some concepts of Penetration Testing
1. Stack Cookie (aka Stack Canary)Stack Smashing Protection:Stack smashing protection is an exploit mitigation technique that protects against stack overflow attacks by placing a random value known as...原创 2018-03-01 14:44:12 · 567 阅读 · 0 评论