ããã®ã¨ãããã£ã¨ Node-RED ã®ãµã³ãã«ãè¦ãªããåãã¼ãã®ä½¿ãæ¹ã確èªãã¦ãã¾ãã é åºãã®è¨äºã¯ãã¡ã ãã確èªãã ãããä»åã¯Execãã¼ãã§ããExecãã¼ãã使ãã¨å¤é¨ã®ã³ãã³ããå®è¡ãããã¨ãã§ãã¾ããã³ãã³ããåºåãããæ¨æºåºåãæ¨æºã¨ã©ã¼åºåãªã©ããã¼ãããåºåã§ãã¾ãã æ¨æºåºåã®å 容ãåºåãã æåã«ç¢ºèªãããµã³ãã«ã¯ã flows > node-red > function > exec > 01 - Get standard output from external command ãã§ãã Execãã¼ãã®ããããã£ãè¦ãã¨ä»¥ä¸ã®éãã«ãªã£ã¦ãã¾ãã å®è¡ã³ãã³ãã¯ã echo ã msg.payload ã§åãåã£ãå¤ãå¼æ°ã¨ãã¦å©ç¨ åºåã¢ã¼ãã¯ã ã³ãã³ãçµäºæ - execã¢ã¼ã ã ã³ãã³ãçµäºæã«çµæãåºåãã¾ã Execãã¼ãã«ã¯åºåãã¼ãã
ååã¯ããã³ã 対å¿ããã¢ããªã±ã¼ã·ã§ã³ã®åºæ¬æ©è½ãç´¹ä»ãã¾ããã ä»åã¯Tablet対å¿ããéã«Phoneä¸ã§å®ç¾ãã¦ããæ©è½ãã©ããã風ã«Tabletä¸ã§è¡¨ç¾ãããã説æãã¦ããã¾ãã ã¾ãã¯å®éã«å¯¾å¿ãå®äºããã¢ããªã®ç»é¢ãè¦ãªããçµæçã«ã©ããªã£ãã®ãã説æãã¦ããã¾ãã âTabletç¨ç»é¢ ã»ç»é¢ãå·¦å³2åå²ãã¦å·¦å´ã«ãµã ãã¤ã«ç¨ã®GridViewãå³å´ã«é¸æããç»åã®é«è§£å度表示ãè¡ãã¾ãã ã»ç»é¢ä¸é¨ã«ã¯ActionBarãé ç½®ãã¦ãå·¦ä¸ã«ã¯ã¢ããªã±ã¼ã·ã§ã³ãã´ã¨å称ãå³ä¸ã«ã¯åæ©è½å¼ã³åºãç¨ã®ãã¿ã³ã表示ãã¾ãã ã»ç»é¢ä¸é¨ã«ã¯ãµã ãã¤ã«ã®åãæ¿ãï¼ã©ã³ãã³ã°ï¼ãæ°ã«å ¥ãï¼ãã¿ã³ã¨ãå ¨ã¦ã¼ã¶ã®ãæ°ã«å ¥ãç»é²åæ°ã¨ãæ°ã«å ¥ãç»é²ãã¿ã³ï¼âï¼ã表示ãã¾ãã ã»ç»é¢å³ä¸ã«ãªã³ã°åã®ProgressBarãé ç½®ãã¦ããµã ãã¤ã«æ´æ°ä¸ã¾ãã¯é«è§£å度ç»åãã¦ã³ãã¼ãä¸ã¯Progress
æ¬è¨äºã¯Android Developersã®Designing for Seamlessnessãæ訳ãå çãããã®ã§ããAndroidã¢ããªãã·ã¼ã ã¬ã¹ã«é£æºãããããã®ãã¦ãã¦ãç´¹ä»ãã¾ãã ç¹æ§ãç解ãã ã¢ããªã±ã¼ã·ã§ã³ãé«éã«åä½ããã¬ã¹ãã³ã¹ãè¯ãã¦ããã¢ããªã±ã¼ã·ã§ã³é·ç§»ããã¤ã¢ãã°è¡¨ç¤ºãä¹±ç¨ããç¡è¨ç»ãªUIãä¸ç¨æãªãã¼ã¿ã®åªå¤±ãæå³ããªãã¿ã¤ãã³ã°ã§ã®æä½å¦¨å®³ãªã©ç¥ããç¥ããã®ãã¡ã«UXã®è¯ããªãè¨è¨ã«ãªã£ã¦ããããããã¾ããããããã®åé¡ã¯ã©ã®ããã«é¿ããã°è¯ãã§ãããï¼ ã¢ããªã±ã¼ã·ã§ã³ãåä½ããã³ã³ããã¹ã Androidãã¬ã¼ã ã¯ã¼ã¯ã®ç¹æ§(ã¢ããªã±ã¼ã·ã§ã³ã¸ã©ããªå½±é¿ãä¸ããã) ãç解ãããã¨ãéçºã®æå©ãã«ãªãã¾ãã ã¦ã¼ã¶æä½ã妨ããªã ã¦ã¼ã¶æä½ã®ã·ã¼ã ã¬ã¹æ§ã§åé¡ã«ãªãã±ã¼ã¹ã¨ãã¦ããããã®ããä»ã®ã¢ã¯ãã£ããªã¢ããªã±ã¼ã·ã§ã³ãç¡è¦ãã¦ãèªåã®ãã¤ã¢
Android 端æ«ï¼å®æ©ãã¾ãã¯ã¨ãã¥ã¬ã¼ã¿ã¼ï¼ã®ç»é¢ããªã¢ã«ã¿ã¤ã 㧠PC ä¸ã«è¡¨ç¤ºãããã¼ã«ã â»è£½åã®ãã¢ã³ã¹ãã¬ã¼ã·ã§ã³ãåå¼·ä¼ãªã©ã®ãã¬ã¼ã³ãã¼ã·ã§ã³ã§ãèªç±ã«å©ç¨å¯ â»éæ¢ç»ãä¿åå¯ ãã¦ã³ãã¼ã æ°ï¼Ver.3.00 æ§ï¼Ver.2.50 [ASM_2_50.zip] (235,929 Bytes) åä½ç°å¢ Java 1.5 以éãåä½ãã OSï¼PCï¼ Android SDK 1.5 以éã®ç«¯æ«ï¼å®æ©ãã¾ãã¯ã¨ãã¥ã¬ã¼ã¿ã¼ï¼ â»ã¾ã㯠adb äºææ©ï¼Firefox OS / Google Glass...ï¼ ã¤ã³ã¹ãã¼ã« Java Runtime Environmentï¼JREï¼ãã¾ãã¯ãJava Development Kitï¼JDKï¼1.5以éãã¤ã³ã¹ãã¼ã«ããbin ãã£ã¬ã¯ããªã¸ãã¹ãéã Android SDK 1.5 以éãã¤ã³ã¹ãã¼ã«ããtools ãã£
ActionBarSherlock is an extension of the support library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API. The library will automatically use the native action bar when appropriate or will automatically wrap a custom implementation around your layouts. This allows you to easily develop an application with an action bar for every versi
æ¥æ¬Androidã®ä¼ã®ã¡ã¼ãªã³ã°ãªã¹ãã§ãç»é¢é·ç§»æã®ã¢ãã¡ã¼ã·ã§ã³ãã¨ããã¿ã¤ãã«ã®æ稿ãããã¾ããã 質åå 容㯠ããã¢ããªã«ã¦ç»é¢ã«è¨ç½®ãããã¿ã³ãæ¼ãã¨ç¾å¨è¡¨ç¤ºããã¦ããç»é¢ãå·¦ã¹ã©ã¤ã ããã¦å¥ã®ç»é¢ã«é·ç§»ããããã¨ãããã¨ãè¡ãªãããã®ã§ãããAndroidã§å®è£ 㯠å¯è½ã§ããããï¼ ãã®è³ªåã«å¯¾ãã ç»é¢é·ç§»æã®ã¢ãã¡ã¼ã·ã§ã³ã¯ã Activityã®Themeã®è¨å®ã§å¯è½ã§ãã ã¨ããã¡ã¼ã«ãåçããã¾ããã
Androidã§ãiPhoneã¿ããã«ã¬ãã£ã¨ç»é¢é·ç§»ãããï¼ã¨æã£ããã¨ããã¾ãããï¼ ä¸ä¸å·¦å³ãã次ç»é¢ãå ¥ã£ã¦ãããããªãã¤ã§ãã ç¥ããªãã£ãã®ã§ãããå®ã¯Androidã§ãç»é¢é·ç§»ãã¢ãã¡ã¼ã·ã§ã³ãããæ¹æ³ãããã¾ããã ãããããªãç°¡åã§ãã 調ã¹ã¦ããéã«ããã¡ãã®ãµã¤ããããªãåãããããã£ãã®ã§ãå ·ä½çãªã³ã¼ãã«ã¤ãã¦ã¯ãã¡ããåèã«ãã¦ã¿ã¦ãã ããã http://www.adamrocker.com/blog/289/activity_open_close_animation.html 以ä¸ã¯ã¢ãã¡ã¼ã·ã§ã³ã®å¹ ãåºããããã®è£è¶³ã«ãªãã¾ãã Animation ä¸è¨ãµã¤ãã§ã¯æ¬¡ç»é¢ãä¸ããåºã¦ãããããªã¢ãã¡ã¼ã·ã§ã³ã§ãããXMLã®è¨è¿°æ¬¡ç¬¬ã§æ§ã ãªã¢ãã¡ã¼ã·ã§ã³ãå¯è½ã§ãã ã¢ãã¡ã¼ã·ã§ã³ã®ç¨®é¡ã¨ãã¦ã¯æ¬¡ã®æ§ãªãã®ãããã<set>è¦ç´ å ã«è¤æ°è¨è¿°ããã
èª²é¡ Androidã®ç»é¢ã¬ã¤ã¢ã¦ãã§ScrollViewã®ä¸é¨ï¼ä¸å´ï¼ã«ãã¿ã³ã¨ãããã¹ããé ç½®ããã ScrollViewã«ãandroid:layout_weight="1"ããå ¥ããã ãããå ¥ããªãã¨ScrollViewã®ä¸é¨ã«ã¯ä½ã表示ãããªããï¼ScrollViewã¾ã§ãã表示ãããªãï¼ ã¬ã¤ã¢ã¦ãXML <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="cent
2010å¹´7æ24æ¥åææ¥ android CursorJoiner ã¢ã³ããã¤ãSDKã«å«ã¾ããCursorJoinerã§ã¯ã¾ã£ãã®ã§è¨é²ãæ®ãã¦ãããã ã¾ããä½ããããã¨ãããã¨ãã㨠android.provider.ContactsContract.Groupsãã¼ãã«ããã°ã«ã¼ãä¸è¦§ãã²ã âGUIã§ã°ã«ã¼ããé¸æãããã¨ããã®ã°ã«ã¼ãIDããæå±ããã¦ã¼ã¶ä¸è¦§ããããããé ã§åå¾ âGUIä¸ã«è¡¨ç¤º ã°ã«ã¼ãIDãããã°ãGroupMembership.CONTENT_ITEM_TYPE ã使ã£ã¦android.provider.ContactsContract.Data.ãã¼ãã«ããã¡ã³ãã¼ä¸è¦§ãã²ããã¨ãã§ããããããã«ã¯ååã¯ãããã¨ãã¬ããç»é²ããã¦ããªãããã®ããã¨ãã¬ããContactsContract.CommonDataKinds.Structured
android.databaseããã±ã¼ã¸ã«CursorJoinerã¨ããã¯ã©ã¹ãããã¾ããããã¯ä½ãã¨ããã¨ï¼ã¤ã®ç°ãªãCursorã®ãã¼ã¿ãJoinã£ã½ãæ±ããã¨ãã§ããã¯ã©ã¹ã§ããã¨ãã°Content Providerå士ã®ãã¼ã¿ãJoinããã¦ãããã¨ãã«ä½¿ããã¨ãã§ãã¾ãã 使ãæ¹ã¯ããªãã¡ã¬ã³ã¹ã«ããéãã CursorJoiner joiner = new CursorJoiner(cursorA, keyColumnsofA, cursorB, keyColumnsofB); for (CursorJointer.Result joinerResult : joiner) { switch (joinerResult) { case LEFT: // handle case where a row in cursorA is unique break; case RIGHT
2009å¹´11æ11æ¥ [EditTextãã®â¡]å 容å¤æ´ã¤ãã³ããåãåã å ¥åããå 容ãå¤ãã£ãç¬éã«å¦çããããâ¦ã DBããã®æ¤ç´¢ã¨ãããããªæã«ããã¾ãããã EditTextã§ã¯å ¥åããå 容ã å¤åããã¤ãã³ããåãåããã¨ãåºæ¥ã¾ãã TextView::addTextChangedListener(TextWatcher watcher) ãå©ç¨ãã¾ãã EditTextã¯TextViewãç¶æ¿ãã¦ããããã åé¡ãªã使ç¨ã§ãã¾ãã ã¾ãã¯TextWatcherã¯ã©ã¹ãç¶æ¿ãããã¯ã©ã¹ãä½æãã ã¤ãã³ããåãåã£ãå¾ã®å¦çãå®è£ ãã¾ãã ã¨ãJavaã«è©³ãããªãã®ã§ãå¿ è¦ãªé¢æ°ã®ã¿ã Overrideããã°ãããã¨æã£ãã®ã§ããã Eclipseã«æããã¾ããã æãããªãããã«Eclipseã®æ示ã«å¾ã£ãã®ã 以ä¸ã®å®è£ ã«ãªãã¾ãã public void onCrea
åã¬ã³ã¼ãã¯ã_ID ã¨ããèªèº«ãèå¥ãããã£ã¼ã«ããæã£ã¦ãã¾ãã ãã®ãã£ã¼ã«ãã¯èªèº«ãèå¥ããã¨åæã«ãä»ã®ãã¼ãã«ã¨JOINããéã«ãå©ç¨ããã¾ãã ååãã¯ãCursor ãªãã¸ã§ã¯ããè¿ãã¾ãã ããã¯JDBCã§è¨ãã° ResultSet ã®ãããªãã®ã§ãã ããããåè¡ã®å¤ãåã£ã¦ãããã¨ãã§ããããåã®åãç¥ããã¨ãã§ãã¾ã(ResulSetMetaDataã®ããã«)ã URI ããããã® Content Provider ã¯ãpublic URI ãå ¬éãã¦ãã¾ãã ãããåãã¼ã¿ã»ããã®ã¦ãã¼ã¯ãªèå¥åã¨ãªãã¾ãã è¤æ°ã®ãã¼ã¿ã»ããï¼ã¤ã¾ãè¤æ°ã®ãã¼ãã«ã®ãã¼ã¿ï¼ã¯ããããããç°ãªã URI ã«ãã£ã¦å ¬éããã¾ãã URI ã¯å ¨ã¦ content:// ããå§ã¾ãã¾ãã ãã® Scheme ã¯ããã®ãã¼ã¿ã Content Provider ã«ãã£ã¦æä¾ããããã¨ãæ
Spinnerã¯ã©ã¹ã®ä½¿ãæ¹ã«ã¤ãã¦ã¯ä»¥åã ãSpinnerã¯ã©ã¹ã使ã£ã¦ã³ã³ãããã¯ã¹ã表示ãããã§ç´¹ä»ãã¾ããã Spinnerã¯ã©ã¹ã®ãããããã¦ã³ãªã¹ãã®å³å´ã«ã¯ã©ã¸ãªãã¿ã³ããããä»é¸æããã¦ããé ç®ã ä¸ç®ã§åããããã«ãªã£ã¦ãã¾ããããã®ã©ã¸ãªãã¿ã³ã¯å¥½ããªã¢ã¤ã³ã³ã«å¤ãããã¨ãã§ãã¾ãã ã¨ããããã§ãä»åã¯Spinnerã¯ã©ã¹ã®ã©ã¸ãªãã¿ã³ãã«ã¹ã¿ãã¤ãºããæ¹æ³ã«ã¤ã㦠説æãããã¨æãã¾ããããããã¯ç¶ãããã©ããã ã¢ã¤ã³ã³ã®æ ¼ç´ ã¾ãã¢ã¤ã³ã³ã®ç»åãã¡ã¤ã«ãå解å度ã«åãã㦠res/drawable-hdpiãres/drawable-ldpiãres/drawable-mdpiã«æ ¼ç´ãã¾ãã ã»ã¬ã¯ã¿ã®ä½æ 次ã«ã»ã¬ã¯ã¿ãä½ãã¾ãã ã»ã¬ã¯ã¿ã¯ãªãã¸ã§ã¯ãã®ç¶æ ã«å¿ãã¦ãªãã¸ã§ã¯ãã®è¨å®(ç»åãè²ãªã©)ã èªåçã«å¤ãã¦ãããããã¿ã§ãã res/drawab
Androidã®ãã¬ã¼ã ã¯ã¼ã¯ã«ã¯Androidãå¼·ãç¹å¾´ä»ããIntentã¨ããä»çµã¿ãããã Intentã¯ActivityãServiceã¨ãã£ãå®è¡åä½ã®ã³ã³ãã¼ãã³ããèµ·åããå ´åã«å©ç¨ãããã ããã°ã©ãã¯startActivityãstartServiceã¨ãã£ãé¢æ°ãç¨ãã¦Activityã¨Serviceã®èµ·åãå½ãããããã®ã¨ãå¼æ°ã«Intentã使ããã¨ã«ããå®è¡å¯¾è±¡ãæå®ããã Intentãåªãã¦ããã®ã¯ãã®æå®æ¹æ³ã«ããã Intentã¯æ示çã«ã¯ã©ã¹åãæå®ãããã¨ã«ããæããã«å®è¡ãããã³ã³ãã¼ãã³ããæå®ãããã¨ãå¯è½ã ã ããããããåªããIntentã®å©ç¨æ¹æ³ã¯æé»çãªIntentã®å©ç¨ã§ããã æé»çãªIntentãç¨ãããã¨ã«ãããç´æ¥å®è¡ã³ã³ãã¼ãã³ããæå®ããå¿ è¦ããªããªãã ããã«ããã³ã³ãã¼ãã³ãéã®çµåã¯ããç·©ãããªççµåã¨ãªãã å¼åºå ã®
ã¤ãã«auãããandroidã±ã¼ã¿ã¤ãçºè¡¨ããã¾ããã 以ä¸ã«ããããªãå§ããã¨ã¨ãã«ç´¹ä»ããã¦ãã¾ãã ã¤ãã«ZAURUSãNetWalkerã®çæ³ãå®ç¾ãauåã®Androidã¹ãã¼ããã©ã³ãIS01ãã®å®æ©ã ã¼ãã¼ãããã â GIGAZINE ãã¼ãã¤ã¤ã§ããï¼ ãã¦ãä»åã¯ä»¥åSDã«ã¼ãã«ç»åä¿åããã¾ããããèªã¿è¾¼ã¿ããã¾ãã ContentResolverã§SDã«ã¼ãã«ç»åä¿å | Techfirm Android Lab DBããèªã¿è¾¼ã androidå èµã®DBãããã¼ã¿ã®èªã¿è¾¼ã¿ããã¦ã¿ã¾ãã 大ããContext#managedQuery()ã¨ContentResolver#query()ã®ï¼ã¤ã®ããæ¹ãããã¾ããã使ãæ¹ã¯åããªã®ã§ãContentResolverã®æ¹ã§èª¬æãã¾ãã ContentResolver | Android Developers
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}