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 AC8509962 for ; Sun, 11 Nov 2012 06:19:05 +0000 (UTC) Received: (qmail 73947 invoked by uid 500); 11 Nov 2012 06:19:04 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 73910 invoked by uid 500); 11 Nov 2012 06:19:04 -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 73845 invoked by uid 99); 11 Nov 2012 06:19:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2012 06:19:02 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.78 as permitted sender) Received: from [64.18.1.78] (HELO exprod6og127.obsmtp.com) (64.18.1.78) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2012 06:18:54 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob127.postini.com ([64.18.5.12]) with SMTP ID DSNKUJ9DOCsDeiauOhqgsLolLouLFqS9eKcZ@postini.com; Sat, 10 Nov 2012 22:18:33 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qAB6IVHP023123 for ; Sat, 10 Nov 2012 22:18:31 -0800 (PST) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qAB6IUXL019281 for ; Sat, 10 Nov 2012 22:18:31 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Sat, 10 Nov 2012 22:18:30 -0800 From: Filip Maj To: "dev@cordova.apache.org" Date: Sat, 10 Nov 2012 22:18:28 -0800 Subject: Re: [BlackBerry] launch app from command line? Thread-Topic: [BlackBerry] launch app from command line? Thread-Index: Ac2/1F6M0ADjge3VTtGJCgi3SpDlFw== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.4.120824 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hmm system_profiler is close but when I connected both a playbook and a BB10 device they are listed to have the same Ips (169.254.0.1). They both have an actual network ip as well (192.168.1.xxx in my case right now) but it only lists the 169 under system profiler. The one benefit of system_profiler is you can at least determine how many playbook or bb10 devices are connected.. That's a start. On 11/9/12 5:10 PM, "Tim Kim" wrote: >Update! Try this command instead > >system_profiler SPNetworkDataType -detailLevel basic > >Runs faster since it doesn't have to generate an entire system's report. > > >On 9 November 2012 17:02, Tim Kim wrote: > >> Hrmmm, I think you can figure out which devices are currently connected >> using >> system_profiler -detailLevel basic >> >> The bb10 entry is under PlayBook (en5) and the playbook entry is under >> PlayBook (en3) (not sure if the en# changes or not). Also, those >>entries >> should all fall under the "Network" stuff. >> >> In any case, if you look for those, there'll be a field that should give >> you the ip address of the device. >> >> Looks like you can make a quick script to grep for that stuff! >> >> >> On 9 November 2012 16:22, Filip Maj wrote: >> >>> For getting a list of devices, it's a network issue due to OTA >>>deployment. >>> Would be nice if there was a "discover" command in the BB suite of >>>tools >>> that would scan the local network and find any Bbs. Just sayin :) >>> >>> As for determining which one is a playbook or bb10, you can do that >>> through ./blackberry-deploy -getDeviceInfo -device -password >>> >>> >>> PS the various cli tools that come with the BB SDK are awesome. The >>>_one_ >>> thing missing is an equivalent to Android's "adb devices" which lists >>>all >>> accessible / connected / reachable Android devices. >>> >>> On 11/9/12 3:56 PM, "Filip Maj" wrote: >>> >>> >Yeah that worked awesome. Silly me for trying BB 7 ;) >>> > >>> >Nukul (or anyone for that matter), one more quick question: any way to >>> >accomplish the following: >>> > >>> >- get a list of connected BlacKBerry devices (only playbook / bb10 is >>> >fine) >>> >- determine which one is a playbook and which one is a bb10 ? >>> > >>> >On 11/9/12 3:26 PM, "Nukul Bhasin" wrote: >>> > >>> >>Not possible for BlackBerry os 6 or 7 >>> >>You can do it for pb and bb10 using BlackBerry-deploy >>> >> >>> >>From: Tim Kim >>> >>To: dev@cordova.apache.org >>> >>Reply To: dev@cordova.apache.org >>> >>*Re: [BlackBerry] launch app from command line?* >>> >>2012-11-09 6:18:09 PM >>> >> >>> >>I talked to Fil over IM about this and here were some points I came >>>up >>> >>with: >>> >>- pretty sure just doing ./cordova/debug on bb10/playbook will auto >>> >>launch >>> >>app >>> >>- not sure what to do for bb 6/7 - ./cordova/debug will install onto >>> >>device >>> >>but not launch it >>> >>- also updating an app of bb 6/7 reboots the device which could be >>> >>problematic for testing new changes without a human involved >>> >> >>> >> >>> >>On 9 November 2012 15:04, Filip Maj wrote: >>> >> >>> >>> I can successfully package and deploy an app to a device. >>> >>> >>> >>> I am now looking to launch it from my command line. I am working on >>> the >>> >>> cordova CI setup. >>> >>> >>> >>> I dug around for some articles but couldn't find anything. Tim / >>>Gord >>> / >>> >>> Ken / any other RIM lurkers around that could potentially set up? >>> >>> >>> >>> I am interested in all flavors of BlackBerry: OS 6-7, PlayBook, or >>> >>>BB10. >>> >>> Command-line launching for any/all of these would be rad. >>> >>> >>> >>> Thx in advance for any help / pointers. >>> >>> >>> >>> Fil >>> >>> >>> >>> >>> >> >>> >> >>> >>-- >>> >>Timothy Kim >>> > >>> >>> >> >> >> -- >> Timothy Kim >> >> >> > > >--=20 >Timothy Kim