Hello, Here more clarifications about app_launcher, the new tools replacing open_app, that enables launching applications.
open_app is a tool initially present in aul package and used for launching applications. It is now moved in* aul-test package*, available when installing aul-test package. A new tool replaces open_app named *app_launcher*. Nevertheless, if your QA team needs to use app_launcher without change scripts including open_app, you will find at the end of the mail a script named open_app. To use the script, it must be placed in /usr/bin in substitution of open_app binary, and make it executable. It parses arguments passed to open_app and returns the equivalent to app_launcher, it also adds the new features of app_launcher to open_app. app_launcher available in aul package, has advantage to include features of *open_app* (ie launching applications with/without debug mode), of *ail_list* (ie listing users applications) and new features as listing all running applications of the current user, killing a running application, getting the status of an application. Please see https://wiki.tizen.org/wiki/Application_framework. *open_app script* : #!/bin/bash # Arguments is missing if [[ "$#" < 1 ]] ; then echo "Usage: open_app" echo " 1) <appid> [OPTIONS]:" echo " -d enable debugging" echo " -k kill application" echo " -r check whether application is running" echo " 2) OPTIONS:" echo " -l list installed applications" echo " -S list running applications" # case 2) elif [[ "$#" == 1 ]] ; then if [[ "$1" == "-l" || "$1" == "-S" ]] ; then op1="$1" else op1="-s" appid="$1" fi # case 1) else case "$2" in "-d") op1="-s" op2="-d" appid="$1"; ;; "-S") op1="-S"; ;; "-k") op1="-k" appid="$1"; ;; "-r") op1="-r" appid="$1" ;; esac fi if [ "`whoami`" == "root" ] then echo "root is not allowed"; exit 1 else /usr/bin/app_launcher ${op1} ${appid} ${op2} fi Regards, Sabera Djelti and Baptiste Durand
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
