I have an application that is registered for opening PDF files. I have used
the following in manifest file:
<activity
android:name=".Fill"
android:label="@string/FillAndSign"
android:configChanges="orientation|keyboardHidden">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="biz.binarysolutions.fasp.FILL_AND_SIGN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:mimeType="application/pdf" />
<data android:pathPattern=".*\\.pdf" />
<data android:host="*" />
</intent-filter>
</activity>
Everything worked perfectly. Recently, I have added the Box OneCloud
integration to my app and the following code snippet was added to the
manifest file (the first one remained unchanged):
<receiver android:name="biz.binarysolutions.fasp.box.OneCloudReceiver">
<intent-filter>
<action android:name="com.box.android.EDIT_FILE" />
<action android:name="com.box.android.CREATE_FILE" />
<action android:name="com.box.android.VIEW_FILE" />
<data android:mimeType="application/pdf" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="com.box.android.LAUNCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
After this change users started complaining that the application is no
longer visible in 'complete action using' dialog when they try to open the
PDF file directly from Dropbox or Google Drive. While I was trying to
figure out what went wrong, I've sent them the old application version that
worked earlier for sure. They have uninstalled the most recent version and
installed the old one. However, even this app version did not restore the
missing functionality - my application is still not listed in the dialog. I
am trying to figure this out.
What went wrong? How to fix it? Any ideas?
Thanks in advance, Viktor.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en