Android app built using a simple Makefile that only requires the standard JDK toolchain and Debian android-sdk.
Go to file
2023-10-02 23:30:39 +02:00
res/layout Initial Commit 2020-06-17 17:45:30 +00:00
.gitignore Ingore *.unsigned and *.aligned 2023-10-02 23:30:39 +02:00
AndroidManifest.xml Simplify down a bit 2023-10-02 23:30:38 +02:00
HelloWorld.java Add Test class 2023-10-02 23:30:38 +02:00
LICENSE Relicense under GPLv3-or-later 2023-10-02 23:30:27 +02:00
Makefile Ingore *.unsigned and *.aligned 2023-10-02 23:30:39 +02:00
README.md Relicense under GPLv3-or-later 2023-10-02 23:30:27 +02:00
Test.java Add Test class 2023-10-02 23:30:38 +02:00

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

Contact

Coffee

Xavi

License

This software was originally licensed under the CC0 license, meaning that to the extent possible under law, the original author has waived all copyright and related or neighboring rights to this work. Then, it was relicensed under the GPLv3-or-later by Xavi.

android-simple, a simple "Hello, world" Android app
Copyright (C) 2023  Xavier Del Campo Romero

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

The above is a summary; the full license can be found in the file called LICENSE.