| View previous topic :: View next topic |
| Author |
Message |
nDEV
Joined: 13 Apr 2007 Posts: 48
|
Posted: Sat Apr 21, 2007 2:22 pm Post subject: get username |
|
|
Is there any way to get the current username ?
thanks |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sat Apr 21, 2007 3:55 pm Post subject: |
|
|
| uhhm Beg yours? |
|
| Back to top |
|
 |
nDEV
Joined: 13 Apr 2007 Posts: 48
|
Posted: Sat Apr 21, 2007 4:52 pm Post subject: |
|
|
what?
Im asking for the username that can be found in :
System->username |
|
| Back to top |
|
 |
fergie4000
Joined: 19 Jan 2007 Posts: 25
|
Posted: Sat Apr 21, 2007 5:50 pm Post subject: |
|
|
| There is an example of this in the samples that come with the SDK |
|
| Back to top |
|
 |
nDEV
Joined: 13 Apr 2007 Posts: 48
|
Posted: Sun Apr 22, 2007 3:53 am Post subject: |
|
|
| ok , i will search for it.. |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Sun Apr 22, 2007 6:00 am Post subject: |
|
|
The sample is in /samples/utility/systemparam
It's a bit buried in there, but the code you are wanting is something like:
| Code: | char nickName[20];
sceUtilityGetSystemParamString(PSP_SYSTEMPARAM_ID_STRING_NICKNAME, nickName, 20);
pspDebugScreenPrintf(nickName); |
|
|
| Back to top |
|
 |
|