Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

Launch the app from the url using intents

  • 2 svar
  • 1 har detta problem
  • 189 visningar
  • Senaste svar av kbrosnan

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

Alla svar (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.