Reply
31 May 2012
By lydotnet

lydotnet

  • Offline
46%
02 Rank
Progress
Playstation Staff
Accepted Solution

HTTP GetResponse / BeginGetResponse update Listpanel

[ Edited ]
1 Reply 597 Views edited 31-05-2012

my english is pool Smiley Sad

 

HTTP GetResponse  / BeginGetResponse  update Listpanel

 

update listpanel

private ListPanelItem ListItemCreator () { 

return new PanelItem(); // BeginGetResponse ERROR!  

}

 

 it's work good when i use HTTP GetResponse ( synchronization );

 

it's work brake everytime when i use HTTP BeginGetResponse ( Asynchronous );

 

error: Sce.Pss.Core.Graphics cannot be accessed by multiple theads

 

I think its create a new background thread when i use BeginGetResponse  ,so when i update the ui will be break....

   Smiley Sad

0 Kudos
Message 1 of 2 (597 Views)
0 Kudos
Highlighted
jamesnorman91
05
/16

jamesnorman91

  • Offline
99%
05 Rank
Progress
Playstation Staff

Re: HTTP GetResponse / BeginGetResponse update Listpanel

Hi lydotnet,

As the error message describes, you must do all of your GraphicsContext calls (whether that be through the UI Toolkit, GameEngine2D or straight to the GraphicsContext) on the same thread that the GraphicsContext was initialized.

If you'd like us to do a quick example, please let us know.

Thanks,
James
PlayStation®Mobile Dev Team
0 Kudos
Message 2 of 2 (542 Views)
0 Kudos