A very simple "Hello World" program for Android, designed to be built with tools included in Debian Buster, and nothing else.
Go to file
Coffee 39bf760edb Add .gitignore 2020-06-17 19:57:55 +00:00
res/layout Initial Commit 2020-06-17 17:45:30 +00:00
src/coffee/source/helloworld Initial Commit 2020-06-17 17:45:30 +00:00
.gitignore Add .gitignore 2020-06-17 19:57:55 +00:00
AndroidManifest.xml Initial Commit 2020-06-17 17:45:30 +00:00
LICENSE Add LICENSE (CC0) and README.md 2020-06-17 19:55:55 +00:00
Makefile Initial Commit 2020-06-17 17:45:30 +00:00
README.md Add LICENSE (CC0) and README.md 2020-06-17 19:55:55 +00:00

README.md

Debian Android Hello World

A very simple "Hello World" program for Android, designed to be built with tools included in Debian Buster, and nothing else.

What is this?

It's a demo Android app that displays the text "Hello World".

Why would I want this?

The Android toolchain is poorly documented; the subset of tools included in Debian Buster and what you can do with them even less so. Most documentation out there assumes you are using Android Studio or at least Gradle.

This project helps to document the Android tools in Debian by providing an example build, and can serve as a base template for new projects for those who would like to develop Android apps using only truly Free and Open Source software.

Status

This project results in an installable APK file, but additional testing is needed.

How do I use this?

Assuming you are using Debian Buster, install the following packages:

~# apt-get install make android-sdk android-sdk-platform-23

This should pull in all the necessary dependencies. Let me know if you find something is missing.

Then, simply check out the project with git, and run 'make'.

If everything goes well, you will end up with 'helloworld.apk' in the root directory of the project, which you can transfer to your phone and install in any way you see fit, for example using 'adb install'.

On the first run, you will be asked for information to create your signing key. If you're just trying things out, you can leave everything as-is.

Credits

This project would have taken much more time without the clear instructions found at hanshq.net and to a lesser extent Stack Overflow (via archive.org).

Author

Coffee

Contact

License

This software is is licensed under the CC0 license, meaning that to the extent possible under law, the author has waived all copyright and related or neighboring rights to this work.

This software is offered as-is, and the author makes no representations or warranties of any kind concerning the software, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.

The above is a summary; the full license can be found in the file called LICENSE, or at the creative commons website.