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 0B40917B1D for ; Mon, 29 Sep 2014 18:08:48 +0000 (UTC) Received: (qmail 49988 invoked by uid 500); 29 Sep 2014 18:08:47 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 49956 invoked by uid 500); 29 Sep 2014 18:08:47 -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 49940 invoked by uid 99); 29 Sep 2014 18:08:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 18:08:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of martin.c.glez.glez@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 18:08:20 +0000 Received: by mail-qa0-f49.google.com with SMTP id n8so9077002qaq.8 for ; Mon, 29 Sep 2014 11:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9cppK04MvJRP4JkSUAmXHU44N3o1DkUJs5JfpVe9Opw=; b=k/uldZh6+6biPggzT08arxowMFfs7GIjKg0i4ms7UMF9nsqe7EMCIxH4/n72N/tG4R f+H0ZhhlIjyqV57UNawDRpKHW0lTlL715gufVzdsh0/xUlE89kJSN/BONW7cgWJ3BHVV wQEbS8IStbMLnuhcE8x1jgimpAadg3YxAq4JeY0QnR0iVt4tICwYeG+07Jt7QPiGoG6N dILWRIc9b/htbdG7EW3Ad+SLMfQoru2YgV3Up9IrDvqHRD2jbs/OT/kX14WCBpT7BMz3 dDLB0E5q93028NagxW7loH1lqkFtatZz5prMydfcirvHmfhFipq/hZE7qgHHbqZOCx7j DjFA== MIME-Version: 1.0 X-Received: by 10.140.85.227 with SMTP id n90mr5808870qgd.89.1412014099744; Mon, 29 Sep 2014 11:08:19 -0700 (PDT) Received: by 10.140.44.55 with HTTP; Mon, 29 Sep 2014 11:08:19 -0700 (PDT) Date: Mon, 29 Sep 2014 13:08:19 -0500 Message-ID: Subject: android app crashes, performing async tasks before loadUrl From: Martin Gonzalez To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=001a11c13ee2d551e60504382651 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c13ee2d551e60504382651 Content-Type: text/plain; charset=UTF-8 Hi devs, I'm getting some problems performing async tasks (android.os.AsyncTask) over android 3.6.x master, using native code before performing loadUrl(). I've found out that onCreate it doesn't setup config and preferences anymore, that code it was moved to init() method. I'm just wondering, why this code was moved to init(), and removed from onCreate()? This is the commit and its subject, but there's no JIRA item related. Un-deprecate CordovaActivity.init() - it's needed to tweak prefs in onCreate, by Andrew Grieve https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=a14c7942557fbaea41438bd3fe104b47997d8371 Thanks. -- Regards, Martin Gonzalez --001a11c13ee2d551e60504382651--