ȥå   Խ ʬ Хåå ź ʣ ̾ѹ   ñ측 ǽ   إ   ǽRSS

Titanium Mobile/Android

Last-modified: 2016-05-30 () 14:20:05 (477d)
Top / Titanium Mobile / Android

Android

  • Titanium Studio夫[Distribute - Android App Store] - [Keystore Locationnew]ˤäƥȥե뤬뤬Publishȥӥե顼Ȥʤ(java.io.IOException: Parse Generalized time, invalid format)ޥɥ饤OKǤ ͡ȥե̾ϥץ̾.keystoreKey Aliasϥץ̾ȤOK ͡Publisher̾papuu.jp̾appsȤ
  • ŤUIGoogle Play Developer Console夫apkե򥢥åץɤȤϻ˼Ԥޤ(顼åapk򥵡СǽǤޤǤ)Google Play Developer ConsoleȱΡֿǥץܥ󤫤鿷ǥڤؤOK

AndroidץapkեasrcǻꤹиǤޤޤʤȤϼMIME typeꤷޤ
.htaccess

AddType application/vnd.android.package-archive apk

ActionBar

Android 3.0ʹߤüˤϥץ˥塼ɽ뤿Υϡɥʤʪ¿ǡ Action BarȤ˥塼ѤοݡͥȤ̾ɽ뤳Ȥ侩Ƥ뤽Ǥ

TIPS

Ti.4.0.0.GAΥơޤActionBar̵ˡ
windowActionBar false

Ti.4.0.0.GAΥơޤActionBarξκ٤Сäˡ
android:windowNoTitle true

Ti.3.3ʹߥǥեȤɽActionBarɽȤˡ

  • ơޤ򥫥ޥ
  • activity.actionBar.hide()

navBarHiddenϸޤ

API٥

ǿΥϤ

AndroidСAPI٥ɥ͡2015-11-24Υ2014-11-03Υ2014-04-01Υ
2.2.x8Froyo0.2%0.6%1.1%
2.3.09Gingerbread
2.3.1
2.3.2
2.3.310Gingerbread MR13.8%9.8%17.8%Titanium SDK Ver.3.1.2ʹߤMin Ver.
2.3.4
2.3.5
2.3.6
2.3.7
3.0.x11Honeycomb0.1%ActionBarѤMin ver.
3.1.x12Honeycomb MR1
3.2.x13Honeycomb MR2
4.0.014Ice Cream SandwichExpanding and collapsing action itemsѤMin ver.
4.0.1
4.0.2
4.0.315Ice Cream Sandwich MR13.3%8.5%14.3%
4.0.4
4.1.x16Jelly Bean11.0%22.8%34.4%
4.2.x17Jelly Bean MR113.9%20.8%18.1%
4.3.x18Jelly Bean MR24.1%7.3%8.9%
4.4.x19KitKat37.8%30.2%5.3%
4.4w20KitKat ֥üĥ
5.021Lollipop15.5%
5.0.1
5.0.2
5.122Lollipop MR110.1%
6.023Marshmallow0.3%

ͥڡ

Androiddzȯ(iPhoneץ곫ȯȤ㤤Titanium SDKΥС 2.1.2GAʹߤǻǤ)

  1. ɤ߹Ȥ'/image/foo.png'Τ褦˥å夫ϤʤAndroidǤϥ顼Ȥʤ롣
  2. touchstart٥Ȥʤɤǥ꡼ɸϤglobalPointѤȥ顼Ȥʤ롣 ... DEPRECATEDȤʤäƤΤǡiPhoneǤx/yǼsourceΥ֥Ȥ˱globalPoint᤿ɤǤ
  3. ImageViewطʲΥԡȤꤷƤ⡢᡼Ȱդ˳ɽ롣 ... WebViewǤAndroidǤԡȤƤޤ礦ʤΤImageViewطʤߤͤȤAndroid礭ߤͤ᤿̲Ѱդޤ
  4. ImageViewImageViewʤɤҤˤȡҤˤݡͥȤɽʤAndroidǤư褦ˤ뤿ˤViewaddʤȤʤ
  5. 륦ɥaddƤview򡢤鳫̤ΥɥˤaddȤưiOSAndroidǰ㤦iOSǤξΥɥɽ롣AndroidǤϳɥɽ줺äȤ˸ΥɥǤäƤ롣ǽ餫viewϣĤΥɥ˽°ΤȤΤ߷׾ɤremoveƤadd뤫view򥳥ԡadd뤫б롣
  6. iPhone: Labelʤɤwidth, heightꤷʤ0Ȥʤ롣
    Android: Labelʤɤwidth, heightʸ˹碌ꤷƤ롣
  7. iPhone: LabelʤɤǾ岼֤ꤷʤȤ󤻤Ȥʤ롣
    Android: LabelʤɤǾ岼֤ꤷʤȤ岼󤻤Ȥʤ롣
  8. iPhone: TextAreaheightautoȤȤԿѤäƤ⤵Ѥʤ
    Android: TextAreaheightautoȤȤϤԿˤäƹ⤵Ѥ롣
  9. ֥ȥץѥƥ̤ξˡiPhoneundefinedAndroidnullˤʤ ... к=== undefinedפǤʤ== undefinedפӤ
  10. createWindow({orientationMode:[Ti.UI.PORTRAIT]});פȤȤAndroidĸȤʤʤ ... кvar win = createWindow(); win.orientationMode = [Ti.UI.PORTRAIT];פȤ
  11. Android: Ti.Network.HTTPClientTi.UI.WebViewcookie϶ͭʤTi.Network.HTTPClientƱΤǤ⡢cookie϶ͭʤ
  12. Android: ScrollViewcreateˡshowHorizontalScrollIndicator: trueפȤʤȥ뤷ʤ
  13. Android: evalJSʣԤμ¹ԤǤʤevalJS('a = xx; b = yy';); ... кԤɾRhinoκäʤΤǡľäƤ뤫
  14. Android: WebViewǻѤƤjsեγĥҤѤʤȡDistributeȤapkե˴ޤޤʤ
  15. JSON.parse(file.read().text);פȤ褦ˡ.textפʤȥѡ顼Ȥʤ롣
  16. 2ԥåΥɤ㤦
    Titanium Android:2Picker | ⤮ä㤦⤮Ū
  17. ϢĢĢϢȤΥɤ㤦
    ץϢȤIntentȤĶñ | ⤮ä㤦⤮Ū
  18. TabWindowfocus٥Ȥʤơ֥Section̵
    TitaniumΥϥΣ | Excite Smartphone Engineer's Blog ... AndroidǼˡSectionäݤTableViewRowɽˡ
  19. Ti.Platform.localeͤ㤦 iOS: ja, en, ... Android: ja-JP, en-US, ...

    Ϣurl

Android TIPS

Android splash̤ǥȥСӥʥӥСɽʤˡ

tiapp.xml򳫤ͤ򤹤٤trueȤޤ

    <statusbar-hidden>true</statusbar-hidden>
    <fullscreen>true</fullscreen>
    <navbar-hidden>true</navbar-hidden>

Android TIPS