Archive for 8月, 2011

 

mixiアプリ署名付きリクエスト認証のために OauthProvider を使ってみる | PHP

8月 26th, 2011

http://www.php.net/manual/en/class.oauthprovider.php ↓ここを見てやってみろと書いてあるので ・Writing an Oauth Provider Service http://toys.lerdorf.com/archives/55-Writing-an-OAuth-Provider-Service.html ・Oauth Provier sample http://svn.php.net/viewvc/pecl/oauth/trunk/examples なんかできない気がしたので諦めた。 http://developer.mixi.co.jp/appli/spec/pc/require_servers/ 一通りこちらのOauth.phpは読んだので、まねして、使うところだけ実装。 無事完了 ・mixiからのリクエストのsignatureチェック ・mixiへのリクエストの作成。 やることはほとんど同じで。 基本機能はだいたいわかったので、明日は、インターフェイスのベース作成とデータ設計を。 来週中にはリリースできそう。でも次のツールも考えてるので。

Read full article | コメントは受け付けていません。

terminal’s bell turn off | mac lion

8月 26th, 2011

terminal menu > preferances > bell > audible bell : check off

Read full article | コメントは受け付けていません。

android screenshot

8月 24th, 2011

SDKのddmsというのをつかうそうです。 /Users/junichi/Library/android-sdk-mac_x86/tools/ddms finderから開いたら起動できました。

Read full article | コメントは受け付けていません。

distribute android market | titanium

8月 24th, 2011

titanium studioの[Distribute Android]でファイルを作成します。 Select Distribution Locatio: 適当にディレクトリを作っておきます。 Key Store Location: Key Store Password: Alias: さてKeyを作るそうです。 http://developer.android.com/guide/publishing/app-signing.html#cert $ which keytool /usr/bin/keytool 上記URLのサンプルコマンドは以下のようです。 $ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 my-release-key.keystore => junichi.keystore alias_name => junichiapp とかで良いのでしょうか、junichi部分をアプリの略名にしました。 $ keytool -genkey -v -keystore junichi.keystore -alias junichi -keyalg RSA -keysize 2048 -validity […]

Read full article | コメントは受け付けていません。

titanium android YQL return e.success=false everytime. | titanium

8月 24th, 2011

titanium android YQL return e.success=false everytime. if iPhone YSQL e.success == true, android ‘s success is false. we should not check e.success.

Read full article | コメントは受け付けていません。

android menu icon | titanium

8月 24th, 2011

var menu1 = menu.add( … menu.setIcon( ‘/images/icon.png’); this location is “Resourse/android/images/icon.png” size of android menu icon http://developer.android.com/guide/practices/ui_guidelines/icon_design_menu.html

Read full article | コメントは受け付けていません。

head of html | YQL

8月 24th, 2011

htmlのhead部を取得するYQL select * from html where url=’http://blog.bbtune.com/’ and xpath=’/html/head’

Read full article | コメントは受け付けていません。

type | sqlite

8月 23rd, 2011

http://www.sqlite.org/datatype3.html#affinity TEXT NUMERIC INTEGER REAL NONE 2.2 Affinity Name Examples 数字以外は、TEXTになると BLOBはBLOBを指定するとNONEに振り分けられる

Read full article | コメントは受け付けていません。

object dump | titanium

8月 22nd, 2011

Titanium.API.debug(JSON.stringify(obj)); で表示できます。 他の方法も是非教えてください。

Read full article | コメントは受け付けていません。

titaniumのアプリロード時のPowered by画像を変更する

8月 22nd, 2011

http://developer.appcelerator.com/question/58561/remove-the-powered-by resources/android/default.png を変更! images/res-* 以下も同じdafault.pngをおいてしまいます。 本来は、横長や大きめなどのサイズをおきます。 iphoneの方も同じ感じだけど resources/iphone/Default.png @2x.png Landscape.png Portrait.png などもあるので一緒に変更 OKでした。

Read full article | コメントは受け付けていません。