Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8207529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:01:31+00:00 2026-06-07T09:01:31+00:00

I have an Android app that creates its own files in Google Drive with

  • 0

I have an Android app that creates its own files in Google Drive with the mime type application/vnd.test.type

I would like to make my app handle requests for this file type when opened by the Google Drive app as described here.

My activity to handle the opening of the file is in my manifest file as follows:

    <activity android:name="DriveHandlerActivity" 
              android:label="@string/app_name" 
              android:icon="@drawable/icon" 
              android:exported="true" >
        <meta-data android:name="com.google.android.apps.drive.APP_ID" 
                   android:value="id=MY_ID"/> 
        <intent-filter >
            <action android:name="com.google.android.apps.drive.DRIVE_OPEN"/>
            <data android:mimeType="application/vnd.test.type"/>
        </intent-filter>
    </activity> 

When I attempt to open the file in the Google Drive app I get the “Open with…” dialog as expected with my app listed as the only entry capable of dealing with this file type. Unfortunately after confirming the action, I then get a dialog thats says.

Error Dialog

My only option then is to press the “Cancel” button which returns me to the Google Drive app.

I am not totally convinced I have the meta data correct as the ID is referred to using different names depending on where you look. Some documentation calls it the App ID, some call it the Project ID (See here at 26:44). I have tried using both the “Project ID” as listed in my Google Apis Console and also the project number (from the URL) on the same page. I get the same error regardless of which value I choose as the ID.

As far as I am aware, the next step should be to handle the intent in my app but due to the error described, the intent never arrives. Can anybody tell me what I am doing incorrectly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T09:01:34+00:00Added an answer on June 7, 2026 at 9:01 am

    There’s currently an issue that requires your application to be listed in the Chrome Webstore (even to trusted testers only) in order for the Open With flow to work.

    However, even if the issue is resolved, your app won’t be able to access the file until the Google Play Services API is released.
    The only work around would be to request authorization for the full Drive scope https://www.googleapis.com/auth/drive which is not recommended but useful for debugging.

    I’ll update this answer when the Chrome Webstore limitation is resolved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem regarding Android App. I have created an application that download
I have an Android app that has an Application class and I have another
I have an android app that plays audio from the application class. I have
I have Android client app that communicates with server using Socket . On my
I have an android app that I am trying to launch and it gives
I have an Android app that I had working a few months ago which
I have an Android app that begins by displaying a dialog. When I set
I started developing an android app that have to interact with MMS attachements, in
I have a 2.3.3 android app that I am developing that I would like
I have a dialog in an Android app that I don't want the user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.