"when clicking on a *.mm file, mindjet app should be started automatically"

  • 1
  • Idea
  • Updated 6 years ago
(from pk)
Photo of Mindjet

Mindjet

  • 558 Posts
  • 54 Reply Likes

Posted 6 years ago

  • 1
Photo of Mindjet

Mindjet

  • 558 Posts
  • 54 Reply Likes
"*.mm files used to open from within Dropbox - this is now broken. Details of the problem have been supplied by Dropbox support as follows:

The problem is that the value in pathPattern in an app's manifest is not treated as a regular expression, and Android's matching for "".*"" is non-greedy. This means that for a pattern such as "".*\\.myextension"", it'll match until the *first* dot; if ""myextension"" doesn't follow after that dot (such as in a path with more than one dot in it), the whole pattern does not match.

This issue manifested itself recently because the Dropbox app changed the location from which files are opened to better comply with Android guidelines. Unfortunately, the only known fix is to add pathPatterns to your intent filter for each possible amount of dots in a path. We're going to introduce a user-facing workaround soon that should help with this issue, but ultimately it would be best if you could also update your app to include something like this in your intent filter:

(for however many dots you think is reasonable, 5-10 should be plenty)

Best,
Kevin
Dropbox" [from tsweetna]
Photo of Roger

Roger

  • 1 Post
  • 0 Reply Likes
Here is some more explanation:

http://stackoverflow.com/questions/34...

Would be great if MindJet could update their AndroidManifest.xml