Comments (1)
In order to use this application, you need to authorize the application(main package) using OAuth 2.0 since this application access Google APIs, Google recommends to authorize the app.
More information on the topic can be found here
It requires for developers to digitally sign the appp in order to be installed. The signing can be done in debug mode and release mode. Since if you are working on app and need your app to be digitally signed, you can do it in debug
mode. Now, signing can be done using Android Studio or via keytool. The Android SDK generates a certificate to sign apps in debug
mode.
A more detailed explanation of what signing is and why it is useful as well as required can be found here
You can generate SHA1 fingerprint for signing the apps on Google Developer Console using the following command on Windows:
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
or
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
After the running the above command in command prompt, a SHA1 fingerprint of your debug.keystore
will be produced which act as a signature and this signature is used to sign off your app in Google Dev Console.
Remember Keystore
is basically a place where the private keys for your app are kept. In simple words its a certificate generated by user or a program, used for signing an Android app.
Next, create credentials appropriate to your project in the Google Developers Console:
Open the Credentials page
- Click Add credentials > OAuth 2.0 client ID.
- Select Android.
- In the Package name field, enter your Android app's package name.(The one in AndroidManifest.xml)
- Paste the SHA1 fingerprint into the form where requested.
- Click Create.
Otherwise, follow the steps below, which are for applications that only need to make unauthorized API calls:
- Click Add credentials > API key.
- Select Android key.
- Paste the SHA1 fingerprint into the form where requested.
- Type your Android app's package name into the form where requested.
- Click Create.
Here is the tutorial if you want to refer more
The ResourceID is the one where all the resources of the application are defined and which you need to specify in order to sign your app on Google Dev Console. In other words, you need path to the package where R
is defined.
R
is a class containing the definitions for all resources of a particular application package
. It is in the namespace of the application package.
This step is basically the same step as Step #3 and Step #4 in above mentioned steps
Hope this will help you to get started using the app.
from android-samples.
Related Issues (20)
- Unable to Signin HOT 1
- Question: Google Drive API behavior post shut down HOT 4
- Question: Google Drive Application Specific Folder Deprecation HOT 7
- Get Specific drive folder 's list in Android HOT 1
- How to use Google Drive API in Android application? HOT 6
- Error after updating to new Gradle version HOT 6
- META-INF/DEPENDENCIES error HOT 1
- Deprecation Example - Sign In stuck HOT 5
- Image upload with folder example Not Given HOT 1
- Drive Access popup is not coming
- Solve Google Drive 401 error for Android release builds HOT 2
- App script sample HOT 1
- I got a headache when I was trying to figure out all these stuff
- How to configure sample for testing? HOT 2
- Displaying images
- How to create a shareable folder programatically in google drive HOT 1
- Deprecated link in the README.md
- mDriveServiceHelper is always null
- 'call(java.util.concurrent.Executor, java.util.concurrent.Callable<TResult>)' is deprecated
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-samples.