<?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 Quote:Xavier H. (Intel) wrote in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011758#M34491</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Xavier H. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;no, the APK for the primary ABI will not be automatically selected.&lt;/P&gt;

&lt;P&gt;The store only checks the compatibility of the APKs that are available (without prioritizing any criteria) and returns the APK with the higher android:versionCode set.&lt;/P&gt;

&lt;P&gt;So If your ISV set a higher versionCode number to the x86 APK, it will always be distributed to x86 devices.&lt;/P&gt;

&lt;P&gt;To ensure the x86 versionCode is always the higher one, your ISV can use a convention such as this one:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/android/articles/google-play-supports-cpu-architecture-filtering-for-multiple-apk"&gt;https://software.intel.com/en-us/android/articles/google-play-supports-c...&lt;/A&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello Xavier,&lt;/P&gt;

&lt;P&gt;Is there any methods to find &lt;FONT color="#004280" face="intel-clear, Arial, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 14px; line-height: 19.6px;"&gt;&lt;B&gt;&lt;I&gt;abi&amp;nbsp;&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/FONT&gt;of a phone using code instead of &amp;nbsp;getprop&amp;nbsp;&lt;SPAN style="color: rgb(0, 66, 128); font-family: intel-clear, Arial, Tahoma, Helvetica, sans-serif; font-size: 14px; font-style: italic; font-weight: bold; line-height: 19.6px;"&gt;ro.product.cpu.abi&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;. I need to find the exact abi of a phone so that i can copy the appropriate .so library to system/lib folder.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 12:42:50 GMT</pubDate>
    <dc:creator>Cuong_P_</dc:creator>
    <dc:date>2016-02-09T12:42:50Z</dc:date>
    <item>
      <title>Using CPU ABI to filter multiple APKs for an App in Google Play</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011755#M34488</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have found &lt;A href="http://developer.android.com/google/play/publishing/multiple-apks.html"&gt;documentation &lt;/A&gt;on the Android Developer site that states that the CPU ABI of a device can be used to &lt;A href="http://developer.android.com/google/play/filters.html"&gt;filter &lt;/A&gt;the APK selected for a single&amp;nbsp;application with multiple APKs to install from the Google Play store.&lt;/P&gt;

&lt;P&gt;I was wondering what happens when there is a secondary ABI property on the device as is found on many Intel Android devices as follows:&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;[ro.product.cpu.abi2]: [armeabi-v7a]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;[ro.product.cpu.abi]: [x86]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;My situation is that an ISV has an application that has always been available on ARM, but has recently added a compatible application for IA. Instead of building a single APK (fat binary) they have developed two APKs being distributed under one name in Google Play using multiple APK support. I want to ensure that the IA version of their application is always installed on IA devices instead of the ARM version.&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;I could not find any documentation on this situation.&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;STRONG&gt;If there are APKs for both primary and secondary ABIs available for an application that is distributed with multiple APK support, will the APK for the&amp;nbsp;primary ABI always be selected for installation?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2014 22:55:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011755#M34488</guid>
      <dc:creator>Lance_A_Intel</dc:creator>
      <dc:date>2014-07-28T22:55:31Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011756#M34489</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;no, the APK for the primary ABI will not be automatically selected.&lt;/P&gt;

&lt;P&gt;The store only checks the compatibility of the APKs that are available (without prioritizing any criteria) and returns the APK with the higher android:versionCode set.&lt;/P&gt;

&lt;P&gt;So If your ISV set a higher versionCode number to the x86 APK, it will always be distributed to x86 devices.&lt;/P&gt;

&lt;P&gt;To ensure the x86 versionCode is always the higher one, your ISV can use a convention such as this one:&amp;nbsp;https://software.intel.com/en-us/android/articles/google-play-supports-cpu-architecture-filtering-for-multiple-apk&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2014 07:21:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011756#M34489</guid>
      <dc:creator>Xavier_H_Intel</dc:creator>
      <dc:date>2014-07-29T07:21:55Z</dc:date>
    </item>
    <item>
      <title>Fantastic, thanks Xavier!</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011757#M34490</link>
      <description>&lt;P&gt;Fantastic, thanks Xavier!&lt;/P&gt;

&lt;P&gt;The info on the version code is just what I need.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2014 14:49:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011757#M34490</guid>
      <dc:creator>Lance_A_Intel</dc:creator>
      <dc:date>2014-07-29T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Quote:Xavier H. (Intel) wrote</title>
      <link>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011758#M34491</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Xavier H. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;no, the APK for the primary ABI will not be automatically selected.&lt;/P&gt;

&lt;P&gt;The store only checks the compatibility of the APKs that are available (without prioritizing any criteria) and returns the APK with the higher android:versionCode set.&lt;/P&gt;

&lt;P&gt;So If your ISV set a higher versionCode number to the x86 APK, it will always be distributed to x86 devices.&lt;/P&gt;

&lt;P&gt;To ensure the x86 versionCode is always the higher one, your ISV can use a convention such as this one:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/android/articles/google-play-supports-cpu-architecture-filtering-for-multiple-apk"&gt;https://software.intel.com/en-us/android/articles/google-play-supports-c...&lt;/A&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello Xavier,&lt;/P&gt;

&lt;P&gt;Is there any methods to find &lt;FONT color="#004280" face="intel-clear, Arial, Tahoma, Helvetica, sans-serif"&gt;&lt;SPAN style="font-size: 14px; line-height: 19.6px;"&gt;&lt;B&gt;&lt;I&gt;abi&amp;nbsp;&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/FONT&gt;of a phone using code instead of &amp;nbsp;getprop&amp;nbsp;&lt;SPAN style="color: rgb(0, 66, 128); font-family: intel-clear, Arial, Tahoma, Helvetica, sans-serif; font-size: 14px; font-style: italic; font-weight: bold; line-height: 19.6px;"&gt;ro.product.cpu.abi&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;. I need to find the exact abi of a phone so that i can copy the appropriate .so library to system/lib folder.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 12:42:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Using-CPU-ABI-to-filter-multiple-APKs-for-an-App-in-Google-Play/m-p/1011758#M34491</guid>
      <dc:creator>Cuong_P_</dc:creator>
      <dc:date>2016-02-09T12:42:50Z</dc:date>
    </item>
  </channel>
</rss>

