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.1

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.1
File Size Uploaded Provenance Actions
androj-0.1.1.tar.gz 14.2 kB Without provenance Details for androj-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 41.8 kB

Release files / androj-0.1.1.tar.gz

Download URL androj-0.1.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1cafd3120598ab99124ec7d8e330484bfb960c080230eade0d698cb255908b9f
BLAKE2b-256 checksum
How to use checksums
06706f08740b6d97f87b59ab13d39392f78fdc1f56e66740f2d24a60f9ee35b8
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.1-py3-none-any.whl

Download URL androj-0.1.1-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
747594d0682eaed2e64f35b03b675125a0b71437ee87d88c4f50bfea5a2b9098
BLAKE2b-256 checksum
How to use checksums
edb26cd79d4020cb07579f46165e95610fc3ac0a8e1cf80eabcc297e2c9e8d3e
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.1

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.1 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