UNLIMITED JAVA

WEB技術や普段の生活のブログ

monotouch

Error: ibtool not found. Please ensure the Apple SDK is installed.

Error: ibtool not found. Please ensure the Apple SDK is installed. (OnsenKumaKuma) と言われまして。iBtoolも入っているっぽいんでいろいろ調べてみたら、どうやらXCodeのバージョンの問題だったらしい。 入れていたX-Codeが、SnowLeoprd専用だったらし…

ChoBase公開

MonoTouch向けキーバリューストア「ChoBase Version 0.2」をリリースしました。 MonoTouchでのデータ永続化がちょー簡単に出来るツールです。 接続文字列とかスキーマとか意識しなくていいので、サクサク開発出来るハズ。 簡単な使い方。 //キーを使って、値…

アプリケーションアイコンの貼りつけ

Adding an Application Icon using MonoTouch http://devrichardagreene.blogspot.com/2009/10/adding-application-icon-using-monotouch.html OK, now we're at the stage of linking it up. Right click the project and select "Options". In the Project…

How to set UIImage to UIBarButtonItem.

Monotouchで、UIBarButtonItemにUIImageを貼り付ける方法。 サイズ関係がちょっと戸惑った。 1、Import image file to project. It is important to set build action "Content". Build action > Content 2.Load Image and Set Image. UIImage baseImage = U…

MonotouchでTweet

Tweet出来たーー!! あとは日本語対応が出来れば!!

つぶやき参考

こちらを参考中、もうちょっとでイケそう http://www.ipentec.com/document/document.aspx?page=csharp-use-twitter-api-oauth-aspnet http://www.voiceoftech.com/swhitley/?p=681

monotouchからbit.lyで短縮URLを生成してみるテスト。

bitlyで短縮URLを生成する方法 bitlyappを参考にさせて頂きました。 1.アカウントの取得 ここから げっと http://bit.ly/2.ライブラリの取得 http://sites.google.com/site/bitlyapp/ ここから、APIを取得。 Bitly.dllをダウンロードして参照! ・・・とした…

UIBarButtonItemを使う

MonoTouchでUIBarButtonItemでActionを記述する方法について、まとめ。 メソッドを用意して、属性をつける(これ重要、メソッド名は関係ないらしい) MonoTouch.ObjCRuntime.Selectorで呼び出す。 UIBarButtonItem barRightButton = new UIBarButtonItem( "B…

MonoTouchでTwitterにTweetSharpでOAuth

MonotouchでTwitterクライアントを作ろうと思っていろいろ調べていました。 C#での有力なクライアントとして、TweetSharpというものがあります。 http://tweetsharp.codeplex.com/ ためしにVisualStudioで使ってみたところ、いい感じに各トークンが取得でき…

MonotouchのUIwebviewでURLとタイトルを調べる

string url = webView.EvaluateJavascript("document.URL") ; string title = webView.EvaluateJavascript("document.title") ;objective-c だと stringByEvaluatingJavaScriptFromString を使うので、名前が短くなって使い易いb 直接 webView.Titleとかで…