为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Launch the app from the url using intents

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Kevin

more options

hi, I have an app in android play store. And from the app, I can share a link to a .jpg file via email. When this url is clicked by the user, Android OS shows the option to open via firefox. The format of my url is: <a href="my.special.scheme://other/parameters/here">.

Actually happening: web_page not found.

Expected Result: my_app is launched

Chrome v25+ handles this issue as described in link: https://developers.google.com/chrome/mobile/docs/intents "The best practice is to construct an intent anchor and embed that into the page so the user can launch the app. This gives you a lot more flexibility in controlling how apps are launched, including the ability to pass extra information into the app via Intent Extras.

The basic syntax for an intent-based URI is as follows:

intent:

  HOST/URI-path // Optional host
  #Intent;
     package=[string];
     action=[string];
     category=[string];
     component=[string];
     scheme=[string];
  end; "

Is there similar workaround for firefox.

Some of the options i found on this are not working.: https://bugzilla.mozilla.org/show_bug.cgi?id=654621 https://bugzilla.mozilla.org/show_bug.cgi?id=653833

hi, I have an app in android play store. And from the app, I can share a link to a .jpg file via email. When this url is clicked by the user, Android OS shows the option to open via firefox. The format of my url is: <a href="my.special.scheme://other/parameters/here">. Actually happening: web_page not found. Expected Result: my_app is launched Chrome v25+ handles this issue as described in link: https://developers.google.com/chrome/mobile/docs/intents "The best practice is to construct an intent anchor and embed that into the page so the user can launch the app. This gives you a lot more flexibility in controlling how apps are launched, including the ability to pass extra information into the app via Intent Extras. The basic syntax for an intent-based URI is as follows: intent: HOST/URI-path // Optional host #Intent; package=[string]; action=[string]; category=[string]; component=[string]; scheme=[string]; end; " Is there similar workaround for firefox. Some of the options i found on this are not working.: https://bugzilla.mozilla.org/show_bug.cgi?id=654621 https://bugzilla.mozilla.org/show_bug.cgi?id=653833

所有回复 (2)

more options

You would be best off discussing this with the Firefox for Android developers on IRC.

If you don't have an IRC client set up you can use this web based one. http://www.mibbit.com/chat/?server=irc.mozilla.org&channel=%23mobile

irc://irc.mozilla.org/mobile

more options

The best time to reach people is from about 7 AM to 6 PM Pacific time.