การสนับสนุนภาพ 360 องศาบน Android
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้ให้ภาพรวมของการสนับสนุนสำหรับการถ่ายภาพพาโนรามาใน Android
ฟีเจอร์เหล่านี้เปิดตัวครั้งแรกใน Android 4.2 ที่มาพร้อมกับกล้อง Photo Sphere
API สำหรับการดูภาพ 360 องศา
สำหรับแอปพลิเคชัน Android ที่ต้องการแสดงภาพ 360 องศาแบบโต้ตอบ
มุมมองภาพ 360 องศา บริการ Google Play จะรองรับฟังก์ชันการทำงานนี้
ดูข้อมูลอ้างอิงแพ็กเกจพาโนรามา
เว็บไซต์ของคุณเพื่อดูข้อมูลเพิ่มเติม
ประเภท MIME ของ Photo Sphere
ใน Android 4.2 เราได้เปิดตัวประเภท MIME ใหม่เฉพาะผู้ให้บริการ
ความแตกต่างระหว่างภาพถ่ายปกติกับภาพ 360 องศา
ในแนวนอน แอปพลิเคชันที่ต้องการจัดการ Photo Sphere ประเภทนี้ควร
ลงทะเบียนตัวกรอง Intent สำหรับประเภท MIME ต่อไปนี้
application/vnd.google.panorama360+jpg
เมนูแชร์ของแอปพลิเคชันแกลเลอรีใช้ประเภท MIME นี้สำหรับ 360 องศา
ดังนั้น แอปพลิเคชันใดๆ ที่มีตัวกรอง Intent สำหรับประเภท MIME นี้
จะถูกเพิ่มลงในเมนูนี้สำหรับอุปกรณ์ที่ใช้ Android 4.2
ตัวอย่างเช่น แอปพลิเคชัน Google Maps จะใช้ประเภท MIME นี้เพื่ออนุญาตให้ผู้ใช้
อัปโหลดภาพพาโนรามา 360 องศา เพื่อให้ผู้ใช้ Google Maps ทุกคนได้เห็น
(ต้องมีแท็กตำแหน่งในรูปภาพเพื่ออัปโหลด)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eAndroid 4.2 introduced Photo Sphere for creating and viewing panoramic images.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the Google Play services Panorama package to display interactive photo spheres in their apps.\u003c/p\u003e\n"],["\u003cp\u003eA specific MIME type (\u003ccode\u003eapplication/vnd.google.panorama360+jpg\u003c/code\u003e) identifies 360° photo spheres for sharing and handling.\u003c/p\u003e\n"],["\u003cp\u003eApps can register an intent filter for this MIME type to appear in the Gallery app's Share menu and enable functionalities like uploading to Google Maps.\u003c/p\u003e\n"]]],["Android 4.2 introduced panoramic photography support, including the Photo Sphere camera. Google Play services offers an API for displaying interactive photo spheres. A unique MIME type, `application/vnd.google.panorama360+jpg`, distinguishes 360-degree photo spheres from regular photos. Apps can register an intent filter for this MIME type to handle photo spheres, appearing in the Gallery's Share menu. Google Maps utilizes this MIME type for user uploads of 360-degree panoramic images, requiring geotags.\n"],null,["# Photo Sphere Support on Android\n\nThis page provides an overview of support for panoramic photography in Android.\nThese features were first introduced in Android 4.2 with the Photo Sphere camera.\n\nAPI for viewing photo spheres\n-----------------------------\n\nFor Android applications that wish to display photo spheres in an interactive\nspherical viewer, Google Play services provides support for this functionality.\nSee the [Panorama package reference](/android/reference/com/google/android/gms/panorama/package-summary)\nwebsite for more information.\n\nPhoto sphere MIME type\n----------------------\n\nIn Android 4.2 we introduced a new vendor specific MIME type to provide\ndifferentiation between regular photos and photo spheres that are 360 degrees\nhorizontally. Applications that wish to handle photo spheres of this type should\nregister an intent filter for the following MIME type: \n\n application/vnd.google.panorama360+jpg\n\nThe Gallery application's Share menu uses this MIME type for 360 degree\nphoto spheres, so any application that has an intent-filter for this MIME type\nwill be added to this menu for devices running Android 4.2.\n\nFor example, the Google Maps application uses this MIME type to allow users to\nupload 360 degree panoramic images for all Google Maps users to see\n(a geotag is required in the image for upload)."]]