This blog is a blog for the study of hirou that aims at an independent web creator. The knowledge such as Flash actionscirpt3, CSS2, CSS3, Javascript, jQuery, microformats, and SEO is being studied evenly now. This blog is customized fast as a proving ground of the design. HTML5ã§ä¸çªæ³¨ç®ããã¦ããæ°è¦ç´ ã¨ãã£ã¦ãéè¨ã§ã¯ãªãvideoè¦ç´ ããã¹ããã¦ãç°¡åãªãµã³ãã«ã§è©¦ãã¦ã¿ã¾ãããWebkitãã©ã¦ã¶ã§ã®é²è¦§ã§ãé¡ããããã¾ãã(Firefoxã¯ãã¼ã«ã«ã§ã¯è¦ãããã§ããã©ãã»ã»ä½æ ã ããWebä¸ã ã¨è¦ããã¨åºæ¥
以ä¸ã®æ§ãªæ§æã§ã¬ã¤ã¢ã¦ãã«ãããã¨æãã¾ãã ãã¡ã¤ã«æ§æ Main.xml ougi.xml shake.xml MainActivity.java ougiActivity.java shakeActivity.java ShakeListener.java ã¬ã¤ã¢ã¦ãæ§æ ä»åã®ãµã³ãã«ã¢ããªã§ã¯xmlãã¡ã¤ã«ã3æãJavaãã¡ã¤ã«ã4æå¿ è¦ã¨ãªãã¾ãã LayoutXMLã¨JavaClassã®çæ ã¾ããougiActivityç¨ã®Javaã¯ã©ã¹ãã¡ã¤ã«ãç¨æãã¦ã¿ã¾ãã ããã¸ã§ã¯ã/src/isa.androidã«ãã©ã¼ã«ã¹ããã¦ã¦å³ã¯ãªãã¯ã ãæ°è¦ãâãã¯ã©ã¹ããé¸æãã¾ãã ååã«ãougiActivityããå ¥åãã¦å®äºã ã¹ã¼ãã¼ã¯ã©ã¹ã«ãandroid.app.Activityããå ¥å 次ã«xmlãã¡ã¤ã«ãç¨æãã¦ã¿ã¾ããæé ã¯æ¬¡ã®éãã§ãã ããã¸ã§ã¯ã/re
åºæ¬ï¼ã¤ã³ãã³ãã§ã«ã¡ã©ãå¼ã³åºãæ¹æ³ 以ä¸ã®ã¤ã³ãã³ãã使ãã¨æ¨æºã®ã«ã¡ã©ã¢ããªãå¼ã³åºããã¨ãã§ãã¾ãã public void onBasicClick(View view) { Intent intent = new Intent(); intent.setAction(MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(intent, 1); } ã¡ãªã¿ã«ãMediaStore.ACTION_IMAGE_CAPTURE = "android.media.action.IMAGE_CAPTURE" ã«å¯¾å¿ããã«ã¡ã©ã¢ããªï¼Camera 360ãªã©ï¼ãã¤ã³ã¹ãã¼ã«ããã¦ããã°é¸æãã¤ã¢ãã°ã表示ããã¾ãã æ®å½±ãããç»åãã¼ã¿ã¯ä»¥ä¸ã®ããã«åãåãã¾ãã @Override protected void onActivit
æ ªå¼ä¼ç¤¾ãã¯ããã§ãFlash Professional® CS5 ãã追å ãããæ°ãããã¡ã¤ã«ãã©ã¼ãããã§ãã âXFLâ ããå®ããã¸ã§ã¯ãã§ä½¿ãå§ããã¨ãã話ãèãã¦ãã¤ã³ã¿ãã¥ã¼ããé¡ããã¾ãããFla ã¨æ¯ã¹ãã¨ããã¼ã¸ã§ã³ç®¡çã·ã¹ãã ãåºæ¬ã¨ãããã¯ããã®å¶ä½ã¯ã¼ã¯ããã¼ã¨ã¯ãé常ã«ç¸æ§ã®è¯ããã¡ã¤ã«ãã©ã¼ãããã¨æããããã¨ã®ãæè¦ã§ããã ä¸ç°ãããã (Kimihiro Ueda) : ãã¯ãã代表ã京é½è²ã¡ãå宿å¨ä½ãå種å¶ä½æ¡ä»¶ã®ãããã¥ã¼ã¹ã«é¢ãã£ã¦ãããå¾èº«ã®è²æã¨æ¥çå ¨ä½ã®æ´»æ§åããã¼ãã«ãWebå¶ä½æè¡ã®å¦æ ¡ããã¯ããã¯ã¼ã¯ã·ã§ããããè¨ç«ãã¢ããèªå®ãã¬ã¼ãã³ã°ã»ã³ã¿ã¼ã¨ãã¦ç¬èªã®è¬åº§ãå±éä¸ã座å³ã®éã¯ä»åæ¬é¡ãæã¯éãªãã blog : http://67.org/uk/ ã ãã¯ãã : http://www.rokunana.com/ å èé亮
æ¬é£è¼ã§ã¯ãJavaScriptã©ã¤ãã©ãªã®ä¸ã§ã人æ°ãé«ã¾ãã¤ã¤ããjQuery UIã¨ãã©ã°ã¤ã³ãåãä¸ãã¾ããä»åã¯ãInput Hint OverlayãText input field filterãjQuery ValidationãPassword StrengthãSimplest Twitter-like dynamic character countã«ã¤ãã¦èª¬æãã¾ãã ã¯ãã㫠第2åãjQuery UIã®ã¦ã£ã¸ã§ããã使ã£ã¦ã¿ãããã§ã¯ãjQueryã®ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæ¡å¼µããjQuery UIã®ã¤ã³ã¹ãã¼ã«ãããjQuery UIã®DialogãDatepickerãAutoCompleteãProgressBarã®ä½¿ãæ¹ãåãä¸ãã¾ããã第3åã§ã¯ã第1åãjQuery UIã®ã¤ã³ã¿ã©ã¯ã·ã§ã³ã使ã£ã¦ã¿ãããã§ãç°¡åã«è§¦ããjQuery Pluginã®ã
ããã«ã¡ã¯ãid:stanakaã§ããæ¨æ¥éå¬ããããã¯ã¦ãªæè¡åå¼·ä¼ #2ã®è³æ&åç»ãå ¬éãã¾ããä»åã¯ãç¿æ¥ã«å ¬éã§ãã¾ãããä»å¾ããã®ã¹ãã¼ãæãç¶æããããã®ã§ãã ãTitaniumã«ããiPhone/Androidã¢ããªéçºã id:r_kurain ãã¾æã注ç®ããã¤ãããã¹ãã¼ããã©ã³ã¢ããªéçºç°å¢ã§ããTitaniumã«ã¤ãã¦è§£èª¬ãã¾ãã ã¤ã³ã¹ãã¼ã«ãªã©ã®å°å ¥ãããç°¡å㪠Twitter ã¯ã©ã¤ã¢ã³ãã®ä½æã¾ã§ã®ä¸éãã®éçºã«ã¤ãã¦å®éã«åãæ§åã確èªããªãã説æãã¦ããäºå®ã§ãã Titaniumã«ããiPhone/Androidã¢ããªéçºView more presentations from kurain. ãµã³ãã«ã³ã¼ã: https://github.com/kurain/TitaniumMobileSample ãiPhoneã¢ããªéçºè¬åº§Webé£æºã¢ããª
Windowsã¢ããªã®ããªã¼ãã¥ã¼ã£ã½ãUIãWEBä¸ã§ç°¡åå®è£ ã§ããjQueryãã©ã°ã¤ã³ãjquery.dynatreeã 2010å¹´11æ25æ¥- jquery.dynatree.js | jQuery Plugins Windowsã¢ããªã®ããªã¼ãã¥ã¼ã£ã½ãUIãWEBä¸ã§ç°¡åå®è£ ã§ããjQueryãã©ã°ã¤ã³ãjquery.dynatreeãã 次ã®ããã«ããã¶ã¤ã³ãã£ããã®UIãæ¯è¼çç°¡åã«å®ç¾ã§ãã¾ãã ã¹ãã³ã«å¯¾å¿ãã¦ãã¦ã次ã®ããã«ãVistaã£ã½ããããã¨ãå¯è½ ã¢ã¤ã³ã³ãä»ãã¦ããåããããããããã¨ãã§ãã¾ãã ãã©ãã°ï¼ãããããåºæ¥ãããã¾ãã移åãã¦ããæä¸ã®UIãWindowsã¢ããªãã£ãã åããªã¼ã¯Ajaxã«å¯¾å¿ãã¦ãã¦ãèªã¿è¾¼ã¿æã«å ¨é¨èªãå¿ è¦ããªãã巨大ãªããªã¼ã表示ãããã¨ã«ã対å¿ãã¦ãã¾ãã Windowsã¢ããªãªããã§ã¯ä½ãã¨ä¾¿å©ãªãã®UIã§ãã
How to Generate Noise with Canvas ãã¢ãã¼ã¸ï¼å½æ¹ä½æï¼ [ad#ad-2] JavaScript function generateNoise(opacity) { if ( !!!document.createElement('canvas').getContext ) { return false; } var canvas = document.createElement('canvas'), ctx = canvas.getContext('2d'), x, y, r, g, b, opacity = opacity || .2; canvas.width = 100; canvas.height = 100; for ( x = 0; x < canvas.width; x++ ) { for ( y = 0; y < canvas.heigh
é¸æããè¤æ°ã®ã¬ã¤ã¤ã¼ãã¾ã¨ãã¦ã¬ã¤ãã«ããFlashã³ãã³ããå ¬éãã¾ãã æ¦è¦ é¸æä¸ã®ã¬ã¤ã¤ã¼ãé常/ã¬ã¤ãã®ãã°ã«ã§å¤æ´ããFlashã³ãã³ãã§ããæ®éã®ã¬ã¤ã¤ã¼ã«å¯¾ãã¦å®è¡ããã¨ã¬ã¤ãã¬ã¤ã¤ã¼ã«ãã¬ã¤ãã¬ã¤ã¤ã¼ã«å¯¾ãã¦å®è¡ããã¨æ®éã®ã¬ã¤ã¤ã¼ã«å¤æ´ãã¾ãã ä¾ã«ãã£ã¦ã[ç·¨é]ã¡ãã¥ã¼ã®ãã¼ãã¼ãã·ã§ã¼ãã«ããã«å²ãå½ã¦ã¦ä½¿ãã¨ä¾¿å©ã§ããç§ã¯Ctrl+Shift+3ã«ãã¦ãã¾ãã ãã¦ã³ãã¼ã get_guide_layers.mxp ãã¦ã³ãã¼ãå¾ãMXPãã¡ã¤ã«ãå®è¡ãã¦ãã ããï¼è¦Extension Managerï¼ã åä½ç°å¢ Windows 7ãFlash Professional CS5ã§åä½ã確èªãã¦ãã¾ããMac OS XãFlash CS4 Professionalãªã©ã§ã¯ç¢ºèªãã¦ãã¾ããããããããåãã¨æãã¾ãã 使ç¨æ¹æ³ [ã³ãã³ã]ã¡ãã¥ã¼ããã[ã¾ã¨ã
Prashant Panigrahi Adobe Adobe Flash Lite 2.xã¯ãæºå¸¯é»è©±ã¨ã³ã³ã·ã¥ã¼ãåãã¨ã¬ã¯ãããã¯ã¹è£½åç¨ã«ç¹å¥ã«éçºãããFlashãã¯ããã¸ã§ããå½¢ç¶ã«å¶éãããã®ã§ãé常Flash Liteããµãã¼ãããããã¤ã¹ã®å¦çè½åã¨ã¡ã¢ãªã«ã¯éçãããã¾ãããã®è¨äºã§ã¯ãFlash Lite 2.xãã¡ã¢ãªãã©ã®ããã«ç®¡çãããã¨ãã¡ã¢ãªãå¹çãã使ç¨ããã«ã¯Flash Lite 2.xã³ã³ãã³ããã©ã®ããã«æé©åãããã«ã¤ãã¦èª¬æãã¾ãã å¿ è¦æ¡ä»¶ ãã®ãã¥ã¼ããªã¢ã«ãå®äºããã«ã¯æ¬¡ã®ããã¤ã¹ãã½ããã¦ã§ã¢ããã³ãã¡ã¤ã«ãå¿ è¦ã§ãã Adobe Flash Professionalï¼ãã¼ã¸ã§ã³ï¼ã¾ãã¯CS3ï¼ ä½é¨ç è³¼å ¥ Adobe Flash Lite 2.1 Flash Liteãã¬ã¼ã¤ã¼ã¯æ§ã ãªæ§é ä½ã«ãã¤ãããã¯ã«ã¡ã¢ãªãå²ãå½ã¦ã¾ã
ãã£ããAndroidã§ã¿ããããã«ã使ããã£ã¨ãããã¨ã§ãã¼ã¸ãããããã£ã¦ã¿ã¾ããã ãããªæãã«ãºãã£ã¨ããã¾ãã Flexã§ä¸»æµã ã£ã Flexbook ã¯ãã¾ãaddChildãã§ããªãã¦ä»åã¯è¦éãã¾ããã 代ããã«è»½ãã㪠â¢Leaflip ã使ç¨ãã¦ã¾ãã ã¾ããç»åãªã©ã®è¤æ°ãã¼ãã¼ã«ä¾¿å©ãª BulkLoader ã使ç¨ãã¦ãã¾ãã ã¡ãªã¿ã«ã¢ããªã横ç¶æ éå®ã«ããã«ã¯app.xmlã«ä»¥ä¸ãè¨è¿°ãã¾ãã ã»ã»ã» <aspectRatio>landscape</aspectRatio> <autoOrients>false</autoOrients> <fullScreen>true</fullScreen> <visible>false</visible> </initialWindow> ã¡ã¤ã³ãã¥ã¼ viewHome.mxml ãµã¼ãã¼ããåçã®JSONãã¼ã¿ã¼ãåå¾
MediaPlayerã§é³æ¥½ãåçããã¨ããè¨äºãããã¾ããããä»åã¯SoundPoolã使ã£ãæ¹æ³ã説æãã¾ãã ãªã¼ãã£ãªãã¡ã¤ã«ãåçããã¨ããç¹ã§ã¯MediaPlayerãSoundPoolãåãã§ãããSoundPoolã®ç¹å¾´ã¨ãã¦ï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã§è¤æ°ã®é³å£°ãåçãããã¨ãã§ãã¾ããã¾ããå ã«ã¡ã¢ãªã«ãã¼ããã¦ããã¦é³å£°ãé³´ããã®ã§é 延ãå°ãªããã¨ãç¹å¾´ã§ããã²ã¼ã ãªã©ã§ãåçæéãçãå¹æé³ãåçããã¨ãã«ä½¿ãã¾ãã ããã§ã¯ç¶ãã§èª¬æãã¦è¡ãã¾ãã åçããé³å£°ãã¡ã¤ã« åçå¯è½ãªå½¢å¼ã¯WAVEå½¢å¼ï¼ãªãã¢PCMï¼ãoggã§ããMP3ã§ãåçã§ãã端æ«ãããããã§ãããã®ï¼ã¤ã®å½¢å¼ã®ã©ã¡ãåã«ãã¦ããæ¹ãç¡é£ã§ããï¼Xperiaã§ã¯MP3ãåçã§ããªãã¨ããæ å ±ãããã¾ãï¼ ãªã¼ãã£ãªãã¡ã¤ã«ã¯ãªã½ã¼ã¹ããã§ããã¼ã«ã«ãã¡ã¤ã«ããã§ãèªã¿è¾¼ã¿å¯è½ã§ãããªã½ã¼ã¹ã®å ´åã¯re
èå³ã®èµ´ãã¾ã¾ã«åå¼·ãã¦ãããèªã¿æ¸ãã§ããè¨èªã¯9åã«ãªãã¾ãããä»ã«ãããã¤ãæ°ã«ãªãè¨èªããã£ãããªãã£ããï¼ã ã¾ã ã¾ã ç¶ãã楽ãããä»äºãã¼ãã¯ã¯âª « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 » 2010.11.24 (Wed) Titanium Mobileã使ãã¨ãjavascriptã§iPhone/Androidã¢ããªãä½ããããã ã javascriptã§ã®å¶ä½ãªãã«ã¤ãã¯ããã®jsdo.itãåå¼·ãå³æ¹ã«ãªã£ã¦ãããã¯ãï¼ å®éã«Titaniumã使ç¨ãã¦ã¢ããªãä½ã£ãææ³ãã¿ã¦ããæ軽ããããªå°è±¡ã ãTitanium - JavaScript 㧠iPhone/Android ã¢ããªãä½ãã ãªã«ããããµã¼ããã¼ãã£ã®SDKãç¨ããã¨ãã
AS3ã§ï¼ã¤ã®Dataã¯ã©ã¹ã®å·®ãåå¾ããã¯ã©ã¹ãä½æãã¾ããã ç¹ã«ã«ã¦ã³ããã¦ã³çãä½æããæã使ããã¨æãã¾ãã æ»ãå¤ã¯Objectåã§ï¼æ¥/æ/å/ç§/ããªç§ï¼ãå ¥ã£ã¦ãã¾ãã ï¼æ¢ãã°èª°ããããããã¯ã©ã¹ãå ¬éãã¦ããã§ãããæ¢ãã®ãé¢åãããã£ãã®ã§ãï¼ Spark Project ã«ã¢ãããã¾ããã svnã§ä¸è¨ããåå¾ãã¦ãã ããã http://www.libspark.org/svn/as3/Romatica/src/ 以ä¸ã® src/com/romatica/utils/DataUtil.as ã§ãã srcãã©ã«ããåå¾ããflaçããã¯ã©ã¹ãã¹ãéãã¦å©ç¨ãã¦ä¸ããã ãµã³ãã«ãã¼ã¿ [fla] TestDateUtil.fla [swf] TestDateUtil.swf [svn] http://www.libspark.org/svn/as3/
ãã¡ãããã¢ããªéçºã®è©±ã§ãã çµè«ããè¨ãã¨ã«ã¡ã©ã¢ããªãèµ·åããã¨å¼ã³åºãå ã縦åãï¼Portraitï¼ã§ããå¿ ã横åãï¼Landscapeï¼ã«ããã¾ãã ãã¼ããã«ãå¤ãªåããã¾ãã 大æµã®ã¢ããªã¯ä»¥ä¸ã®ï¼ã¤ã®æ¡ä»¶ãããã£ã¦åé¡ãããã¾ããã ã»ã«ã¡ã©ã横åããããªãã¨ä½¿ããªãã£ã ã»æ®å½±ããç»åããã®ã¾ã¾ã®åãã§è¦ã¦å å·¥ãªã©ãããã¨ããé¢ä¿ã§ã¢ããªã横åãå°ç¨ã ã£ã ãã®å ´åã¯ããã¨ãã¨ç»é¢ã横åããªã®ã§ã»ã¼ãã ãããããã«ã¡ã©ã®å¼ã³åºãæ¹æ³ã¯ãAndroidSDKéçºã®ã¬ã·ãâ104åã®ã¬ã·ãã§å¦ã¶Androidã¢ããªéçºã®æ¥µæãå¡ç° ç¿ä¹ (è)ãã®ãã¬ã·ãï¼ï¼ï¼ããããåèã«ãã¦ãã ããããï¼ãã¡ãã宣ä¼ã§ãï½ï¼ 話ãæ»ãã¦ã åé¿æ¹æ³ã¨ãã¦ã¯ãY.A.M ã® éè¨å¸³ ãAndroidãç»é¢ã®ç¸¦æ¨ªåãæ¿ãæã«å ã®ç»é¢ãä¿åããåèã«ãonConfigurationChang
View not attached to window manager ä¾å¤ã®çºçç¶æ³ ProgressDialogãAsyncTaskã®ä¸ã§å®æã«ä½¿ç¨ããã¨ã java.lang.IllegalArgumentException: View not attahced to window managerã¨ããä¾å¤ãçºçãããã¨ããããåç¾ããæ¹æ³ã¯ä»¥ä¸ã®éãã Avitivityã®ä¸ã§AsyncTaskã使ç¨ãããã®å¦çã®æåã«ProgressDialogãä½æãã¦è¡¨ç¤ºããå¦çãçµäºãããdismiss()ãå¼ã³åºãã¦æ¶å»ããã ProgressDialogã表示ããã¦ããéï¼ããããåãã¢ã¤ã³ã³ã®è¡¨ç¤ºä¸ï¼ã«ã端æ«ã®æ¹åãå¤æ´ãããä¾ãã°ãOrientationãPortraitããLandscapeã«å¤æ´ããã ãã°ããå¾ ã¤ã¨ä¸è¨ã®ä¾å¤ãçºçããã Androidã¯Configurati
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}