Sce.PlayStation.Core.Device provides the following features.
- A feature for obtaining image data from a camera device is provided. In addition, a dialog feature for easily saving/loading photo files taken with a camera is provided.
- A feature for tracking location information using GPS, Wi-Fi, and 3G networks is provided.
Contents
The video data of camera devices can be obtained in real time. This can be used in AR apps or in proprietary camera apps.
The Camera class is a class for controlling a camera device. In addition, various camera device information can be obtained.
Video data obtaining is executed asynchronously.
Photo files taken/selected by end users can be transferred to local storage accessible by PSM applications.
There are two types of photo import dialog.
Displays the photography screen. Photos taken by end users with this screen will be transferred to local storage as files.
This is useful for easily obtaining the photography results of a camera.
Displays a list screen of the photos saved to the device. Photos selected by end users with this screen will be transferred to local storage as files.
Use this to obtain photos taken/saved outside of PSM.
In addition, by using this dialog, a method for re-loading photo files exported with Image.Export() can be provided to users.
Tracks location information using GPS, Wi-Fi, and 3G networks. To obtain location information, set the Publishing Utility's [Common Property] tab - [Location] to true.
The Location class is a class for tracking location information.
In a PlayStation(R)Mobile simulator environment, an emulation feature with location information using a GPS emulation file is provided. The %SCE_PSM_SDK%/tools/Location/gpsdata.nma file will be automatically loaded and pseudo position information will be updated.