cancel
Showing results for 
Search instead for 
Did you mean: 

device id

Former Member
0 Kudos

how can we find deveice id which is shown in sybase scc for that application

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

yeah i know that id , how can i identify this in our code.

Actually problem is that i am unablke to delete entry for that application  when user facing this "Auto Registration Wrong User For Device" Iam unable to find device id . So how can i identify device id from Android Code

former_member186566
Active Participant
0 Kudos

Hi

you have to clear server verification key to remove the entry. The below code used for android device

LiteUserManager usrMngr;

usrMngr = LiteUserManager.getInstance();

if (!usrMngr.isRegistered()) {

usrMngr.clearServerVerificationKey();

}

First remove the user from SUP server, then clear the server verification key. if the device registered with other users or with other sup server, we can clear this way.

You can also refer the API doc for clear verification key.

Regards

Yokesvaran Kumarasamy

midhun_vp
Active Contributor
0 Kudos

To delete the entry from SCC you can use unregisterApplication API. It will delete the user in SCC and allows you to register a new user.

Ex:

if (app.getRegistrationStatus() == RegistrationStatus.REGISTERED) {

  app.startConnection(600);

  app.unregisterApplication(600);

  }

  } catch (Exception e) {

  returnMsg = e.getMessage();

  }

  MBOProjectDB.deleteDatabase();

- Midhun VP

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

In SCC (in case of sup 2.2.x),


under Applications>Application Connections

You can see some device id against every registered user over there.

Lets take case of iOS based device, you will see UDID in that case. To know how to check UDID in iPhone/iPad please check below link:

What's my UDID?

Rgrds,

Jitendra