An open API service indexing awesome lists of open source software.

https://github.com/appliberated/helloworldselfaware

A small Hello World app with self awareness. Tells Android version & API Level.
https://github.com/appliberated/helloworldselfaware

android android-api-level android-version hello-world hello-world-android hello-world-app learning-project serial-number version-number

Last synced: about 19 hours ago
JSON representation

A small Hello World app with self awareness. Tells Android version & API Level.

Awesome Lists containing this project

README

        

# Hello World Self-Aware

[![Minimum API Level](https://img.shields.io/badge/Min%20API%20Level-9-green)](app/build.gradle.kts)
[![Maximum API Level](https://img.shields.io/badge/Target%20API%20Level-35-orange)](app/build.gradle.kts)
[![Releases](https://img.shields.io/github/release/Appliberated/HelloWorldSelfAware.svg)](https://github.com/Appliberated/HelloWorldSelfAware/releases/latest)
[![GitHub repo size](https://img.shields.io/github/repo-size/Appliberated/HelloWorldSelfAware)](https://github.com/Appliberated/HelloWorldSelfAware)
[![License](https://img.shields.io/npm/l/express.svg)](LICENSE)
[![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/Appliberated/HelloWorldSelfAware/total)](https://github.com/Appliberated/HelloWorldSelfAware/releases)

This is a small 121 KB Hello World app that lets the Android device introduce itself by "name" (serial number), Android version and API Level.

[Hello World apps](https://en.wikipedia.org/wiki/%22Hello,_World!%22_program) are usually not supposed to be useful. However, you may use this tiny app to quickly find out the Android version and API Level of a device; all displayed information can be copied to the clipboard with a simple long-press. Because it's so tiny and doesn't need any permissions, it's very easy to install even on older and less powerful hardware.

## Screenshot

Hello World Self-Aware - Android phone screenshot

## Download

You can download the latest version from the [GitHub Releases](https://github.com/Appliberated/HelloWorldSelfAware/releases/latest) page. This app is not available on the Google Play Store. You will download an `.apk` file that can be installed directly on your Android device.


Static Badge

## Building from Source

If you'd like to build the app yourself:

1. Clone the repository: `git clone https://github.com/Appliberated/HelloWorldSelfAware.git`

2. Open the project in Android Studio.

3. Let Gradle sync the project.

4. Click `Run 'app'`.

The project is configured to work with a minimum API level of 9 (Android 2.3 Gingerbread).

## Technical Notes

This project is intentionally kept simple as a learning example. It is written in [Java](app/src/main/java/com/appliberated/helloworldselfaware/MainActivity.java) and uses the classic, plain Android SDK (`android.app.Activity`, `android.widget.TextView`, etc.) without any modern `androidx` libraries or Jetpack Compose. In fact, the `dependencies` section in the [build file](app/build.gradle.kts) is empty.

This direct-to-the-SDK approach is the main reason the final `.apk` is only 121 KB. While this is not the recommended architecture for complex, modern applications, it serves as a clear example of a minimal, dependency-free Android app. The original code was written in 2017 and has been maintained to run on the latest Android versions while preserving this original, lightweight approach.

## Contributing

Thank you for contributing! Hello World Self-Aware is designed to be as simple as possible, but you can still help with:

* testing and reporting bugs
* creating a nice Android app icon to replace the [current one](app/src/main/res/mipmap-xxxhdpi/ic_launcher.png)

## Support my work

Hello World Self-Aware is a free app, and I enjoy creating and sharing learning projects like this, along with other useful [free apps](https://www.appliberated.com/). If you'd like to support my work, consider checking out the following Pro applications:

Tecdrop Pro Apps

[Pitch Black Wallpaper Pro](https://www.tecdrop.com/pitchblackwallpaperpro/) | [RGB Color Wallpaper Pro](https://www.tecdrop.com/rgbcolorwallpaperpro/) |
| :--- | :--- |
|

  • Pitch black & dark wallpapers
  • AI-generated wallpapers
  • Enhances battery life
  • Reduces eyestrain
  • |
  • Set any color as wallpaper
  • Endless color options, built-in & custom
  • Reduce visual clutter
  • Enhanced device aesthetics
  • |

    ## License

    Hello World Self-Aware is released under the [MIT License](LICENSE).