Androidã¢ããªéçºã®ä½åã¥ãã
Androidã¢ããªéçºã®ä½åã¥ãã
ã¿ã¤ãã«ã¯èªå¼µã§ãã ã¿ããªå¤§å¥½ãpotatotipsã¨ããåå¼·ä¼ã§ä»¥ä¸ã®ãããªãã¼ã¯ããã£ãããã§ãã(ç¾å ´ã«ã¯è¡ã£ã¦ãã¾ãã) æ°ããActivityContextã§ä½ååããã£ããæ°åãªã¼ã¯ãæ¤åºãããã ãªãã¹ãApplicationContextã使ãããã¨ã®ãã¨ãããã§ãããééããªãæ»äººãåºã(èªå¼µ)ã¨æãã¾ãã®ã§ã注æãã ããã (追è¨20160527: ä¿®æ£ãããããã§ã ãªãããã¿ã¾ãã) speakerdeck.com çµè« Application Contextã¯ä½¿ããªãã§ãã ããã(èªå¼µ) (å®éã¯ä½¿ãã¨ãã¯ä½¿ã) ãªãApplication Contextãªã®ã Application Context使ããã!ã¨ããæ ¹æ ã®è¨äºã¨ãã¦ãã¡ãã®ãã§ã³ãªã«ã®Developer's Blogã® [追è¨ãã] Android éçºã§æ°ãã¤ãããã㨠ãå¤æ°å㨠Conte
å»å¹´Androidã½ã¼ã¹ã³ã¼ãã¬ãã¥ã¼ã§ææããäºãå¤ãé ç®ã¾ã¨ãã¨ããè¨äºãæ¸ããæã¯ã¢ããªå ¨ä½ãä¸åº¦ã«è¦ããããªæ©ä¼ãå¤ãã£ããããå 容ã大ããã®ãã®ã°ããæ¸ãã¦ãã¾ããããæè¿ã¯ãã«ãªã¯ã¨ã¹ãåä½ã§ã¬ãã¥ã¼ããæ©ä¼ãå¢ããã®ã§ç´°ããé ç®ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã ããªç§ã§æéãæå®ããæã«èªåã§è¨ç®ãã¦ãã 1000L * 60L * 60L * 24Lã®ãããªã³ã¼ãã TimeUnitã使ãã¾ãããã 24æéã®å ´åã¯ä»¥ä¸ã®ããã«æ¸ãã¾ãã TimeUnit.DAYS.toMillis(1L) ããæååãhttp/httpsã§å§ã¾ãããã§ã㯠URLUtil.isNetworkUrl()ã使ãã¾ãããã ãã ãequalsIgnoreCaseã§å¤å®ãã¦ã¾ãã ãã¼ã¹URLã«ãã©ã¡ã¼ã¿ãä»ä¸ãã¦ãã£ã¦URLãçæããã StringBuilder#append("&key=
é¢é£è¨äº ãã®è¨äºãå¤ããªãã¾ããããå·çæã®å®è£ ãã¼ã¸ã§ã³Kotlin 0.12ãã1.0.2ã¸ã®ã¢ããã°ã¬ã¼ã対å¿ãããéã®ç¥è¦ãè¨äºã«ãã¾ããã Kotlinãå®æ¡ä»¶ã§ä½¿ãã¾ãã å æ¥ãåã®å¤ãå ã®Qonceptã¯ããªã¢ã«é¬¼ãã£ããÃå¯å£«æ¥ãã¤ã©ã³ãã巨大éåå°ããã®éèµ°ãéçºããªãªã¼ã¹ãã¾ããã å¯å£«æ¥ãã¤ã©ã³ãã§å®éã«é¬¼ãã£ããããä¼ç»ã§ãä¸è¬ã®ã客ãããã¹ããã§å°ç¨ã¢ããªã使ããªããã¯ãªã¢ãç®æãã¾ããåå ã«ã¯é¬¼å½¹ã®ã¹ã¿ããããã²ã¼ã é²è¡ã«é¢ããè¨åãªã©ãããããããã¨ã¹ãããiBeacon(BluetoothLE)ãç¨ãã¦é£åãããã¨ã§ããã¡ã¼ã¸ãåããããã¢ã¤ãã ã使ç¨ããããã¯ã¤ãºã解ããããªã©ãã¾ãã Qonceptã®éçºç¯å²ã¯ãiOSã¢ããª(ã¨AppleWatchã¢ããª)ãAndroidã¢ããªããµã¼ããµã¤ãã§ããã å注確å®ã¨ãªã£ãæç¹ã§ãæ®ãæ¥æ°ã¨éçºè ãªã½ã¼ã¹ã«å¯¾
Androidã¢ããªãä½æã»å ¬éãã話 1. Androidã®ã¢ããªã ä½æã»å ¬éãã話 京大ãã¤ã³ã³ã¯ã©ã nonylene 2. èªå·±ç´¹ä» ⢠nonylene (ã®ã«ãã) ! ! ⢠twitterã¨ãGitHubã¨ã ⢠使ç¨è¨èªï¼python, java (android), javascript ãªã© 3. ä»åã®è©± ⢠å¾æã¯Androidã°ã£ãããã£ã¦ã ⢠å¤ã®çµããããä½ã£ã¦å¬ãããã«å ¬éã ã¾ãã ⢠ã¨ãããã¨ã§Androidã¢ããªã®ã話 4. ç®æ¬¡ ⢠èªå·±ç´¹ä» ⢠Androidã¨ã¯ ⢠éçºãã¾ããã ⢠hello world ⢠ã¢ããªã®ä»çµã¿ ⢠ä½ã£ãã¢ã㪠⢠ã¢ããªã®å ¬é 5. Androidã¨ã¯ ⢠Googleæ§ãéçºãªãã£ãOS ⢠ã¹ãã¼ããã©ã³ãã¿ãã¬ããåã ⢠linuxã«ã¼ãã«ã使ããã¦ã ⢠大ä½2009å¹´ãããããç»å ´ãã¦ä»ã¯
Androidéçºããã¦ããã¨ãåãintåã§ãDrawableã®idã ã£ããLayoutã®idã ã£ãããã¯ãã¾ãã¢ããªå ã§ä½¿ãç¬èªã®æ°å¤ã§ãã£ããã¨æ§ã ãªä½¿ãåããæ±ããããã·ãã¥ã¨ã¼ã·ã§ã³ãå¤ã ããã¾ãã Android Support libraryã«ã¯ãããªã¨ãã«ä¾¿å©ãªã³ã¼ããè¦ããããæ¸ããããããã¢ããã¼ã·ã§ã³ãandroid.support.annotation ããã±ã¼ã¸ã®ä¸ã«å ¥ã£ã¦ãã¾ãã ãã®ä¸é¨ã®ä½¿ãæ¹ãã¾ã¨ãã¦ã¿ã¾ããã 2016/03/22 è¿½è¨ ãã®2ãè¨è¼ãã¾ãã Androidã®ã³ã¼ãã è¦ãããï¼ æ¸ããããï¼ ããã¢ããã¼ã·ã§ã³ ãã®ï¼ ã¡ã½ããã®å¼æ°ã«Nullã許容ããªã @NonNull ã¡ã½ããã®å¼æ°ã«Nullã許容ããªããã¨ãæ示ã§ãã¾ãã ãããæå®ãã¦ããã¨å¼ã³åºãå´ãå¼æ°ã«Nullãæå®ããå ´åã« Lint㧠Probable bugs ã®
ããã«ã¡ã¯ @wasabeef_jp ã§ã æä½éãããã ãç¥ã£ã¦ããã°Androidã¨ã³ã¸ãã¢ã¨ãã¦èªãããã®ãä¸è¦§ã«ãã¦ãã¾ãã éæããã®Repositoryãæ´æ°ãã¦ããã¾ãã®ã§ãåèã«ãã¦ä¸ããã åç §ï¼wasabeef/ListOfAndroidLibraries UIç³»ã®ã©ã¤ãã©ãªã¯å«ãã¦ã¾ãã Networking Name | Repository | License --- | --- | --- | --- Android Asynchronous Http Client | https://github.com/loopj/android-async-http | Apache License V2 Async Http Client | https://github.com/AsyncHttpClient/async-http-client | Apache Li
ã¢ããªãã¼ã±ãã£ã³ã°ç 究æ > ã¢ããªéçº > ãèªåãã»ãã¨ã«å¥½ããªã¢ããªããã¤ãã£ãã250ä¸ãã¦ã³ãã¼ãã®å¤§ããããããããªããªã¼ããã¯ã¯ã¤ã¤ã ãã®ä½è ããããããã®ã¾ã¾ã®å§¿è¦ããã¾ã§ã ãèªåãã»ãã¨ã«å¥½ããªã¢ããªããã¤ãã£ãã250ä¸ãã¦ã³ãã¼ãã®å¤§ããããããããªããªã¼ããã¯ã¯ã¤ã¤ã ãã®ä½è ããããããã®ã¾ã¾ã®å§¿è¦ããã¾ã§ã ç¬åµçãªã²ã¼ã ã¢ããªãªã©ã§ç´¯è¨750ä¸ãã¦ã³ãã¼ãã®ãããããããã«ã話ã伺ãã¾ãããä¸æè°ãªä¸ç観ã®ã¢ããªã¯ã©ã®ããã«ãã¦çã¾ãã¦ããã®ãï¼ â»æ ªå¼ä¼ç¤¾ããããç³æ¬ããï¼ã¤ã¡ã¼ã¸ç»åï¼ ããããã§ããã¾ã§ã ç³æ¬ããã¯ãã¢ããªéçºãã¯ãããåã¯ãä½ãããã¦ãããã§ããããï¼ ç³æ¬ï¼ ãã¨ãã¨ã¦ã§ãç³»ã®ä¼ç¤¾ã§WEBãã¶ã¤ãã¼ã¨ãã¦åãã¦ãã¾ãããFlashã使ã£ãã¦ã§ããµã¤ãã®æ§ç¯ãã¡ã¤ã³ã§ãã ããããããªã¼ã§ç¬ç«ãã¦ããã®2å¹´å¾ã«æ³äººåãã¦ããããã¤ã
ããããã¿ã¨ããããªããã§ã AndroidJavaããããéçåé¡ ä»¥åã®è¨äºã«ãæ¸ãããã©ãæè¿ã®é¢æ°åããã°ã©ãã³ã°ãRxJavaãªã©ã®æµãã®ä¸ã§ãã©ã ããæ¸ããªãè¨èªã§ã¯éçãæããä½ãAndroidéçºãæã£ã¦ãããéæ³ã®ã¢ã¤ãã ãæ¢ãå¿ è¦ã«è¿«ããã¦ãã¾ããã ããã¦è¡ãçããã®ãKotlinã§ããã Kotlinã¨ã¯ Kotlinã¯ããã°ã©ãã³ã°è¨èªã§ãã JVMè¨èªã§ãããããaltJavaã®ä¸ã¤ã§ãã éçºããã®ã¯Android Studioã®ãã¼ã¹ã¨ãªã£ã¦ããIntelliJãéçºãã¦ããJetBrains社ã§ã2011å¹´ã«çã¾ããã°ããã®ã¨ã¦ãå¹¼ãåã§ãã ç¹å¾´ã¯åæ¨è«ãnullå®å ¨ãé«éé¢æ°ãå¯æãååãªã©ã§ãJavaããæ¸ããããé¢æ°çã§ãå°ä¸ã¤Scalaã»ã©è¤éã«ã¯ãªããªãäºãç®æãã¦ããããã§ãã æè¿ã§ã¯Swiftã«ä¼¼ã¦ããã¨è¨ãããããã§ãã ãªãKotli
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}