Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmedfgad/androidflask
Image Upload from Android to Python-Based Flask Server
https://github.com/ahmedfgad/androidflask
anaconda anaconda3 android android-application android-studio client-server client-side flask java python server server-side upload upload-file upload-images upload-pictures xml
Last synced: about 15 hours ago
JSON representation
Image Upload from Android to Python-Based Flask Server
- Host: GitHub
- URL: https://github.com/ahmedfgad/androidflask
- Owner: ahmedfgad
- License: mit
- Created: 2019-07-27T19:49:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-08T19:42:47.000Z (over 1 year ago)
- Last Synced: 2024-05-21T02:56:23.620Z (6 months ago)
- Topics: anaconda, anaconda3, android, android-application, android-studio, client-server, client-side, flask, java, python, server, server-side, upload, upload-file, upload-images, upload-pictures, xml
- Language: Java
- Homepage: https://www.linkedin.com/in/ahmedfgad
- Size: 7.67 MB
- Stars: 52
- Watchers: 4
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: License.md
Awesome Lists containing this project
README
# AndroidFlask
## Image Upload from Android to a Python-Based Flask Server
Documentation: https://heartbeat.comet.ml/uploading-images-from-android-to-a-python-based-flask-server-691e4092a95e
The repository consists of 2 main folders:
1. **AndroidClient**: Represents the Android Studio project which builds an Android app working as a client.
2. **FlaskServer**: The Python-Based server using Flask.To use this project, do the following:
* Open the **Android Studio** project and run it to create the APK and run the app.
* After that, run the **Flask** app Python file. It is enough to run it in the console.
* After the server is up and running, then go back to the Android app. Edit the EditText boxe of the **IPv4 address** to reflect the current IPv4 address of the server.
* If the **port number** used in the project which is **5000** is used by another app in your machine, you need to change the port number in both the client and server.
* Select an image file to be uploaded to the server by clikcing on the **Select Image** button.
* Click on the **Connect to Server** button to establish a connection with the server and upload the selected image.