└── README.md /README.md: -------------------------------------------------------------------------------- 1 | Android-for-Python 2 | ================== 3 | 4 | *Kivy Examples that will build for Android.* 5 | 6 | **2023-11-13 This repository is archived.** 7 | 8 | ### **Example**, *noun* 9 | - one that serves as a pattern to be imitated or not to be imitated 10 | - a parallel or closely similar case especially when serving as a precedent or model 11 | 12 | Each repository (other than the Users Guide) contains a stand alone runnable example. All examples run on Android, most on a desktop, and a few on iOS. 13 | 14 | A buildozer.spec is included or the required modifications to buildozer.spec are documented. 15 | 16 | ### [Android-for-Python-Users](https://github.com/Android-for-Python/Android-for-Python-Users) 17 | 18 | An unofficial Users' Guide. 19 | 20 | ### Cloud Storage Examples 21 | 22 | [Overview](https://github.com/Android-for-Python/cloud_storage_examples) 23 | 24 | #### [Firestore Example](https://github.com/Android-for-Python/cloud_storage_examples/tree/main/rest_firestore_example) 25 | 26 | Depends on [firestore4kivy](https://github.com/Android-for-Python/firestore4kivy). Runs on desktop, Android, and iOS. 27 | 28 | #### [Pyrebase4 Example](https://github.com/Android-for-Python/cloud_storage_examples/tree/main/pyrebase4_example) 29 | 30 | Depends on [Pyrebase4](https://github.com/nhorvath/Pyrebase4). Runs on desktop, and Android. 31 | 32 | #### [Firebase-admin Example](https://github.com/Android-for-Python/cloud_storage_examples/tree/main/firebase_admin_example) 33 | 34 | Depends on [firebase-admin](https://firebase.google.com/docs/admin/setup/). Firebase-admin is a security risk if available to un-trusted users. Runs on desktop, and Android. 35 | 36 | ### BroadcastReceiver Examples 37 | 38 | [Overview](https://github.com/Android-for-Python/BroadcastReceiver_examples) 39 | 40 | #### [WiFi_scanner_example](https://github.com/Android-for-Python/BroadcastReceiver_examples/tree/main/WiFi_scanner_example) 41 | 42 | #### [Bluetooth_scanner_example](https://github.com/Android-for-Python/BroadcastReceiver_examples/tree/main/Bluetooth_scanner_example) 43 | 44 | ### Speech Examples 45 | 46 | #### [speech_recognizer_example](https://github.com/Android-for-Python/speech_recognizer_example) 47 | 48 | Transcribe and copy to clipboard. 49 | 50 | #### [record_audio_example](https://github.com/Android-for-Python/record_audio_example) 51 | 52 | Record from microphone and play back. 53 | 54 | ### Camera Examples 55 | 56 | #### [c4k_photo_example](https://github.com/Android-for-Python/c4k_photo_example) 57 | 58 | A [Camera4Kivy](https://github.com/Android-for-Python/Camera4Kivy) Preview widget example. Illustrates basic layout orientation, aspect ratio, and letterbox handling, on multiple screens. Basic camera functionality including photo capture, screenshot capture, and on Android capture of video with audio. 59 | 60 | #### [c4k_qr_example](https://github.com/Android-for-Python/c4k_qr_example) 61 | 62 | A [Camera4Kivy](https://github.com/Android-for-Python/Camera4Kivy) Preview widget example. Everything you need to read a restaurant menu. Long press or double click on a highlighted QR code to open a web browser. Illustrates basic analysis, screen annotation, and user interaction. 63 | 64 | #### [c4k_opencv_example](https://github.com/Android-for-Python/c4k_opencv_example) 65 | 66 | A [Camera4Kivy](https://github.com/Android-for-Python/Camera4Kivy) Preview widget example. Edge detect the video stream. Illustrates using OpenCV analysis and replacing the original preview with the transformed image. 67 | 68 | #### [c4k_mlkit_example](https://github.com/Android-for-Python/c4k_mlkit_example) 69 | 70 | A [Camera4Kivy](https://github.com/Android-for-Python/Camera4Kivy) Preview widget example. Face detect, MLKit is Android only. Illustrates using the ImageProxy api. 71 | 72 | #### [c4k_tflite_example](https://github.com/Android-for-Python/c4k_tflite_example) 73 | 74 | A [Camera4Kivy](https://github.com/Android-for-Python/Camera4Kivy) Preview widget example. Object classification. Illustrates using a large Tensorflow Lite model, and writing text to the Preview image. Does not (yet?) run on Android. 75 | 76 | ### Service Examples 77 | 78 | #### [Music Service Example](https://github.com/Android-for-Python/music_service_example) 79 | 80 | A persistent ("sticky foreground") stateful service, it also queries the Mediastore. 81 | 82 | #### [Multi-Service-Example](https://github.com/Android-for-Python/Multi-Service-Example) 83 | 84 | Schedule tasks on one or more Android services, foreground or background. 85 | 86 | ### Common Getsures Example 87 | 88 | #### [Common-Gestures-Example](https://github.com/Android-for-Python/Common-Gestures-Example) 89 | 90 | Pan, zoom, long press, and friends. Using [gestures4kivy](https://github.com/Android-for-Python/gestures4kivy). 91 | 92 | ### Shared Storage Examples 93 | 94 | #### [shared_storage_example](https://github.com/Android-for-Python/shared_storage_example) 95 | 96 | Copy to and from shared storage on Android 5 and above devices, using [androidstorage4kivy](https://github.com/Android-for-Python/androidstorage4kivy). 97 | 98 | #### [share_send_example](https://github.com/Android-for-Python/share_send_example). 99 | 100 | Share a file or plain text with another app, using [androidstorage4kivy](https://github.com/Android-for-Python/androidstorage4kivy). 101 | 102 | #### [share_receive_example](https://github.com/Android-for-Python/share_receive_example) 103 | 104 | Recieve a Share from another app, using [androidstorage4kivy](https://github.com/Android-for-Python/androidstorage4kivy). 105 | 106 | ### Viewer Examples 107 | 108 | #### [Webview-Example](https://github.com/Android-for-Python/Webview-Example) 109 | 110 | Accepts https:// and file:// urls. Full screen, dismiss with back gesture or back button. 111 | 112 | #### [PDFview-Example](https://github.com/Android-for-Python/PDFview-Example) 113 | 114 | Accepts .pdf files. Full screen, dismiss with back gesture or back button. 115 | 116 | 117 | 118 | 119 | 120 | --------------------------------------------------------------------------------