{ "id": "163166", "key": "AC-4448", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2016-11-15T18:56:38.000+0000", "created": "2016-09-12T11:31:41.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-15T18:56:38.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": [], "description": "Hi,\r\n\r\nI have built an interactive notification and try to \"restart\" the \"frozen\" activity by click. I mean the same action as I click on preview in taskmanager of operating system.\r\n\r\nIn Manifest I see 2 activities: one name with APPNAMEActivity and a second named \"org.appcelerator.titanium.TiActivity\". If I call an intent to first, then the app will restarted with running of splash intro. But I need the direct jump. Is it possible with Titanium and how?\r\n\r\nHere the used snippet:\r\n\r\n{code:java}\r\nIntent intent = new Intent(Intent.ACTION_MAIN);\r\nintent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);\r\nString packageName = TiApplication.getInstance().getPackageName();\r\nString className = packageName + \".\" + TiApplication.getAppRootOrCurrentActivity().getLocalClassName();\r\nintent.setComponent(new ComponentName(packageName, className));\r\nPendingIntent pendingIntent = PendingIntent.getActivity(ctx, 1, intent, PendingIntent.FLAG_UPDATE_CURRENT);\r\nbuilder = new NotificationCompat.Builder(ctx);\r\nbuilder.setSmallIcon(R(\"notification_icon\", \"drawable\"))\r\n\t\t.setAutoCancel(false).setOngoing(true)\r\n\t\t.setPriority(NotificationCompat.PRIORITY_HIGH)\r\n\t\t.setContentTitle(\"\").setContentText(\"\");\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Resuming of inactive Activity from module", "creator": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "396628", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\r\n\r\nafter some studies I know the way is usage of TaskStackBuilder to resume the activity. But the method addParentStack needs the class or classname of my last activity. All activities are named 'org.appcelerator.titanium.TiActivity'. How can I adress my custome activity? Is it a Titanium limitation?\r\n\r\nCheers!", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-20T09:15:53.000+0000", "updated": "2016-09-20T09:15:53.000+0000" }, { "id": "400716", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I believe this is how Appcelerator support activity. See http://docs.appcelerator.com/platform/latest/#!/guide/Android_Intent_Filters", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-10T16:14:20.000+0000", "updated": "2016-11-10T16:14:20.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }