Reference_Sidebar - gtmanc/Crossdrives GitHub Wiki

Useful reference

Style button

https://www.codebrainer.com/blog/13-designs-for-buttons-every-android-beginner-should-know

Design pattern

Google play service

Google API client library

https://developers.google.com/api-client-library/java

Google drive

App registration

Google cloud console

Create OAuth client ID

Read this first: https://developers.google.com/android/guides/client-auth

  • Tips
  1. the keytool execution can be found in the installation path. e.g. C:\Program Files\Java\jdk-11.0.12\bin. You have to switch to that folder and open a text windows to perform generation of key. Note file debug.keystore in user/.android is generated after build operation in android studio is executed at least once.

Microsoft Azure Portal

  1. Microsoft Azure app registration requires Base64 encoded SHA1 footprint. However, the java keytool doesn't generate it. You can use the conversion web site to convert your SHA1 footprint provided with java keytool to Base64 encoded format. e.g. https://base64.guru/converter/encode/hex
  2. In the platform configuration section, open "quick start" for helpful instructions especially for the json file which is needed for configuring your device.
  3. In supportted account type, select Personal Microsoft Acccounts only. Azure portoal hide the optioanl by default. To enable it, go to Manifest editor, change property "accessTokenAcceptedVersion" to 2 and "signInAudience" to PersonalMicrosoftAccount. See Understanding the Azure Active Directory application manifest for explanation of the manifest property.
  4. Go to premission section, select Graph API. Check Files.ReadWrite.All, Contact.Read and TBD permissions. Check Files.ReadWrite.AppFolder as well because we may need in the future. Remember to click the button "grant admin consent for default directory".

Onedrive

Basic

advanced:

Gaon/Json:

Stream:

Sql:

Android studio