カテゴリー : 2013年 6月

JSONP のセキュリティについて

JSONP を使う上でのセキュリティについて気になったので、調べたサイトをメモ。

Web 2.0的アプリのセキュリティ:機密情報にJSONPでアクセスするな : アークウェブのブログ

第3回 JSONPでのクロスドメインアクセス:ここが危ない!Web2.0のセキュリティ|gihyo.jp … 技術評論社

[気になる]JSONPの守り方 - @IT

なぜJSONPだとクロスドメイン制約を超えられるのか? – 射撃しつつ前転

JSONPはセキュアでないのか? – snippets from shinichitomita’s journal

Node.js (Express) で JSONP を対応させる方法は下記が参考になります。

Express で JSONP をスマートにレスポンスする方法

[Android] TextView の文字を中央寄せ(センタリング)する方法

Android アプリ開発で TextView の文字を中央寄せ(センタリング)する方法をご紹介します。

Android

続きを読む

[iOS] Your Info.plist contains the UINewsstandIcon sub-property under CFBundleIcons, which is intended for use with Newstand feature. To include Newsstand features, the Info.plist must include the UINewstandApp=true Info.plist key.

iPhone アプリを Xcode 経由で申請しようとしたら、エラーが発生しました。

エラー内容

The following issues were found during validation

The following issues were found during validation:

Your Info.plist contains the UINewsstandIcon sub-property under CFBundleIcons, which is intended for use with Newstand feature.
To include Newsstand features, the Info.plist must include the UINewstandApp=true Info.plist key.

解決方法

NewstandIcon

ニューススタンド対応にしない場合は、Info.plist ファイルの Icon files (iOS5) の項目の Newsstand Icon の項目を削除すればOKです。

[iOS] エラー「No application records were found.」

Xcode から iOS アプリを iOS App Store へ登録しようとしたらエラーが発生しました。

xcode_Submit to the iOS App Store

xcode_No application records were found

「No application records were found.」というエラーが発生しました。

原因は、「Ready to Upload Binary」ボタンを押してない状態でした。

[Android] アクションバーを非表示にする方法

Android アプリ開発で、アクションバーを非表示にする方法をメモ。

getActionBar().hide();

[Android] Toast 風な通知ビューをカンタンに表示するライブラリ「Crouton」

Android アプリ開発で、Toast 風な通知ビューをカンタンに表示するライブラリ「Crouton」が便利だったので、ご紹介します。

GitHub:
keyboardsurfer/Crouton · GitHub

jar ファイルのダウンロードはこちらから:
Maven Repository: de.keyboardsurfer.android.widget » crouton

ブログ記事:
Useful Android Libraries: Crouton | Grokking Android

スライド資料:
Crouton DevFest Berlin 2012 // Speaker Deck

他にも、Android-AppMsg というライブラリがありました。

johnkil/Android-AppMsg · GitHub

The Making of Prixing #4: In-layout Notifications – Cyril Mottier