<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to pass a transaction result value between activities (android in-person sdk) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-pass-a-transaction-result-value-between-activities/m-p/76692#M47933</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am wanting to pass the result value of a transaction to another activity. I am pretty new to java and don't know how I would do this with a custom value such as a net.authorize.aim.emv.Result value. I was trying to pass it as a bundle through the putExtra method of intent but once I'm in the other activity I'm not sure how to convert this value from a bundle to net.authorize.aim.emv.Result. Would anyone be able to help point me in the right direction?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code where I am attempting to retrieve the result value:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Bundle bundleResult&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.aim.emv.Result result&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;Intent i = getIntent()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;(i != &lt;SPAN&gt;null&lt;/SPAN&gt;){&lt;BR /&gt;    &lt;SPAN&gt;if &lt;/SPAN&gt;(i.hasExtra(&lt;SPAN&gt;"result"&lt;/SPAN&gt;)){&lt;BR /&gt;        bundleResult = i.getBundleExtra(&lt;SPAN&gt;"result"&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        result = bundleResult&lt;SPAN&gt;; //this is where I am receiving the error since the bundle needs to be converted&lt;BR /&gt;&lt;/SPAN&gt;    }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 13:28:21 GMT</pubDate>
    <dc:creator>CC95</dc:creator>
    <dc:date>2021-06-07T13:28:21Z</dc:date>
    <item>
      <title>How to pass a transaction result value between activities (android in-person sdk)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-pass-a-transaction-result-value-between-activities/m-p/76692#M47933</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am wanting to pass the result value of a transaction to another activity. I am pretty new to java and don't know how I would do this with a custom value such as a net.authorize.aim.emv.Result value. I was trying to pass it as a bundle through the putExtra method of intent but once I'm in the other activity I'm not sure how to convert this value from a bundle to net.authorize.aim.emv.Result. Would anyone be able to help point me in the right direction?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code where I am attempting to retrieve the result value:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Bundle bundleResult&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;net.authorize.aim.emv.Result result&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;Intent i = getIntent()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;(i != &lt;SPAN&gt;null&lt;/SPAN&gt;){&lt;BR /&gt;    &lt;SPAN&gt;if &lt;/SPAN&gt;(i.hasExtra(&lt;SPAN&gt;"result"&lt;/SPAN&gt;)){&lt;BR /&gt;        bundleResult = i.getBundleExtra(&lt;SPAN&gt;"result"&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;        result = bundleResult&lt;SPAN&gt;; //this is where I am receiving the error since the bundle needs to be converted&lt;BR /&gt;&lt;/SPAN&gt;    }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 13:28:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-pass-a-transaction-result-value-between-activities/m-p/76692#M47933</guid>
      <dc:creator>CC95</dc:creator>
      <dc:date>2021-06-07T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a transaction result value between activities (android in-person sdk)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-pass-a-transaction-result-value-between-activities/m-p/76809#M48012</link>
      <description>&lt;P&gt;I ended up just doing what the sample app did where they assign the result to a variable in the AppManager activity and then access that variable from other activities to get the result data.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 16:27:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-pass-a-transaction-result-value-between-activities/m-p/76809#M48012</guid>
      <dc:creator>CC95</dc:creator>
      <dc:date>2021-06-14T16:27:58Z</dc:date>
    </item>
  </channel>
</rss>

