Netbookã«ãåºã¾ãAndroidã§ããã¤ã¦ãªãWebä½é¨ãï¼Androidã§åãæºå¸¯Javaã¢ããªä½æå ¥éï¼9ï¼ï¼3/3 ãã¼ã¸ï¼ ã¿ããã®ã¢ã¼ã·ã§ã³ã¸ã§ã¹ãã£ã¼ã§æä½ããã«ã¯ï¼ æè¿ã®PCåãã®Webãã©ã¦ã¶ã¯ããã¦ã¹ã¸ã§ã¹ãã£ã¼æ©è½ãæè¼ãã¦ããããå¾ããä»ããããããã¦ã使ã£ã¦ãã人ã«ã¨ã£ã¦ã¯ããªãã¦ã¯ãªããªãåå¨ã«ãªã£ã¦ããã®ã§ã¯ãªãã§ãããããçè ããã®ãã¡ã®1人ã§ãã æ®å¿µãªãããAndroidã®æ¨æºWebãã©ã¦ã¶ã«ã¸ã§ã¹ãã£ã¼ã¯ãªãã®ã§ããããªãããããèªåã§Webãã©ã¦ã¶ã¢ããªãä½ãæå³ãåºã¦ãã¾ããç¹ã«ã¢ãã¤ã«åãã¨ãªãã¨ãå ´æãåãã³ã³ããã¼ã«ã¯éªéã§ã«ãªãã¾ãããç»é¢ãæå¹æ´»ç¨ãããã®ã§ã端æ«ã®ã¿ããã¹ã¯ãªã¼ã³ãé§ä½¿ããã¢ã¼ã·ã§ã³ã¸ã§ã¹ãã£ã¼ãå®ç¾ãããã§ãããWebViewã«ã¯ããsetOnTouchListener(OnTouchListener)ãã¡ã½ãã
AppWidgets ã¨çé»ååã«ã¤ãã¦ãä¸è¨ãªã³ã¯å ã«èå³æ·±ããã©ã¤ã¢ã«è¨äºãããã¾ããã ãæã£ããããçé»å対å¿ã®ä½ãã«ããã®ã«æéããã£ã¦ãã件 - éäºããéèµ°ãããæ¥è¨ã http://d.hatena.ne.jp/TAKAOMAYA/20090728/1248751971 â»ãã®è¨äºã¯ãè¤æ°ã®ã¨ã³ããªã«åå²ããã¦ããã®ã§ããã£ãã RSS ã§ãã£ã¼ãããæ¹ãèªã¿ãããã§ã ãã©ã¦ã¶ããèªãã«ã¯ããªã³ã¯å å ã®å·¦æ¹åã¸ã®ãªã³ã¯ã®é ã«èªãã®ãæ£è§£ æ¬é¡ã«æ»ãã¨ãåé¢é£ã¨ã³ããªã®æå¾ã§ãonReceive() ãã AppWidgetManger ã®åå¾æ¹æ³ãã»ã»ã»ã¨ããæ¸ãè¾¼ã¿ã§çµäºãã¦ãã¾ããããã é¢ä¿ãªããããããªãã§ãããContext ãã AppWidgetManager ã®ã¤ã³ã¹ã¿ã³ã¹ãåå¾ããæ¹æ³ã以ä¸ã«æ¸ãã¦ããã¾ãããã public void onReceiv
SDã«ã¼ãã«ç´æ¥ã¢ã¯ã»ã¹ããã«ã¯æ¬¡ã®ãããªæãã«æ¸ãã¨ãSDã«ã¼ãããã¦ã³ãããã¦ãããã£ã¬ã¯ããªãFileãªãã¸ã§ã¯ãã¨ãåå¾ã§ãã¾ãã File file = Environment.getExternalStorageDirectory(); ã¡ãªã¿ã«ãããã§ãfile.getPath()ããã㨠/sdcard ãåå¾ã§ãã¾ãããªã®ã§ã次ã®ãããªæãã§æ¸ãã¦ãSDã«ã¼ããFileãªãã¸ã§ã¯ãã¨ãã¦åå¾ã§ãã¾ãã File file = File("/sdcard"); ãã ããã® /sdcard ã¨ãããã¹æååããã£ã¨ãã¦ã³ãå ã¨ãã¦ä¿éããã¦ããããã§ããªãã®ã§ãé常SDã«ã¼ãã«ã¢ã¯ã»ã¹ãããããªå ´åã¯ãEnvironment.getExternalStorageDirectory() ã使ç¨ããæ¹ãå®å ¨ã£ã½ãã§ãã ã«ãã´ãªã¼: æè¡ã¡ã¢ | ãã©ãã¯ãã㯠URL â»è¨å
ååããç°¡åãªRSSãªã¼ãã¼ã¢ããªãé¡æã«ãAndroidã¢ããªéçºã®å®éããä¼ããã¦ãããä»åã¯ä¸»ã«ãã¢ããªã®èã¨è¨ããRSSã®ãã¼ã¹æ©è½ã«ã¤ãã¦ãå®éã®ããã°ã©ã ã«æ²¿ã£ã¦è§£èª¬ãã¦ãããã RSSã¨è¨ã£ã¦ããä¸èº«ã¯ã·ã³ãã«ãªXMLã§è¨è¿°ããã¦ãããããã§è§£èª¬ããå 容ã¯ãä»å¾RSSãªã¼ãã¼ã ãã§ãªãããã¾ãã¾ãªWebãµã¼ãã¹ã®APIãå©ç¨ããã¢ããªãä½ãéã«å¿ç¨ã§ããã ããã XMLãã¼ãµã¼ã¯ç¨éã«åããã¦é¸ã¶ Javaãã©ãããã©ã¼ã ä¸ã§XMLãæ±ãéã®APIã¨ãã¦ã¯ãç¾å¨ã®ã¨ãã大ããåãã¦æ¬¡ã®ä¸ã¤ãå©ç¨ããã¦ããã ï¼ï¼ï¼DOM (Document Object Model) --- ããªã¼ã»ãã¼ã¹ã®API ï¼ï¼ï¼SAX (Simple API for XML) --- ã¤ãã³ãã»ãã¼ã¹ã®APIï¼Pushåï¼ ï¼ï¼ï¼StAX (Streaming API for XML) --- ã¤
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}