<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[WD] Obtain the build version of an Android .apk</title>
        <description> Hi,
Is there a way to retrieve the version of an Android app from a Windev application and without Android Studio installed on the machine?
I tried with ExeInfo(exeVersion,&amp;quot;MyApplication.apk&amp;quot;) but it doesn&amp;#039;t work.
Any help would be appreciated.</description>
        <link>https://www.wxforum.info/read.php?27131,792720,792720#msg-792720</link>
        <lastBuildDate>Mon, 16 Mar 2026 15:16:11 +0100</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792754#msg-792754</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk - SOLVED</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792754#msg-792754</link>
            <description><![CDATA[ <a href="mailto:&#106;&#116;&#97;&#100;&#101;&#98;&#114;&#117;&#105;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#106;&#116;&#97;&#100;&#101;&#98;&#114;&#117;&#105;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a> Wrote:<br />
-------------------------------------------------------<br />
&gt; [<a href="https://aaptdownload.com/"  rel="nofollow">aaptdownload.com</a>]<br />
<br />
<br />
Thank you, that works perfectly.]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 16 Jan 2020 08:26:54 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792753#msg-792753</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792753#msg-792753</link>
            <description><![CDATA[ [<a href="https://aaptdownload.com/"  rel="nofollow">aaptdownload.com</a>]]]></description>
            <dc:creator>jtadebruin</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 16 Jan 2020 06:23:57 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792752#msg-792752</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792752#msg-792752</link>
            <description><![CDATA[ Hi Jan,<br />
tried to read in a proper way the AndroidManifest.xml included in the .apk, but with no avail (the AndroidManifest.xml included seems to be cripted).<br />
<br />
Googled for &quot;aapt dump badging&quot;, and it seems that aapt is an useful tool to obtain what i&#039;m trying to achieve.. If I have Android Studio installed on the machine.<br />
<br />
I&#039;m kinda lost on how to proceed...]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Wed, 15 Jan 2020 16:06:10 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792738#msg-792738</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792738#msg-792738</link>
            <description><![CDATA[ Google for  &quot;aapt dump badging&quot;]]></description>
            <dc:creator>jtadebruin</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Sat, 11 Jan 2020 09:52:53 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792735#msg-792735</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792735#msg-792735</link>
            <description><![CDATA[ // er is nu een Androidmanifest.xml aanwezig<br />
  IF fFileExist(XMLBestand) THEN<br />
    XMLBestandInhoud = fLoadText(XMLBestand,foAnsi)<br />
    IF XMLBestandInhoud &lt;&gt; &quot;&quot; THEN <br />
      //package: name=&#039;nl.jbgrip.android&#039; versionCode=&#039;171&#039; versionName=&#039;0.0.171.0&#039;<br />
      sEersteregel = ExtractString(XMLBestandInhoud,1,CR)<br />
      <br />
      sEersteregel = ExtractString(sEersteregel,2,&quot;versionName=&quot;)<br />
      sEersteregel = ExtractString(sEersteregel,1,&quot; &quot;)<br />
      sEersteregel = Replace(sEersteregel,&quot;&#039;&quot;,&quot;&quot;)<br />
      IF sEersteregel &lt;&gt; &quot;&quot; THEN <br />
        EDT_NieuweEXEVersiePlane91 = sEersteregel<br />
      ELSE <br />
        EDT_NieuweEXEVersiePlane91 = &quot;&quot;<br />
      END<br />
    ELSE<br />
      Info(&quot;Het bestand &quot; + XMLBestand + &quot; is leeg. Er kan dus geen versie bepaald worden.&quot;)<br />
    END  <br />
  ELSE<br />
    Info(&quot;Het bestand &quot; + XMLBestand + &quot; is niet aangemaakt. Er kan dus geen versie bepaald worden.&quot;)<br />
  END<br />
ELSE<br />
  Info(&quot;Batch bestand is niet aangemaakt. Er kan dus geen versie bepaald worden.&quot;)<br />
END]]></description>
            <dc:creator>jtadebruin</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Fri, 10 Jan 2020 21:05:12 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792733#msg-792733</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792733#msg-792733</link>
            <description><![CDATA[ Hi,<br />
tried to rename the APK to ZIP, and extracted the AndroidManifest.xml.<br />
Upon opening the xml (with various programs, such as notepad, notepad++, Internet Explorer, ...), the content is just gibberish, and the value i&#039;m searching for is not there.<br />
Am I doing something wrong?]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Fri, 10 Jan 2020 14:21:14 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792725#msg-792725</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792725#msg-792725</link>
            <description><![CDATA[ Rename the APK to ZIP, and see what you get.<br />
<br />
Within a xml file there is the version]]></description>
            <dc:creator>jtadebruin</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 09 Jan 2020 16:12:30 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792722#msg-792722</guid>
            <title>Re: [WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792722#msg-792722</link>
            <description><![CDATA[ Hi. According to the help only the first parameter should be indicated, not the name of the application.<br />
<br />
<br />
   Rubén]]></description>
            <dc:creator>Rubén Sánchez</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 09 Jan 2020 15:45:46 +0100</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,792720,792720#msg-792720</guid>
            <title>[WD] Obtain the build version of an Android .apk</title>
            <link>https://www.wxforum.info/read.php?27131,792720,792720#msg-792720</link>
            <description><![CDATA[ Hi,<br />
Is there a way to retrieve the version of an Android app from a Windev application and without Android Studio installed on the machine?<br />
I tried with ExeInfo(exeVersion,&quot;MyApplication.apk&quot;) but it doesn&#039;t work.<br />
Any help would be appreciated.]]></description>
            <dc:creator>Wilaroth</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Thu, 09 Jan 2020 14:53:55 +0100</pubDate>
        </item>
    </channel>
</rss>
