How to startActivityForResult by implict intent in Anko?

Such as title.Implicit intent can be used in startActivity,how to be used in startActivityForResult?

  1. Create Singleton class for application instance for example :

class MyApp: Application() {

override fun onCreate() {
    instance = this

companion object {
    lateinit var instance: MyApp
        private set


  1. then after call it where you required application object instance. for example :
val intent: Intent = Intent(MyApp.instance,;

Hope this will help to implict in anko

Thanks.I already solved this problem.