Just Simple Info

Pages

Upload File to Server With Extra String Data In Android




I developing android application that need to upload images in server using okhttp3 library.
This library work great with small amount of time writing code. Then suddenly my internet connection get worst. I thought my application not working because no server response for almost a minute. Luckily android studio has great tool for debugging. I notice that my application have network activity therefore the android application is working.

So I write simple code to show uploading progress to notify user what happening.

Android Simple Login with Php and Mysql



Android Simple Login with Php and Mysql
Must android application required connection in cloud server. So I wrote this simple code to share an idea on how to create simple login in android application connected to server using PHP and Mysql database and OkHttp library.

Android as Web Server

set android as web server


This sample code is about how to set android device as your web server on local network.
It may use to develop android application which need to transfer file from your laptop or desktop without need of any application in client side just a browser.