{ "id": "63939", "key": "TIMOB-3307", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11246", "name": "Sprint 2011-11", "archived": true, "released": true, "releaseDate": "2011-03-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-26T10:26:42.000+0000", "created": "2011-04-15T03:41:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "feature", "release-1.7.0", "reported-1.7.0" ], "versions": [], "issuelinks": [ { "id": "10234", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "64770", "key": "TIMOB-3701", "fields": { "summary": "Confirm TIMOB-3307", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-26T10:26:42.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

create a callback for newIntent that's called\nsynchronously on Ti.Android.currentActivity. Similar\nto pause and resume.

\n

See the \nAndroid Docs) make sure setIntent is also exposed\nso an Activities intent can be updated if needed.

{html}", "attachment": [ { "id": "18300", "filename": "newintent.zip", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:41:49.000+0000", "size": 3061229, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Expose onNewIntent on Activities", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130501", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [576b6298029ec8b4e67de3f2feb1c4d665f8ca89])\n[#3307 state:fixed-in-qa] Added support. A test\napp will be attached \nhttps://github.com/appcelerator/titanium_mobile/commit/576b6298029e...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:41:50.000+0000", "updated": "2011-04-15T03:41:50.000+0000" }, { "id": "130502", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This one is a fun one to test. You'll need the attached app.\nAfter you import it once and launch it, you'll need to edit the\ntheme.xml file and remove .Fullscreen\nfrom the Theme. After you do that don't touch tiapp.xml\nbecause there is a couple of bugs where it won't properly honor the\nflags in tiapp.xml and if you edit tiapp.xml it wipes out the\nedits. You need to be able to see the status bar to test.

\n

This feature centers around this \nmethod). There are several variations that need to be performed\nto test all of the combinations.

\n

App Already in Foreground

\n

1) Launch the app
\n2) Click the Notify button, you should see an icon\nappear in the status bar
\n3) Pull down the status bar, select the notification and you should\nsee a Toast pop up saying a new intent was\nreceived.

\n

App In Background

\n

1) Launch the app
\n2) Click the Notify button, you should see an icon\nappear in the status bar
\n3) Press the Home button
\n4) Pull down the status bar, select the notification and you should\nsee the application brought to front and a Toast pop\nup saying a new intent was received.

\n

App Closed

\n

1) Launch the app
\n2) Click the Notify button, you should see an icon\nappear in the status bar
\n3) Press the Back button to exit the app.
\n3) Pull down the status bar, select the notification and you should\nNOT see a Toast pop up

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:41:50.000+0000", "updated": "2011-04-15T03:41:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }