Progress + Structure (How is this going to work?)
I think it’s interesting trying to make things work. On to the fun!:
Intent: Make an Android App will all the bells and whatever.
Goal: Make components work - create how to’s - add content later ( :) )
Technical Stuff and Notes:
References and Code used:
https://www.journaldev.com/7148/java-httpurlconnection-example-java-http-request-get-post
https://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html
https://docs.oracle.com/javase/tutorial/networking/sockets/readingWriting.html
https://www.tutorialspoint.com/java/java_files_io.htm
https://www.tutorialspoint.com/java/java_sending_email.htm
Components: Android App/Java Client, Java Server, Mongodb
Tools: Eclipse (or other IDE), Java SDK, Android Studio, Mongodb, Compas
Step 1: Install and configure all the prerequisites above.
- Eclipse or some other editor (worst case scenario - notepad.exe/vim/nano).
- Mongodb is easier with Compass
Step 2: Read/Write from file code - this is for saving on device.
- Save app data to the device
- Validation would be good
Step 3: Socket programming code read-up/cheat sheets - networking of the application.
- Write Server (in Java) - use sockets for send/receive/listen
- Write Client part for the App (to be added through Android Studio)
- Establish Client/Server language
- Other integrations (optional)
Hopefully this was helpful to someone or maybe inspired some creativity ;)