var main = plus.android.runtimeMainActivity(); var pkName = main.getPackageName(); console.log(pkName)