This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Titanium x Androidのハマりどころについて質問をもらったので、分かる範囲で共有させて頂きます。 | |
私の調査不足ということもあるので、詳細はご自身でお調べいただければ幸いです。 | |
あと、最後に確認したのが2012年3月頃だった気がするので、少し情報が古いかもしれません。 | |
・機種依存でカメラが落ちるなど | |
Xperiaだったかしら? | |
独自のカメラAPIを使っている端末についてはカメラ撮影時にアプリが落ちるなどの不具合が発生します。 | |
ちょちょいと対応できるものではないので、契約時に標準のカメラAPIが対応していない機種については対応しないor別途開発期間をもらうなどの同意をとっておく必要があるかと思います。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//The table view row just has to have a full height view in order | |
//to trigger the TableView touchstart | |
function LongTouchTableViewRow(_title) { | |
var row = Ti.UI.createTableViewRow({ | |
height:50 | |
}); | |
var v = Ti.UI.createView({ | |
height:50 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
As of version 1.1.2, Propane will load and execute the contents of | |
~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
immediately following the execution of its own enhancer.js file. | |
You can use this mechanism to add your own customizations to Campfire | |
in Propane. | |
Below you'll find two customization examples. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; フォントセット作成 | |
(create-fontset-from-mac-roman-font | |
"-apple-m+ 2m-medium-r-normal--14-*-*-*-*-*-iso10646-1" nil "mplus") | |
(set-fontset-font "fontset-mplus" 'japanese-jisx0208 | |
'("m+ 2m light" . "iso10646")) | |
(set-fontset-font "fontset-mplus" (cons (make-char 'japanese-jisx0208 #x30 #x20) | |
(make-char 'japanese-jisx0208 #x74 #x7f)) | |
'("ヒラギノ角ゴ pro w3" . "jisx0208.1983")) | |
(set-fontset-font "fontset-mplus" 'katakana-jisx0201 | |
'("m+ 1m light" . "iso10646")) |
NewerOlder