Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8352

Need some way to expand an activity's functions, or relay them to a plugin.

    XMLWordPrintableJSON

Details

    Description

      There is already startActivityForResult, which helps me run onActivityResult.

      I am having trouble integrating this: http://tinyurl.com/kptdph5
      as a plugin, however. It calls for extending the main Activity to run the events, but as far as I know, only onActivityResult will forward back to a plugin.

      Some ideas:
      1) A pre-processing step that rewrites the main Activity and adds functions from a specific class into the Activity.
      2) ???
      3) PROFIT.

      Attachments

        Activity

          People

            Unassigned Unassigned
            agamemnus Michael Romanovsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: