Skip to main content

androj

androj is a small Python package that exports Android Java/XML practical source examples into your current working directory.

This package does not build or run Android apps. It copies the bundled source snippets so you can open them in Android Studio and adapt them to your project.

Install

pip install androj

Usage

import androj

androj.help()       # list all available functions
androj.alarm()      # export alarm example
androj.airplane()   # export Airplane Mode receiver example
androj.sms_email_call()

Each function creates a folder under:

./andro_examples/<example-name>/

For example, androj.alarm() exports the files to andro_examples/alarm/ and returns that folder's pathlib.Path.

Available functions

  • androj.airplane()
  • androj.alarm()
  • androj.alert()
  • androj.battery_low()
  • androj.context_menu()
  • androj.date_time()
  • androj.explicit_intents()
  • androj.library_database()
  • androj.listview_gridview()
  • androj.options_menu()
  • androj.radio_checkbox()
  • androj.sms_email_call()
  • androj.two_activities()

Important

The package includes the source snippets supplied for these practicals. Some examples do not include every Android resource (for example, every layout XML or Gradle file). You may need to create missing resources, update package names, and adjust theme/manifest entries in Android Studio.

The exported files are source code, not executable Python modules.

Metadata

Release files for androj 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for androj 0.1.0
File Size Uploaded Provenance Actions
androj-0.1.0.tar.gz 14.4 kB Without provenance Details for androj-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for androj 0.1.0
File Interpreter ABI Platform Actions
androj-0.1.0-py3-none-any.whl Python 3 none any Details for androj-0.1.0-py3-none-any.whl

Total release size: 42.4 kB

Release files / androj-0.1.0.tar.gz

Download URL androj-0.1.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
270709fc16428982d0ad1ea2e5febae7b360c5318bff0dedf48ea525131ba13e
BLAKE2b-256 checksum
How to use checksums
c90571f7391f3138d9cf8b8a26b67cb365ee8a48d2a0714a207e9821e3856785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / androj-0.1.0-py3-none-any.whl

Download URL androj-0.1.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a40d6aac3e4591aa8be1977b6337d1e92530e8ff338190ea9be3fd0098df3395
BLAKE2b-256 checksum
How to use checksums
804579c6fa30d79b917eba164c02bb82dbe69a0495db47ede028e4b449eda7b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for androj 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page