1. senglory's Avatar
    In Android 4 & 5 the following code worked perfectly:
    void shareImageWithUri(Uri uri) {
            Intent intent3 = new Intent(Intent.ACTION_MAIN, null);
            intent3.setComponent(new ComponentName("org.mozilla.firefox", "org.mozilla.firefox.App"));
            intent3.putExtra("args", "--url=" + uri.toString());
    It opened a FF instance and navigated the Firefox at the passed url. In Android 6 I am still getting the FF opened, but it does not recognize the passed url and therefore leaves the tab clean. How can I pass a url in app start arguments in Android 6?
    08-15-2019 12:59 PM
  2. B. Diddy's Avatar
    I moved this from the Marshmallow forum to the Software Development forum for more specific traffic.
    08-15-2019 01:00 PM
  3. Rukbat's Avatar
    Are you still running the same version of FF? Or are you running a slightly later version? The current version is 68. (and if you read Bugzilla, you'll see that there are hundreds of little problems, many getting fixed in the nightly, then being incorporated into the next minor update. [68.0.2 was yesterday.)

    Try a toast or notification right after
    ("args", "--url=" + uri.toString()
    just to see if the right URL is being sent. (Standard debugging technique - have the app tell you what's happening.)
    08-15-2019 02:52 PM
  4. senglory's Avatar
    I tried my app both with FF49 and with the latest one - the same effect, empty tab in FF. Meanwhile, Android 4.4 and 5.1 don't have such issue and open FF with my url.
    08-16-2019 06:12 AM

Similar Threads

  1. Unable to wake phone
    By ScottRx82 in forum OnePlus 7 & OnePlus 7 Pro
    Replies: 18
    Last Post: 09-04-2019, 09:16 PM
  2. Cant get my vibrate on for text messages
    By akarthur in forum LG V20
    Replies: 12
    Last Post: 08-21-2019, 09:31 AM
  3. phone running to slow !
    By Android Central Question in forum Ask a Question
    Replies: 4
    Last Post: 08-15-2019, 03:54 PM
  4. If I clear my credentials will I lose all my pictures and stuff on my phone
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 08-15-2019, 12:05 PM
  5. My keypad foes not work during phone calls
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 08-15-2019, 10:05 AM