Android SDK APIs

Comments
I was asked on the forum just what versions of Android Appril is supporting.

Out-of-the-box, the Android SDK in Appril has this:

4.0.3 (Ice Cream Sandwich) API-15 + system image
2.2.x (Froyo) API-8


For a table of all releases, see here:
https://source.android.com/source/build-numbers.html

So the SDKs will build for either of those, but the emulator, which uses the "system image" is only Android 4.0.3.

However, it is easy to support any other version of Android. In Android Studio, choose Configure -> SDK Manager, and you can download whatever you want.

If you download another system-image, you can use the AVD Manager in Android SDK to create an emulator for it.

The thing to be careful of though, is they are big downloads, so if you are on a limited data plan, you could run out, or find it getting expensive paying for excess data.

Of course, the APIs installed in Appril represent minimum versions. For example, if you build for API-15 (Android 4.0.3) then the app should also work in all later versions (with some exceptions, such as the rules for writing to the SD card).

Note that Google recently stated that 90% of visitors to the Google Play Store have Android 4.0.3 or greater.
Which was why I chose API-15 as a good compromise to include out-of-the-box in Appril.
Posted on 18 Aug 2015, 18:09 - Categories: Quirky


Appril 7.1 (Quirky Linux) released

Comments
This is the latest release of Quirky Linux. The April series, that started at version 7.0, is built entirely from source using T2, and is not related in any way to any other distro.

Appril 7.1 is a specialised build of the Quirky Linux April series, for Android app developers. These packages are included:

Android SDK
Android Studio
App Inventor
Oracle JDK
LiveCode


These packages and their dependencies have blown up this Quirky way beyond our usual pup. The download file is just under 1GB.

The intention is to have out-of-the-box, just-click-and-get-going Android app development, catering for total non-programmers with App Inventor, through intermediate with LiveCode, to hard-core coders with Android Studio.

A significant feature of Appril is that App Inventor runs locally, whereas the official project is hosted by MIT "in the cloud".

A very significant difference from all other quirkies, puppies and Puppy-derivatives, is that Appril contains all development tools. Other pups are designed for users, with a optional humongous "devx" package available to provide all compiling, version control, etc.
Appril has it all builtin, absolutely everything you can think of.
This makes Appril superb as a compiling environment for any Linux project.
The full Samba as well. You can see the package list in the running Appril, in files /root/.packages/woof-installed-packages and devx-only-installed-packages.

Installation
Installation notes are here:
http://distro.ibiblio.org/quirky/quirky6/x86/releases/appril-7.1/appril-7.1-README.htm

There are two files to choose from:
appril-7.1-16gb.img.xz is an image for a 16GB USB Flash drive or SD card.
appril-7.1.usfs.xz can be installed to any drive or partition. Use the installquirky.x86 utility running in any reasonably modern Linux.

Download
This is the link at ibiblio.org. It will filter through to faster mirrors soon:
http://distro.ibiblio.org/quirky/quirky6/x86/releases/appril-7.1/

Feedback
I have started a thread on the Puppy Forum:
http://murga-linux.com/puppy/viewtopic.php?t=100654

This is all of the announcement and release notes, though comments will likely be posted.
Posted on 18 Aug 2015, 10:11 - Categories: Quirky


Appril plans

Comments
I will probably upload Appril in a few days. It all looks good, except I am having trouble with QtCreator -- it crashes.

I want to move on, have lots of other things to do. So have taken out QtCreator, but it will still be available as a PET if anyone wants to play with it.

One of those "other things" is Rob's Web Developer course. I posted recently that I pledged 15 UK Pounds for a Android Developer Course on Kickstarter:
https://www.kickstarter.com/projects/908213631/the-complete-android-m-developer-course-with-andro

That reached a stretch-goal of two extra courses provided free, and I chose Rob's Web Developer and iOS Developer courses.

I have started on the Web Developer course, and want the time to put into it. So something else has to give way, and that will be Appril.
Posted on 17 Aug 2015, 1:00 - Categories: Quirky


Creating Android app in QtCreator

Comments
Here are instructions to compile Qt to be used by QtCreator to build Android apps:
http://wiki.qt.io/Android

Yeah well, it wasn't that simple for me. This is what I ended up doing:
Android Studio: SDK Manager: installed APIs 10, 11, 16, 18 (note: api-11 is flagged as obsolete)

# export ANDROID_SDK_ROOT='/root/Android/Sdk'
# export ANDROID_NDK_ROOT='/opt/android/ndk-api15-armv7'
# export PATH="${PATH}:/opt/android/ndk-api15-armv7/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/arm-linux-androideabi/bin"
# ./configure -android-sdk /root/Android/Sdk -no-directfb -no-pulseaudio -L /usr/X11R7/lib -I /usr/X11R7/include -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -opensource -confirm-license -prefix /opt/qt5a -nomake examples -R /usr/X11R7/lib -skip qtwebengine -android-ndk /opt/android/ndk-api15-armv7 -android-ndk-platform android-15 -android-ndk-host linux-x86 -android-toolchain-version 4.9 -xplatform android-g++ -platform linux-g++ -nomake tests -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors -force-pkg-config -no-xcb -no-gstreamer -no-pkg-config -sysroot /opt/android/ndk-api15-armv7/platforms/android-15/arch-arm
# make
# make install
<

...the "X11R7" bits are probably not required. Nor the exported variables.

I created a simple app in QtCreator, and it compiled, and build a .apk file.

However, having a problem with the emulator.
Posted on 16 Aug 2015, 0:44 - Categories: Quirky


Appril is coming

Comments
At first, I thought that the codename "Appril" is pretty cringe-worthy, however, I kept using it and it grew on me.

Appril is now the official name for this special build of Quirky. This is a continuation of the April series, the same code-base, and with the kitchen sink thrown in for app developers.

It is going to be big, the download is likely to be over 900MB, however, it is a complete out-of-the-box app development environment. The intention is that you can get going creating and compiling apps for Linux and Android, without having to download anything, and even be offline.

Appril has the "devx" built-in, whereas pups normally have it as a separate SFS or PET file. This has everything for compiling, including Qt5.

Also included are the JDK, Android Studio, Android SDK, App Inventor, and Qt Creator.

The intention is that there will be no manual setup, just click an icon on the desktop and off you go. Not quite there yet.

There is another development tool that I am thinking of adding, and I am hoping to get it all wrapped up and Appril released in about a week.
Posted on 13 Aug 2015, 10:47 - Categories: Quirky


Pages: [1] [2] [3] [4] [5] ...