Skip to Content

How to switch/logoff a smp android app

Hello guys, I built an android native app with SMP 3.0, and followed all the Claudia Pacheco's, How to guides,

and right now i'm facing an issue, i already created the MAFlogon class which one are authenticating users and let they use the apps in multiples devices,

but i wanna know if is possible to make the logoff of this user in one device, for example, by the click of one button, finish all the activity of that user in one device and when someone starts the app again will be redirected to the credentials SMP page,

I'm just needing this step to finish my app, i did some research on the internet and here in scn and i didn't find anything that could help me on that, so if you guys can help with some code will be trully appreciate.

Thanks a lot for the comprehension, and have a nice day...

Tags edited by: Jitendra Kansal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 30, 2014 at 01:41 AM

    Hi Vinicius,

    You can un-register the user using the below code:

    private void doLogout() {

    //delete registered user


    //restart logon process



    More info:

    Regards, Midhun

    SAP Customer Experience Group - CEG

    Add comment
    10|10000 characters needed characters exceeded