Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC3BCD57E for ; Thu, 6 Dec 2012 21:41:10 +0000 (UTC) Received: (qmail 2750 invoked by uid 500); 6 Dec 2012 21:41:10 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 2705 invoked by uid 500); 6 Dec 2012 21:41:09 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 2615 invoked by uid 500); 6 Dec 2012 21:41:09 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 2559 invoked by uid 99); 6 Dec 2012 21:41:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 21:41:09 +0000 Date: Thu, 6 Dec 2012 21:41:09 +0000 (UTC) From: "Alain Renaud (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-1974) navigator.connection.type always reports 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alain Renaud updated CB-1974: ----------------------------- Summary: navigator.connection.type always reports 0 (was: navigator.connection.type always report 0) > navigator.connection.type always reports 0 > ------------------------------------------ > > Key: CB-1974 > URL: https://issues.apache.org/jira/browse/CB-1974 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.2.0 > Environment: HTC Amaze Android 2.3.4 > Reporter: Alain Renaud > Assignee: Joe Bowser > Priority: Minor > > With a connected phone, calling "navigator.connection.type" returns 0 (Connection.UNKNOWN) when "navigator.network.connection.type" (in earlier PG versions) used to return one of Connection.ETHERNET Connection.WIFI Connection.CELL_2G Connection.CELL_3G Connection.CELL_4G > This behaviour happens both with local Eclipse Android build and PG web Build. Therefore the phone connection status in a PhoneGap scripted app can NO longer be tested... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira