First, you have to download the PSM Studio from this page: https://psm.playstation.net/static/gene ... m_sdk.html **( you need to register,but don't worry, you only need a PSN account and an email address)**

After download and install, enter in this page from your PS VITA: https://psm.playstation.net/static/gene ... stant.html and download the PSM Dev Assistant for PS VITA.






Well, it's time to do our first program: The Hello World.
First, open the PSM Studio and go to New-->Solution. After that select C#-->PlayStation Mobile-->PlayStation Mobile Application.

Now in the top bar select Visual Design.

Now we have a new bar in the left side. In this new bar do right click in References and select "Sce.PlayStation.HighLevel.UI" and click OK.

The final step is select with double click "Appmain.cs"...

and delete the code that's there and copy this new code:
Code: Select all
using System;
using System.Collections.Generic;
using Sce.PlayStation.Core;
using Sce.PlayStation.Core.Environment;
using Sce.PlayStation.Core.Graphics;
using Sce.PlayStation.Core.Input;
using Sce.PlayStation.HighLevel.UI;
namespace UIToolkitApp
{
public class AppMain
{
private static GraphicsContext graphics;
public static void Main (string[] args)
{
Initialize ();
while (true) {
SystemEvents.CheckEvents ();
Update ();
Render ();
}
}
public static void Initialize ()
{
// Set up the graphics system
graphics = new GraphicsContext ();
// Initialize UI Toolkit
UISystem.Initialize(graphics);
// Create scene
Scene scene = new Sce.PlayStation.HighLevel.UI.Scene();
Label label = new Label();
label.X = 10.0f;
label.Y = 50.0f;
label.Text = "Hello World!";
scene.RootWidget.AddChildLast(label);
// Set scene
UISystem.SetScene(scene, null);
}
public static void Update ()
{
// Query gamepad for current state
var gamePadData = GamePad.GetData (0);
// Query touch for current state
List<TouchData> touchDataList = Touch.GetData (0);
// Update UI Toolkit
UISystem.Update(touchDataList);
}
public static void Render ()
{
// Clear the screen
graphics.SetClearColor (0.0f, 0.0f, 0.0f, 0.0f);
graphics.Clear ();
// Render UI Toolkit
UISystem.Render ();
// Present the screen
graphics.SwapBuffers ();
}
}
} 
You get something like this:

GETTING A PSM LICENSE
If you want publish your app, you need a PSM license. This is the most easy step, but you have to pay for the liscense.
First, after log in in the PSM web, click the button that says "Apply for PSM license".

Next fill in the required fields and wait for the data to be processed (approximately 4-5 days).
Once you get the confirmation email, go back to the page and look at the same area (marked in red in the photo) and click on "purchase publisher license" to complete the purchase and you're all finished.

PACK YOUR APPS TO TEST/RELEASE
To test / release your app, you need make a license for your app.
For this, start Publishing Utility and PSM Studio. After, select the XML of the app with right click and select edit with Utility Publisher.

Now connect your PS VITA to your computer.
You will start in the Metadata section. The data can be left unchanged if you want, but is needed data like the icon, the app ID, the rating, etc.
If you finish click on the "Save" button to save your entries to an XML file.

Now, go to Key Management and create a new Key for your app.
The program will ask your PSN account to verify your publisher license

Your PS VITA has a unique ID associated with it that will be used in making the key that is used to sign the code. The device should automatically be recognized (if you have your ps vita connected to your computer) . Click on the button with the key ring icon to add a new application and that's it !!!



NOTE: Sorry for my bad English

