The command "am start -n packagename/.activityname" has to be run in adb shell and is to be included in C++ program
I added the line system("am start -n packagename/.activityname") in my C++ program and when the program is run in adb shell, the system command is returning error code 127 and the shell command is not running
compiler used : arm-linux-none-gnueabi-g++
Its working when i used the g++ compiler
Is the problem with the compiler or with the path?