{"id":1252,"date":"2012-03-12T09:12:00","date_gmt":"2012-03-12T09:12:00","guid":{"rendered":"https:\/\/rawbytes.org\/?p=1252"},"modified":"2025-11-24T03:00:20","modified_gmt":"2025-11-24T03:00:20","slug":"%e3%83%a9%e3%82%a4%e3%83%96%e5%a3%81%e7%b4%99%e3%81%a7%e3%82%bf%e3%83%83%e3%83%81%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%ae%e8%a6%81","status":"publish","type":"post","link":"https:\/\/rawbytes.org\/?p=1252","title":{"rendered":"\u30e9\u30a4\u30d6\u58c1\u7d19\u3067\u30bf\u30c3\u30c1\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306e\u8981\u70b9\u3060\u3051"},"content":{"rendered":"<p>Android\u306e\u30e9\u30a4\u30d6\u58c1\u7d19\u3067\u30bf\u30c3\u30c1\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u3066\u3001\u4f55\u304b\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u304b\u3051\u305f\u308a\u3001\u52d5\u4f5c\u3092\u3055\u305b\u305f\u308a\u3057\u305f\u3044\u3068\u304d\u306e\u3084\u308a\u304b\u305f\u3002<\/p>\n<p>\u7aef\u7684\u306b\u306f\u3001WallpaperService.Engine\u306eonTouchEvent(MotionEvent event)\u307e\u305f\u306fonCommand(String action, int x, int y, int z, Bundle extras, boolean resultRequested)\u3044\u305a\u308c\u304b\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308c\u3070\u826f\u3044\u3002<\/p>\n<p>\u5927\u304d\u306a\u9055\u3044\u3068\u3057\u3066\u3001onTouchEvent\u306f\u3001\u30a2\u30d7\u30ea\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30bf\u30c3\u30c1\u3057\u305f\u3068\u304d\u306a\u3093\u304b\u3082\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u306e\u306b\u5bfe\u3057\u3066\u3001onCommand\u306f\u3001HOME\u753b\u9762\u4e2d\u4f55\u3082\u306a\u3044\u3068\u3053\u308d\u3092\u30bf\u30c3\u30c1\u3057\u305f\u3068\u304d\u3060\u3051\u306b\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3059\u308b\uff08action\u306e\u3068\u3053\u308d\u306b&#8221;android.wallpaper.tap&#8221;\u3068\u3044\u3046\u306e\u304c\u6765\u3066\u3001x, y\u3067\u5ea7\u6a19\u304c\u5206\u304b\u308b\uff09\u3002\u3053\u308c\u306fHOME\u30a2\u30d7\u30ea\u304b\u3089\u767a\u884c\u3055\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u306e\u3088\u3046\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eHOME\u30a2\u30d7\u30ea\u5229\u7528\u6642\u306b\u767a\u751f\u3057\u306a\u3044\u3068\u3044\u3046\u3088\u3046\u306a\u8a18\u8ff0\u3092\u3069\u3053\u304b\u3067\u898b\u304b\u3051\u305f\u3051\u3069\u3001\u3053\u308c\u306f\u672a\u78ba\u8a8d\u3002<\/p>\n<p>\u306a\u304a\u3001\u30e9\u30a4\u30d6\u58c1\u7d19\u4e0a\u306e\u64cd\u4f5c\u304b\u3089\u4f55\u304b\u3057\u3089Intent\u3092\u767a\u751f\u3055\u305b\u305f\u3044\u6642\u306f\u3001\u901a\u5e38\u3069\u304a\u308a\u65b0\u898f\u306eIntent\u3092\u4f5c\u6210\u3057\u3066Context#startActivity()\u3057\u3066\u3084\u308c\u3070\u826f\u3044\u304c\u3001Intent\u306bIntent#setFlag(Intnet.FLAG_ACTIVITY_NEW_TASK)\u3092\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u3053\u308c\u3092\u3057\u306a\u3044\u3068Exception\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u3002<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android\u306e\u30e9\u30a4\u30d6\u58c1\u7d19\u3067\u30bf\u30c3\u30c1\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u3066\u3001\u4f55\u304b\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u304b\u3051\u305f\u308a\u3001\u52d5\u4f5c\u3092\u3055\u305b\u305f\u308a\u3057\u305f\u3044\u3068\u304d\u306e\u3084\u308a\u304b\u305f\u3002 \u7aef\u7684\u306b\u306f\u3001WallpaperService.Engine\u306eonTouchEvent(MotionEvent event)\u307e\u305f\u306fonCommand(String action, int x, int y, int z, Bundle extras, boolean resultRequested)\u3044\u305a\u308c\u304b\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308c\u3070\u826f\u3044\u3002 \u5927\u304d\u306a\u9055\u3044\u3068\u3057\u3066\u3001onTouchEvent\u306f\u3001\u30a2\u30d7\u30ea\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30bf\u30c3\u30c1\u3057\u305f\u3068\u304d\u306a\u3093\u304b\u3082\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u306e\u306b\u5bfe\u3057\u3066\u3001onCommand\u306f\u3001HOME\u753b\u9762\u4e2d\u4f55\u3082\u306a\u3044\u3068\u3053\u308d\u3092\u30bf\u30c3\u30c1\u3057\u305f\u3068\u304d\u3060\u3051\u306b\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3059\u308b\uff08action\u306e\u3068\u3053\u308d\u306b&#8221;android.wallpaper.tap&#8221;\u3068\u3044\u3046\u306e\u304c\u6765\u3066\u3001x, y\u3067\u5ea7\u6a19\u304c\u5206\u304b\u308b\uff09\u3002\u3053\u308c\u306fHOME\u30a2\u30d7\u30ea\u304b\u3089\u767a\u884c\u3055\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u306e\u3088\u3046\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eHOME\u30a2\u30d7\u30ea\u5229\u7528\u6642\u306b\u767a\u751f\u3057\u306a\u3044\u3068\u3044\u3046\u3088\u3046\u306a\u8a18\u8ff0\u3092\u3069\u3053\u304b\u3067\u898b\u304b\u3051\u305f\u3051\u3069\u3001\u3053\u308c\u306f\u672a\u78ba\u8a8d\u3002 \u306a\u304a\u3001\u30e9\u30a4\u30d6\u58c1\u7d19\u4e0a\u306e\u64cd\u4f5c\u304b\u3089\u4f55\u304b\u3057\u3089Intent\u3092\u767a\u751f\u3055\u305b\u305f\u3044\u6642\u306f\u3001\u901a\u5e38\u3069\u304a\u308a\u65b0\u898f\u306eIntent\u3092\u4f5c\u6210\u3057\u3066Context#startActivity()\u3057\u3066\u3084\u308c\u3070\u826f\u3044\u304c\u3001Intent\u306bIntent#setFlag(Intnet.FLAG_ACTIVITY_NEW_TASK)\u3092\u3057\u3066\u3084\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u3053\u308c\u3092\u3057\u306a\u3044\u3068Exception\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,11,21],"tags":[],"class_list":["post-1252","post","type-post","status-publish","format-standard","hentry","category-android","category-develop","category-howto"],"_links":{"self":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1252"}],"version-history":[{"count":1,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1252\/revisions"}],"predecessor-version":[{"id":1253,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1252\/revisions\/1253"}],"wp:attachment":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}