為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.