{ "id": "79468", "key": "TIMOB-5058", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15499", "description": "2013 Sprint 13 API", "name": "2013 Sprint 13 API", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "15111", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-26T08:54:26.000+0000", "created": "2011-08-19T13:52:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:21: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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. Bug\r\n \r\nh3. Problem\r\n\r\nWhen the activity indicator is running, and you press the search button of the mobile the activity indicator stops.\r\n \r\nh3. Reproducible steps:\r\n \r\n1.Run the code below.\r\n \r\nh3. Expected behavior\r\n\r\nCustomer want to disable the search button when the activity indicator is running, or another solution to solve the problem.\r\n\r\nh3. Sample Code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ navBarHidden: true, layout: 'vertical' });\r\nwin.add(Ti.UI.createLabel({ text: '1. Leave this app and \"Share\" some text.', top: 20 }));\r\nvar button = Ti.UI.createButton({ title: '2. Touch me to crash the application.', top: 20 });\r\n\r\nbutton.addEventListener('click', function() \r\n{\r\n \r\n \r\n\r\n var x=Ti.UI.createActivityIndicator(\r\n \t{\r\n \tmessage: '3. This alert should crash the app.'\r\n \t});\r\n \t\r\n \tx.show();\r\n \r\n \tsetTimeout(function()\r\n \t{\r\n \t\tx.hide();\t\r\n \t},6000);\r\n \r\n});\r\n\r\nwin.addEventListener('android:search', function() {\r\nTi.API.info('You clicked search button')\r\n\r\n\r\n});\r\n\r\n\r\n \r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\nh3. Helpdesk\r\nAPP-357876", "attachment": [], "flagged": false, "summary": "Android: Overriding Android device Search button behavior", "creator": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Device and simulator", "comment": { "comments": [ { "id": "163566", "author": { "name": "shahid.latif", "key": "shahid.latif", "displayName": "Shahid Latif", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Adding two more thing. This shows following behavior too\r\n1) when i send the http request to the server it will also stop that request and we are in blank situation.\r\n2) it creates two instance of the application", "updateAuthor": { "name": "shahid.latif", "key": "shahid.latif", "displayName": "Shahid Latif", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-20T22:09:40.000+0000", "updated": "2011-08-20T22:09:40.000+0000" }, { "id": "202997", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on a Samsung Galaxy S2 with 2.1GA, issue still exists.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-12T12:56:40.000+0000", "updated": "2012-07-12T12:56:40.000+0000" }, { "id": "249108", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "cannot reproduce\r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\nAndroid Emulator: Android SDK version: 2.2 ", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-26T08:54:26.000+0000", "updated": "2013-04-26T08:54:26.000+0000" }, { "id": "414567", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:21:38.000+0000", "updated": "2017-03-21T22:21:38.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }