BB10 launches applications from the command line

I followed the instructions here: BB10 Cascades Command Line Development

Now I have a makefile project that can compile and deploy my application on a connected device. The only problem: I cannot run the application remotely. I created a special test version that just launches an automated test and then exits, so the next logical step is to launch the application and wait for it to exit (it would be great if I could control stdout and stderr) or kill it if it takes too much a lot of time.

What I'm trying to accomplish (to avoid the xy problem) is the integration with the Jenkins server, which we have already used for other platforms. For example: on Android, we use robotics to achieve the same degree of integration.

+4
source share
1 answer

blackberry-nativepackager allows you to run an application similar to android adb.

Just call it like

blackberry-nativepackager -launchApp <path to bar file> -device <devices ip address> -password <your pwd> 
+5
source

Source: https://habr.com/ru/post/1479490/


All Articles