<?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 implement Camera intent via popup? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-implement-camera-intent-via-popup/m-p/670642#M4662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently trying to get the Add Attachment button working as it is presented &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/help/index.html#//01190000002q000000"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment, using only the "Popup In Web Map For Editing Sample", the application doesn't show the option of taking a picture or select a photo, but goes directly into the gallery to select a picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to show the options, just like in the link showed above. I thought it would be a permission problem but I've got everything needed to be able to take a picture or handle an intent within the application.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI Arcgis application on the android market has this functionality working on the same phone I am testing the sample, so it cannot come from the fact that there is a problem accessing the camera.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the "issue" might be in the onAddAttachment() method of PopupEditingListener interface implementation, as it only takes cares of the gallery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to add the code to handle the Camera intent but, as per the link above : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Popups make it very easy to edit media attachments for a graphic. Users can attach photos and videos to graphics either by choosing an existing item from the device's photo gallery or by using the device's camera, if one is available.&lt;STRONG&gt; You do not need to write any code to implement this functionality, it is provided by the PopupContainer&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, but where?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your input!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2012 14:29:26 GMT</pubDate>
    <dc:creator>JulienRichard</dc:creator>
    <dc:date>2012-07-16T14:29:26Z</dc:date>
    <item>
      <title>How to implement Camera intent via popup?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-implement-camera-intent-via-popup/m-p/670642#M4662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently trying to get the Add Attachment button working as it is presented &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/help/index.html#//01190000002q000000"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment, using only the "Popup In Web Map For Editing Sample", the application doesn't show the option of taking a picture or select a photo, but goes directly into the gallery to select a picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to show the options, just like in the link showed above. I thought it would be a permission problem but I've got everything needed to be able to take a picture or handle an intent within the application.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI Arcgis application on the android market has this functionality working on the same phone I am testing the sample, so it cannot come from the fact that there is a problem accessing the camera.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the "issue" might be in the onAddAttachment() method of PopupEditingListener interface implementation, as it only takes cares of the gallery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to add the code to handle the Camera intent but, as per the link above : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Popups make it very easy to edit media attachments for a graphic. Users can attach photos and videos to graphics either by choosing an existing item from the device's photo gallery or by using the device's camera, if one is available.&lt;STRONG&gt; You do not need to write any code to implement this functionality, it is provided by the PopupContainer&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, but where?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your input!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 14:29:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-implement-camera-intent-via-popup/m-p/670642#M4662</guid>
      <dc:creator>JulienRichard</dc:creator>
      <dc:date>2012-07-16T14:29:26Z</dc:date>
    </item>
  </channel>
</rss>

