">mixi Developer Center (mDC)

mixi Connect

mixi Connect (English) » mixi Graph API » mixi API SDK for Android™ » Registering applications

Registering applications

The following describes the procedure for developing Android apps using this SDK.

You must register your application in Partner Dashboard before you can use the SDK. First, register the application on the mixi app registration page in Partner Dashboard.

During this process, specify ” the hash value in the ” package signature and section according to the following procedures. You must enter this value when developing an application using the SDK. The value entered here is used for application authentication to confirm the identity of the developer and prevent prohibited access by a malicious third party.

How to obtain the package signature hash value

Specify the value acquired in the field "Package signature hash value" by using the following method.

1. Create a key store file you will use when registering your app in the Google Play.
2. Run the keytool provided in the SDK.

keytool -list -v -keystore {key store file} -alias {alias specified when you created it}

When prompted for a password, enter the password you configured when you created the file. The result will look like the following. Register the SHA1 value without the ”:”

Fingerprint of the certificate:
  MD5: 2C:D8:DD:C5:D4:FE:9D:55:89:57:E6:7A:BB:12:3F:55
  SHA1: 50:57:B0:B9:A3:25:EE:E5:A2:54:19:85:31:32:52:63:49:1C:25:80
  Signature algorithm name: SHA1withRSA
  Version: 3

For the case the above, the hash value would be the following.

5057B0B9A325EEE5A254198531325263491C2580

 

You are likely to use the keystore file for debugging during development. In that case, you can obtain the hash value for debug.keystore and register it as shown below. For Windows, the debug.keystore file is located in C:\Documents and Settings\[User name]\.android. The default password is ’android’.

keytool -list -v -keystore debug.keystore -alias androiddebugkey

TOP OF THIS PAGE