Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20490

Android: Apps should be able to open/resume and respond to intents


    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0, Release 5.2.1
    • Fix Version/s: Release 6.0.0, Release 6.1.0
    • Component/s: Android
    • Labels:
    • Environment:
    • Story Points:
    • Sprint:
      2016 Sprint 20 SDK


      As a developer, I want my app to be able to open or resume (from background) in response to intents like launcher shortcuts (TIMOB-20459) or custom URL schemes (TIMOB-15253) and receive that intent so I can perform logic depending on the intent.

      Primary user stories

      • If my app is not running it should be opened and I should be able to get the intent form Ti.App.Android.launchIntent.
      • If my app is already running it should be brought to the foreground and fire an event (Ti.App.Android:intent?) that has a reference to the intent. Ti.App.Android.launchIntent should also be updated to reference the new intent. (TIMOB-20459)

      Secondary technical stories

      • If my app is already running (in another stack) no new instance should be created and pushed the current stack (that fires the intent). Instead the existing stack must be brought to the foreground with the activity on top. (TIMOB-15253)
      • If my app is already running and several new Activities (windows) have opened over the original Activity (window) I must still be able to receive the event (Ti.App.Android:intent?) for the new intent and not be required to add listeners to the activity of every single window I open (Ti.UI.Window.activity:newintent).
      • Opening my app via an URL scheme should not require any additional flags or the intent scheme.

      Test scenarios

      In all of these make sure both apps are several Activities (windows) deep.

      • Create two apps where one opens the other using an intent
      • Create an app that creates an additional launch shortcut to open itself (TIMOB-20459)
      • Register a custom URL scheme and open that via email (TIMOB-15253)

      Let's discuss if I forget something before we solve this once and for all.


          Issue Links



              • Assignee:
                gmathews Gary Mathews
                fokkezb Fokke Zandbergen
                Samir Mohammed
              • Watchers:
                0 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    Sync status:
                    Last received:
                    Last sent:

                    Git Integration