<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 9 March 2017 at 16:35, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="m_-1795092638363785008gmail-">On Wed, Mar 8, 2017 at 4:28 PM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-1795092638363785008gmail-m_-411396024456925476m_8764004318296348003m_-2016907178975976940h5">On 9 March 2017 at 07:53, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>tmc, I noticed in the Compiling for Android wiki page, you mention the ndk-r12b branch. which raises the miminum supported version of Android to 2.3<br><br></div><div>I was playing around with Android Studio today, and I saw that when creating a new project, and choosing what version to target, they give you a handy estimate of what percentage of all devices would be compatible.<br><br></div><div>Tutorials I looked at mostly seemed to suggest API 15 for a minimum Android version of 4.03 since that provides a lot of features, and supports 97.4% of all android devices.<br><br></div><div>I then when to check out older versions. API 9 for a minimum version of 2.3 claims 100% device support.<br><br></div><div>So either they have just chosen to stop acknowledging the existence of versions 2.2 and older, or those older versions actually do represent < 0.1% of Android devices out there.<br><br></div><div>Should we bump our minimum up to android 2.3?<br></div></div></blockquote><div><br></div></div></div><div>Are there any particular features in API 9 that you want to use?<br></div></div></div></div></blockquote><div><br></div></span><div>Not really. I know that 2.3 is the minimum for targeting intel as opposed to arm, right?<br><br></div><div>But the arm based apks work perfectly well on intel tablets, so I don't care that much. <br></div></div></div></div></blockquote><div><br></div><div>Ah yes, 2.3 is the minimum for x86.<br><br></div><div>You can upload multiple .apks targeting different CPU types and simultaneously different API levels.<br><a href="https://developer.android.com/google/play/publishing/multiple-apks.html" target="_blank">https://developer.android.com/<wbr>google/play/publishing/<wbr>multiple-apks.html</a><br><br></div><div>A slightly tricky part seems to be assigning version codes to the apks. Those targetting higher API levels must have higher version numbers, but you also need the version numbers to increase when you update the app.<br><a href="https://developer.android.com/training/multiple-apks/api.html#AdjustManifests" target="_blank">https://developer.android.com/<wbr>training/multiple-apks/api.<wbr>html#AdjustManifests</a><br></div><div><br></div><div>Clearly, creating and uploading multiple .apks creates extra work. I had assumed that we would want to do that anyway if providing binaries for multiple cpu types, to reduce the download size and app size. The size of the ARM liibraries for ohrrpgce-game is currently roughly 1.7MB zipped, 3MB unzipped. I don't know if that matters to most people. Once I am no longer using such an old phone with only 170MB of storage it'll probably stop mattering to me!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><span class="m_-1795092638363785008gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>I would have switched to API 9 a while ago, because it was a major improvement in the quality of libc and other NDK stuff, but my own phone is Android 2.2. But one of these days I'll spend $20 and get a better phone...<br></div></div></div></div></blockquote><div><br></div></span><div>Well, no rush :)<br><br><br></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div>