- PlayStation?Mobile Development Cookbook
- Michael Fleischauer
- 435字
- 2021-07-29 16:47:03
Deploying to PlayStation Mobile certified Android devices
This recipe covers deploying an application to an Android device. Running on an Android device requires a developer license that you can purchase in the PSM portal.
Getting ready
You need to have installed the PlayStation Mobile SDK to have access to required files. Of course you will also require a PlayStation Mobile compatible Android device. Make sure the Android ADB driver for your phone is installed on your computer; you can download a generic version from Google's Android development website if required.
How to do it...
- Attach your Android phone by USB to your computer. It may install a driver at this point, let it.
- Open a Command Prompt (Start | Run and type
cmd.exe
) and type"%SCE_PSM_SDK%/tools/update_psmdevassistant.bat"
including the quotes. This will install the PSM Development Assistant on your device. - On your device, locate and run the PSM Development Assistant application.
- On your computer, in the
PlayStation Mobile
folder in the Start menu, load Publishing Utility. - Now you need to create a Publisher Key; you will only have to do this once. First click the Key Management tab, then the Generate Publisher Key button. Name your key and then enter your login information for the PSM portal. A key will be generated for you.
- Click on the Generate App Key Ring button. In the app.xml field locate the
App.xml
file of the project you want to run on your device and then click on OK. You will have to authenticate with your SEN ID again. If all goes well, your app will now be listed in the Registered App Key Ring list. - Now fire up your project in PSM Studio. Make sure that you have the PlayStation Mobile Development Assistant running on your device and your phone is connected by a USB connection. Set Android as your target using the Project | PlayStation Mobile Device Target menu item and select your phone device.
- Run your application by pressing the F5 key or choosing Run or Debug from the menu and your application will be copied to your Android device and run.
There's more...
You need to make sure that USB debugging is enabled on your Android device. This varies from device to device, but is generally located in the Settings | Developer Options | USB debugging menu.
I ran into an error when trying to add my application to the key ring. To fix this, I recreated my Publisher Key. If you are working alone, this isn't a big process, but if you are part of a team, you will need to distribute the updated key.
- Arduino入門基礎教程
- 新型電腦主板關鍵電路維修圖冊
- Creating Dynamic UI with Android Fragments
- 平衡掌控者:游戲數值經濟設計
- Manage Partitions with GParted How-to
- 計算機組裝與維修技術
- Large Scale Machine Learning with Python
- 微服務分布式架構基礎與實戰:基于Spring Boot + Spring Cloud
- Creating Flat Design Websites
- 筆記本電腦維修實踐教程
- 龍芯自主可信計算及應用
- 單片機技術及應用
- 新編電腦組裝與硬件維修從入門到精通
- 筆記本電腦芯片級維修從入門到精通(圖解版)
- Drupal Rules How-to