{ "id": "91971", "key": "AC-3110", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-06-05T16:48:51.000+0000", "created": "2012-05-17T22:32:24.000+0000", "labels": [ "android", "api", "module_network" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:48:10.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h1. Problem\r\n\r\nOn android device, Titanium.network change event is not fired when I switch Wi-fi status.\r\nI add ti.android.debug parameter on tiapp.xml, so titanium recognizes the changes of network status.\r\nI think titanium know network status change, but not fired.\r\n\r\n\r\nD/TiNetListener( 1826): (main) [26668,26717] onReceive(): mNetworkInfo=NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true mOtherNetworkInfo = [none]\r\n\r\n\r\nh1. Test\r\n* install KitchenSink on my device.\r\n* open Platform -> Network window.(KitchenSink/Resources/examples/network.js.)\r\n* change Wi-fi Status.\r\n", "attachment": [], "flagged": false, "summary": "Android: Titanium.Network change event not fired when changing network status", "creator": { "name": "kangae2", "key": "kangae2", "displayName": "Satoshi Tanaka", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "kangae2", "key": "kangae2", "displayName": "Satoshi Tanaka", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "* Titanium SDK version: 2.1.0 (github fork)\r\n* Android SDK version: r18\r\n* Device Details: is03, Galaxy Nexus\r\n* Host Operating System: OSX Lion 10.7.4\r\n* Titanium Studio version: 2.0.1.201204132053\r\n\r\n", "comment": { "comments": [ { "id": "197418", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-06-05T16:48:51.000+0000", "updated": "2012-06-05T16:48:51.000+0000" }, { "id": "281072", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:18.000+0000", "updated": "2013-11-24T22:30:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }