cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Walters <deedu...@gmail.com>
Subject Re: [BlackBerry] launch app from command line?
Date Mon, 12 Nov 2012 18:34:19 GMT
In regards to updating an app on BB5-7, for the simulators you can at least
use fledgecontroller to update the application without requiring the
simulator to restart:

https://gist.github.com/2428385

I believe its possible to also launch the app via fledgecontroller but I
think you have to essentially simulate the correct touch events and can't
simply launch by name.


On Sun, Nov 11, 2012 at 12:18 AM, Filip Maj <fil@adobe.com> wrote:

> 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" <timkim85@gmail.com> 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 <timkim85@gmail.com> 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 <fil@adobe.com> 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 <ip> -password
> >>> <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" <fil@adobe.com> 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" <me@nukulb.com> 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
> >>
> >>
> >>
> >
> >
> >--
> >Timothy Kim
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message