USSD service not working

后端 未结 4 2044
渐次进展
渐次进展 2020-12-08 11:19

I\'m trying to develop an application which silently dismiss the USSD responses. I\'ve used the code from http://commandus.com/blog/?p=58 with minor changes. I\'ve created t

4条回答
  •  [愿得一人]
    2020-12-08 11:56

    If your using android 3.1 (API 12), when an app installs it's in a stopped state by default until the user starts your app explicitly as stated in the commonsblog:

    http://commonsware.com/blog/2011/07/13/boot-completed-regression-confirmed.html

    and in the android documentation:

    http://developer.android.com/about/versions/android-3.1.html#launchcontrols

    I believe the bottom line is that an app containing only an IntentService or BroadcastReceiver cannot be started by it's own.

提交回复
热议问题