here's my case, i develop a control widget, user can push a controlwidget to play music without open the app.
i bind a AudioPlaybackIntent to the widget. when user click the widget, the app will receive the intent and start to play music.
it works perfect when app running in background or foreground. but when app not launched, the respond is too slow, it takes several seconds to start play music.
is there any way to make the respond faster when app not launched? if i want to do something when app not launched, what should i do?
Have you looked at analyzing your app's launch speed, and removing any bottlenecks, even outside of an intent invocation? Instruments will capture all of the work that happens at launch in a Time Profiler trace. The work you do to optimize your app launch time will then pay benefits when you are launched through an intent.
We have a lot of supporting resources for this subject. Here's two starting points:
—Ed Ford, DTS Engineer