è§ä¸¸ (ç»åå å·¥ãã¼ã«) ç»åã®é ã è§ä¸¸ã«ãããã¼ã«ã§ããåçã®è§ã丸ããããã¨ãã§ãã¾ãããã©ã¦ã¶ä¸ã§åä½ãã¾ãã 使ç¨æ¹æ³ ã¾ãæåã«åç §â¦ãã¿ã³(ãã®ãã¼ã¸ã®ä¸é¨)ãæ¼ãã¦ç»åãèªè¾¼ãã§ãã ããããã©ãã° & ãããããããã¨ãã§ãã¾ãã ç·¨éå¾ã«ç»åä½æãã¿ã³(æä½ç»é¢ã®å·¦ä¸)ãæ¼ã㨠ç»åããã¦ã³ãã¼ãã§ãã¾ãã å¤ãã®ãã©ã¦ã¶ã®åæè¨å®ã«ããã¦ããã¡ã¤ã«ã®ãã¦ã³ãã¼ãå ´æã¯ããã¦ã³ãã¼ãããã©ã«ãã¨ãªã£ã¦ãã¾ãã ãã®ãã¦ã³ãã¼ãå ´æã¯å¤æ´ãããã¨ãã§ãã¾ãã ã¾ããæ¯åãã¦ã³ãã¼ãæã«ãã©ã®å ´æã¸ä¿åããã®ããããããã¦ããããã«è¨å®ãããã¨ãã§ãã¾ãã (詳細ã¯ãã¡ã) èªã¿è¾¼ã¾ããç»åã®ç¸¦ã¾ãã¯æ¨ªã®ãµã¤ãºã8,000pxãè¶ ããå ´åã«ã¯ãèªã¿è¾¼ã¾ããæç¹ã§8,000pxã«ç¸®å°ããã¾ãã ç»åã®è§ä¸¸å å·¥ã®è¨å®ãä¿åãããã¨ãåºæ¥ã¾ããå å·¥ã®è¨å®ã¯ãã©ã¦ã¶ã®ã¯ããã¼ã«ä¿åã
ååºã®ç®¡çã£ã¦åºæ¬çã«Evernoteã§ããããã«ãã¦ãããã§ãããããããååºãåãè¾¼ãã¹ãã£ãã¼ã¨ãã¦ãAndroidã¢ããªãCamScannerãã使ãããã«ãã¦ãã¾ãã ã¹ãã£ãã³ã°ç³»ã®ã¢ããªã¯ããã¤ã試ãã¦ã¿ããã§ãããAndroidã¢ããªã®ä¸ã§ã¯ãããããã£ã¨ã精度ãé«ãããã¬ã¤ãªPDFã«ãã¦ãããã¢ããªãªããããªãããªã¨æã£ã¦ãã¾ãã ãã¡ãã¯ã¢ããªãéããã¨ãããä»ã®ã¨ããååºã«ãã使ã£ã¦ãªãã®ã§ããã 使ãæ¹ã¯è³ã£ã¦ããããã§ãã ã¢ããªã®ç»é¢ä¸é¨ã«ããã¡ãã¥ã¼ãã¼ã®ãã¡ã°ãå·¦ã«ããã«ã¡ã©ãã¿ã³ãã¿ããããã¨ãæ®å½±ç»é¢ãç«ã¡ä¸ããã¾ããããã§PDFã«ããã対象ãæ®å½±ãã¾ãã ç»é¢å·¦å´ã«ããåå½¢ã®ãã®ã¯ãæ°´å¹³ãã©ããã測ã£ã¦ããã¦ãããã®ã åå½¢ã®ä¸å¿ã«ã¡ã£ããåãããããã«æ®å½±ããã»ããããã§ããã æ®å½±ããã¨ãã¬ãã¥ã¼ç»é¢ã«ç§»ãã®ã§ãããã§åé¡ããªããã°ç¢ºèªãã¿ãããã¾
ããã¤ãã¹ã²ã§! PNGç»åãéå¯éå§ç¸®ãããã©ã¦ã¶ã¢ããªãTinyPNGãã¨ããã®ã試ãã¦ã¿ããã§ãããã¨ãã§ããªãã§ããã³ã¬ã ç»åèªä½ã¯ã»ã¼å¤ãããã®ã«ãé©ç°çãªãµã¤ãºãã¦ã³ãã¾ãã§ç¦æã®ãã¤ã¨ããæ³ã«ãè¦ãããã§ãããã©ããªä»çµã¿ãªãã ã・・・ã TinyPNG â Compress PNG images while preserving transparency 使ãæ¹ã¯ãããããããã ãTinyPNGãã«ã¢ã¯ã»ã¹ããããç»é¢ã®[Drop your .png files here!]ã¨ããã¹ãã¼ã¹ã«ãå§ç¸®ãããPNGãã¡ã¤ã«ããã©ãã°&ããããããã ãã§ãã å§ç¸®ã®ã¿ã¹ã¯ãå®äºããã¨ããã¦ã³ãã¼ããªã³ã¯ã表示ãããã®ã§ããããã¯ãªãã¯ãã¦ãã¼ã«ã«ã«ä¿åããã°OKã ç»é¢é·ç§»ã¯ä¸åããã¾ããã ããã¼ãµã¤ãºãã¦ã³ãã¾ã ããã¯å®éã«ãµã¤ãºãã¦ã³ãã¦ã¿ãçµæã å·¦ãå ç»åã§å³ãTi
iPhoneã»iPadã¢ããªãå¶ä½ããæããªã½ã¼ã¹ç»å㯠â å¾æ¥ã®ãã£ã¹ãã¬ã¤ç¨ â¡ Retina ãã£ã¹ãã¬ã¤ç¨ ä¸è¨ã®2種é¡ãå¿ è¦ã§ããã Androidã¢ããªãåãããã«dpiãã¨ã«ãªã½ã¼ã¹ç»åãç¨æããå¿ è¦ãããã¾ãã ä»å㯠1. å¿ è¦ã¨ãªããªã½ã¼ã¹ç»åãµã¤ãºã®ç¨®é¡ 2. ãã¶ã¤ã³ããæã®ç»é¢ãµã¤ãº 3. ã¢ã¤ã³ã³ãµã¤ãºã®ã¬ã¤ãã©ã¤ã³ ãªã©Androidã¢ããªã®ãªã½ã¼ã¹ç»åãä½ãæã«å½¹ã«ç«ã¤æ å ±ãã¾ã¨ãã¦ã¿ã¾ããã å¿ è¦ã¨ãªããªã½ã¼ã¹ç»åãµã¤ãºã®ç¨®é¡ Androidã¢ããªã®ãªã½ã¼ã¹ç»åã¯å¯¾å¿ããdpiã«ãã£ã¦ç¨æããç»åãµã¤ãºãå¤ããã¾ãã ã¾ããdpiã£ã¦ä½ã§ãããã dpiã¯ãDot Per Inchãã1ã¤ã³ã辺ãã®ãã¯ã»ã«æ°ãæå³ãã¾ããã¤ã¾ãdpiæ°å¤ãé«ããªãã¨ãã£ã¹ãã¬ã¤ãé®®æã§ãããã«ãªãã¾ãã dpiã¯ä¸»ã«ldpi(ä½è§£å度)ãmdpi(ä¸è§£å度)ãhdpi(
4:3/5:4 é常ã®å£ç´ : 1024x768 é常ã®å£ç´ 1280x1024 é常ã®å£ç´ 1600x1200 é常ã®å£ç´ 1920x1440 é常ã®å£ç´ 2560x1920 é常ã®å£ç´ 16:9 HDã®å£ç´ : 1366x768 HDã®å£ç´ 1600x900 HDã®å£ç´ 1920x1080 ãã«HD 2560x1440 QHDã®å£ç´ 16:10 ã¯ã¤ãå£ç´ : 1280x800 ã¯ã¤ãå£ç´ 1440x900 ã¯ã¤ãå£ç´ 1680x1050 ã¯ã¤ãå£ç´ 1920x1200 ã¯ã¤ãå£ç´ 2560x1600 ã¯ã¤ãå£ç´ 2880x1800 ã¯ã¤ãå£ç´ 4K 5K 8K ã¨ãã«ãã¢ãã¿ : 3840x1200 ãã«ãã¢ãã¿ã¼ 3840x2160 UHD 4K 5120x2880 UHD 5K 7680x4320 UHD 8K
æç»é åãã¯ãªããããã¨ãã¯ãªãããããé åã®ã¿ãæç»å¯¾è±¡ã«ãªãã¾ãã ã¯ãªããããé åãæå®ããCanvasã¯ã©ã¹ã®ã¡ã½ãã 以ä¸ã®Canvasã¯ã©ã¹ã®ã¡ã½ããã使ã£ã¦ãã¯ãªããããé åãæå®ãã¾ãã boolean clipRect(float left, float top, float right, float bottom) floatåã®å¼æ°left, top, right, bottomã§æå®ãããç©å½¢é åããRegion.Op.INTERSECTã§ã¯ãªãããã¾ãã boolean clipRect(float left, float top, float right, float bottom, Region.Op op) floatåã®å¼æ°left, top, right, bottomã§æå®ãããç©å½¢é åããRegion.Opã®æå®ã«å¾ã£ã¦ã¯ãªãããã¾ãã boolea
drawBitmapã¡ã½ããã®ç°¡åãªãµã³ãã« Canvasã¯ã©ã¹ã®drawBitmapã¡ã½ããã使ã£ã¦ãBitmapãæç»ããäºãã§ãã¾ãã 以ä¸ã«ãdrawBitmapã¡ã½ããã使ã£ã¦Bitmapãæç»ãããç°¡åãªãµã³ãã«ã示ãã¾ãã ãã®ããã°ã©ã ãå®è¡ããã«ã¯ãres/drawableãã¬ã¯ããªã«ãç»åãã¡ã¤ã«sample.JPGãä¿åããã¦ããå¿ è¦ãããã¾ãã ç»åãã¡ã¤ã«ã¯ãJPGã ãã§ãªãBMPï¼PNGï¼GIFã表示å¯è½ãªããã§ãã BitmapFactory.decodeResourceã¡ã½ããã¯ãres/drawableãã¬ã¯ããªã®ç»åãã¡ã¤ã«ããBitmapãªãã¸ã§ã¯ãã¨ãã¦åå¾ããã¡ã½ããã§ãã drawBitmapã¡ã½ããã¯ãCanvasã«Bitmapãªãã¸ã§ã¯ããæç»ããã¡ã½ããã§ãå¼æ°ã®æå³ã«ã¤ãã¦ã¯ã次ã®ãdrawBitmapã¡ã½ããã®ãªã¼ããã¼ãã¡ã½ããããå
éå»ã«TechBoosterã§ã¯ãCanvasã使ã£ããã¦ãã¦ãå ¬éãã¦ãã¾ãã Viewãã«ã¹ã¿ãã¤ãº(ç¬èªå®è£ )ãã ScaleGestureDetectorã使ã£ã¦ãã³ãã¤ã³ããã³ãã¢ã¦ããèªèãã Canvasã®ç¶æ ãä¿å/復帰ããã æ¬ã¨ã³ããªã§ã¯ãCanvasã«Bitmapã表示ããéã«Matrixã¯ã©ã¹ãç¨ãã¦ç°¡æã«å å·¥(移å/å転/æ¡å¤§ç¸®å°/æªã¿)ãè¡ãæ¹æ³ãç´¹ä»ãã¾ãã Matrixã¯ã©ã¹ã使ã£ã¦Bitmapãå å·¥ãããã¨ã§ãå³å½¢ã®ãã©ãã°ã«ãã移åãããã³ãã¢ã¦ãã«ããæ¡å¤§ãªã©ã¿ããããã«ãæã¤ããã¤ã¹ãªãã§ã¯ã®æä½æãæããããã¨ãå¯è½ã¨ãªãã¾ãã â»ã¿ããããã«ä¸ã®ã¸ã§ã¹ãã£ã¼(ããªãã¯ããã³ãã¢ã¦ããªã©)ã«é¢ããè¨äºã¯ä»¥ä¸ãåèã«ã©ããã ScaleGestureDetectorã使ã£ã¦ãã³ãã¤ã³ããã³ãã¢ã¦ããèªèãã ããã§ã¯ç¶ããã©ããã Canvasã¸ã®B
Androidã§èæ¯ç»åãç¹°ãè¿ã表示ããæ¹æ³ã®ã¡ã¢ã èæ¯ç»åãé ç½®ããã res/drawable/back_img.png xmlãã¡ã¤ã«ãä½æããç¹°ãè¿ããè¨å®ããã res/drawable/back_img_repeat.xml<?xml version="1.0" encoding="utf-8"?> <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/back_img" android:tileMode="repeat" /> ã¬ã¤ã¢ã¦ãã«èæ¯ãæå®ããã res/layout/xxx_layout.xml<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http
androidã¢ããªã®ç»é¢ã§ããè¦ãããã®ãããããç»é¢ã ç»é¢ã®ä¸ç«¯ã«æ¨ªä¸åã«ä¸¦ã¶ãã¿ãã¡ãã¥ã¼ãã¿ã³ã ããã¯ãèæ¯ã¨ãªãå ç»åãã£ã¦ããã®ä¸ããæåãéãã¦ããããã§ããããã®å ç»åã®ãµã¤ãºã®ç¸¦æ¨ªæ¯ãç¶æããã¾ã¾ã§ã端æ«ã®æ¨ªå¹ ã«åããã¦æ¡å¤§ç¸®å°ããã¦ä¸¦ã¹ãå¿ è¦ãããã¾ãã âã®ãã£ããã£ç»é¢ã¯ãNexusSã§ã¢ããªãéããå ´åã®ç»é¢ã§ãâã®ãã£ããã£ã¯Nexus7ã§éããå ´åã§ãã androidã¯ç»é¢ã®è§£å度ãå¤ç¨®å¤æ§ãªããã端æ«å¯¾å¿ã大å¤ã§ããã¬ã¤ã¢ã¦ãxmlãä¸æããã¨è¨å®ããªãã¨ãç»é¢ãå´©ãã¦æ®å¿µãªãã¨ã«ãªã£ã¦ãã¾ãã¾ãã ã¡ãªã¿ã«ãå ç»åã¯âãããªæãã§ãã ãã㨠ããã§ãã ã»ã¬ã¤ã¢ã¦ããç»é¢ä¸é¨ã«åºå®ãã ããã¯ç°¡åã§ãã &amp;amp;amp;lt;?xml version=&amp;amp;amp;quot;1.0&amp;amp;am
Androidããã°ã©ãã¸ã®é ã Moonlight ææ¥é¦ ã C/C++ããã°ã©ãã®ç®¡çè ã, Androidããã°ã©ã ã«ãã£ã¬ã³ã¸. Androidããã°ã©ãã³ã°ã®Tipsãã¡ã¢ã£ã¦ããäºå®ã§ã. ããããã¼ã¸ãã¼ã¸ä¸è¦§ã¡ã³ãã¼ç·¨é ã¢ã¯ãã£ããã£ã«èæ¯ç»åãè¨å®ãã æçµæ´æ°ï¼ moonlight_aska 2011å¹´07æ24æ¥(æ¥) 14:35:38å±¥æ´ Tweet ã¢ã¯ãã£ããã£(Activity)ã«èæ¯ç»åãè¨å®ããã«ã¯, ãã¼ãå®ç¾©ã®ä¸ã§ç»åãæå®ãã. èæ¯ç»åãè¨å®ãã res/drawable-hdpi/backimage.png èæ¯ç»åãæºåãã. (åºå ¸ http://sports.livedoor.com/ ) res/theme.xml ãã¼ããå®ç¾©ãã. <?xml version="1.0" encoding="utf-8"?> <resources
Androidããã°ã©ãã¸ã®é ã Moonlight ææ¥é¦ ã C/C++ããã°ã©ãã®ç®¡çè ã, Androidããã°ã©ã ã«ãã£ã¬ã³ã¸. Androidããã°ã©ãã³ã°ã®Tipsãã¡ã¢ã£ã¦ããäºå®ã§ã. ããããã¼ã¸ãã¼ã¸ä¸è¦§ã¡ã³ãã¼ç·¨é ã®ã£ã©ãªã¼ããç»åãåå¾ãã æçµæ´æ°ï¼ moonlight_aska 2011å¹´07æ30æ¥(å) 11:38:55å±¥æ´ Tweet ã¤ã³ãã³ã(Intent)ã§å¼ã³åºããã®ã£ã©ãªã¼ããé¸æãããç»åãåå¾ãããã¨ãã§ãã. âãç»åãé¸æ (åºå ¸:Androidçãç¾äººæè¨ããã) ã®ã£ã©ãªã¼ããç»åãåå¾ ImageView.java Intentã®ã¤ã³ã¹ã¿ã³ã¹ãçæãã. Intent#setTypeã¡ã½ããã§, ç»åå ¨è¬("image/*")ãæå®ãã. jpegã«éå®ããå ´åã¯, "image/jpeg"ã¨æå®. Intent#setAct
ä»åã¯ã«ã¡ã©ã®ä½¿ç¨æ¹æ³ã®å¾ç·¨ã«ãªãã¾ãã ååã¯ã«ã¡ã©ããªã¼ãã³ãã¦ãSurfaceViewã«ã«ã¡ã©ã®ãã¬ãã¥ã¼ç»é¢ã表示ããã¨ããã¾ã§ç´¹ä»ãã¾ããã ä»åã¯ãã¬ãã¥ã¼ç»é¢ã®å 容ãæ®å½±ããSDã«ã¼ãã«ä¿åããã¨ããå¦çã¾ã§èª¬æãããã¨æãã¾ãã 詳細ã¯ç¶ãããã©ããã æ®å½±å¦çãå¸ãã®ã¯Cameraã¯ã©ã¹ã®takePictureã§ãã public final void takePicture (Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback jpeg) å¼æ°ã¯ãããã以ä¸ã®ããã«ãªã£ã¦ãã¾ãã Camera.ShutterCallback shutterï¼ã·ã£ãã¿ã¼ãæ¼ãããã¨ãã«å¼ã°ããã³ã¼ã«ããã¯ãæå®ãã¾ãã Camera.PictureCallback rawï¼R
ã¾ããIDã®åå¾ã«ç¨ããCursor#getColumnIndex()ã®å¼æ°ã«ã¯ãMeiaStore.Images.Media._IDãæå®ãã¾ãã // Cursorã®åå¾ Cursor cursor = managedQuery( MediaStore.Images.Media.EXTERNAL_CONTENT_URI, //The URI of the content provider to query null, //List of columns to return. null, //SQL WHERE clause. null, //The arguments to selection, if any's are present null //SQL ORDER BY clause. ); // Cursorãå é ã¸ç§»å cursor.moveToFirst(); int fi
Androidã®ã«ã¡ã©ã§æ®å½±ãã¦ä¿åããç»åãã¡ã¤ã«ã®èªè¾¼ã¿æ¹ã¯ï¼ ååã®Androidã¢ããªã®ã«ã¡ã©æ©è½ã§æ®å½±ããç»åã®ä¿åæ¹æ³ã®ç¶ãã§ãã ä»åã¯ãã«ã¡ã©ã§æ®å½±ãããã¼ã¿ãå®éã«èªã¿è¾¼ãã§ç»é¢è¡¨ç¤ºãªã©ã«ä½¿ãæé ã説æãã¾ãã ãã£ããæ®å½±ããã®ã«ãç»é¢ã«åºãäºãåºæ¥ãªãã®ã§ã¯æå³ç¡ãã«çããã§ããããâ¦ã èªã¿è¾¼ã¿æ¹ã¯ãä¿åã®æ¹æ³ã«ãã£ã¦éã£ã¦ãããã¨æãã¾ãã ä¿åæããã¡ã¤ã«ãã¹ã«OutputStreamã§ä¿åã¨ããããæ¹ã§ããã°ãInputStreamã使ã£ã¦èªã¿è¾¼ãã°ããã§ãããã ä»åã¯ããMediaStore.Images.Media.insertImage()ãã使ã£ã¦ä¿åãããã¼ã¿ã®èªã¿è¾¼ã¿æ¹ã«ã¤ãã¦èª¬æãã¾ãã å°ã è¦æ¦ãã¾ãããã以ä¸ã®ãããªã³ã¼ãã§èªã¿è¾¼ãã¾ãã String[] proj = { MediaStore.Images.Media.DATA, Med
ã¢ããªå ã§ç»åã®ãã¦ã³ãã¼ãããã¦SDã«ã¼ãã«ä¿åããå ´åã«ãä½ãããªãã¨ã®ã£ã©ãªã¼ã«åæ ãããªãã®ã§ããã®å¯¾çã§ãã ãªãã®ã£ã©ãªã¼ã«åæ ãããªãã®ã Androidã«ããã¦ãSDã«ã¼ãå ã®ã¡ãã£ã¢ãã¡ã¤ã«ã¯ãMediaScanãã¨ããå¦çãè¡ããã¨ã«ãã£ã¦ãã¼ã¿ãã¼ã¹åããã¾ãã ããã«ãããã¼ã¿ãã¼ã¹åããããã¡ã¤ã«ã®ã¿ãã®ã£ã©ãªã¼ã§åç §å¯è½ã¨ãªãã¾ãã ãã®MediaScanã¯SDã«ã¼ãã®ãã¦ã³ãæã«èªåçã«å®è¡ããããããã¢ããªå ã§ãã¡ã¤ã«ãä½æããã ãã§ã¯MediaScanãè¡ãããªãã¨ããããã§ãã åèè¨äºï¼MediaScan | Android Wiki for Developers ã§ã¯ã©ãããã°ããã®ãï¼ ä¸è¨ã®åèè¨äºã«ãæãããã«ãACTION_MEDIA_MOUNTEDãBroadcastéä¿¡ãã¦ãããã¨ã§ãMediaScanãå®è¡ãããã¨ãã§ãã¾ãã
ã¢ããªå ã§ä¿åããç»åãã®ã£ã©ãªã¼ã«åæ ãããæ¹æ³ã説æãã¾ãã ã«ã¡ã©ã¢ããªãç»åå å·¥ã¢ããªãä½æãã¦SDã«ã¼ããªã©ã®ã¹ãã¬ã¼ã¸ã«ç»åãã¡ã¤ã«ãä¿åããå ´åããã®ã¾ã¾ã§ã¯ã®ã£ã©ãªã¼ã¢ããªãããã®ç»åã確èªãããã¨ãã§ãã¾ããã ä»åã®è¨äºã®æ¹æ³ã§ãã®ç»åãã¡ã¤ã«ãã®ã£ã©ãªã¼ã®åæ ããããã¨ãã§ãã¾ãã ã«ã¡ã©ã¢ããªãä½æãããå ´åããSDã«ã¼ãã«ä¿åããå ´åã¯ä»¥ä¸ã®è¨äºãåèã«ãªãã¾ãã SDã«ã¼ãã«ãã¡ã¤ã«ãä¿åãã ã«ã¡ã©ã®ä½¿ç¨æ¹æ³(2) ããã§ã¯ç¶ãã§ãµã³ãã«ã½ã¼ã¹ã¨å ±ã«èª¬æãã¾ãã MediaScannerConnectionã¯ã©ã¹ã¯MediaScannerServiceã¨æ¥ç¶ããå½¹å²ãæã¡ãã¡ãã£ã¢ãã¡ã¤ã«ãMediaContent Providerã«ç»é²ãããã¨ãã§ãã¾ãã ãã®MediaScannerConnectionã¯ã©ã¹ã®ã¡ã½ããã§ããMediaScannerConn
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}