我开发一个Android应用程序侦听包含了一些数据捆绑特定意图。我想利用亚行意图发送到我的应用程序。我曾尝试用:
I'm developing an Android app listening for specific intent containing a bundle with some data. I would like to send an intent to my app using adb. I have tried with:
adb shell am startservice -a com.INTENT_NAME -e myBundleName myBundleData com.pkg/com.pkg.cls
但我的应用程序认可它作为字符串列表而不是一个包。有谁知道如何发送使用时应用程序软件包,意图是什么?不幸的文件说,只有大约发送字符串或号码清单,一无所知捆绑。
but my app recognised it as list of string not as a bundle. Does anyone know how to send intent with bundles using am application? Unfortunately documentation says only about sending lists of string or numbers, nothing about bundle.
按照来源$ C $ C 是
没有接受捆绑的输入数据的方式
键入
上一篇:如何增加覆盖的景色在Android的其他看法?景色、看法、Android
下一篇:我怎么可以卖掉我的Android应用程序在不正式的客商Android的市场支持的国家吗?我的、客商、应用程序、正式