I'm using Xamarin.Forms and creating an iOS App who has a background service to get a location each 10 minutes. The code is working, my problem is when I access the App configuration on an IPad. It shows the permission for accesss the camera but not to access the current location. I think that will be a problem when I submit the App for review. For initialize the location: this.locMgr = new CLLoca
もっと具体的に書くと、 自作ライブラリ(PCL)のコントロールを XAMLのみ で使用していて、 C#コードでそのライブラリを参照しておらず 、Page表示時に System.IO.FileNotFoundException (Could not load file or assembly 'CustomControls' or one of its dependencies. The system cannot find the file specified.) が発生してアプリが落ちる場合の対処方法です。 つまり、こんな風にXAMLしかライブラリを参照していない場合にFileNotFoundExceptionとなります。 <?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schem
Xamarin3で追加された話題のXamarin.Formsをさっそくつかってさっそくはまりまくっている今日この頃。 ローカライズに悩んでいたわけですが、何とか解決したので投稿してみます。 まずVisual Studio 2013で新しいプロジェクトを作ります。 (私はVS大好き人間なのでVSオンリーです。Xamarin Studioのことは知りません) 作るのはテンプレート内の[Mobile Apps]→[Blank App (Xamarin.Forms.Portable)]です。 これはXamarin.Formsのチュートリアル(?)通りですね。 そのままiOSシミュレータで動かすとこんな感じ。 あまり面白くないですが楽なので「Hello, Forms!」の文字列を実行したOSのカルチャに合わせてみます。 まず、ソリューション内に新しい項目を追加します。 追加するのは「アセンブリリソー
【 Xamarin 記事一覧 】 Xamarin.FormsのListViewでカスタマイズセル(CellView)を使用することで、Twitter風の画面を作成してみました。(「Xamarin」というキーワード検索を表示しただけのもです) 機種依存のコードはなく、共有プロジェクトだけで書きました。 最新のXamarin.Formsにアップデート(1.2.2.6243)することで、メッセージの長さに応じて行ごとの高さを変更することもできています。 なお、サンプルコードは、GitHubにも置きました。 https://github.com/furuya02/Xamarin.Forms.ListView.Sample 1 Xamarin.Formsのアップデート2014.08.07現在、Xamarin.Formsのバージョンは、1.1.0.6201ですが、iOSでListViewの高さ変更がで
Xamarin.Forms 以前のように Android プロジェクト作成 → iOS プロジェクト追加 → PCL プロジェクト追加などとしていた際は発生しなかったであろうエラーです。Xamarin.Forms から Xamarin を始める方がハマる可能性がありますので、備忘録として残しておきます。 このエラーは Mac の Xamarin Studio で Xamarin.Forms プロジェクトを作成 そのまま Android プロジェクトを右クリックして、アプリケーションを選択して開く - Mono Soft Debugger for Android を選択 をすると出ます。なお、iOS アプリは同じ操作でビルド、実行、デバッグが出来てしまうのもハマりやすいポイントかと思います。 これは、Xamarin Studio で Forms プロジェクトを作成すると標準のスタートアッププ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く