Work in progress (communicate with switch, when at home)
GUI and communication improvements
Add simple communication to a local device.
Some infrastructure (is wifi secure/local) to allow SwitchFragment to respond.
SwitchFragment : some test code.
Close a couple of objects (does not avoid warning message).
Add copyright info to recent files
Add navigation to/from switch fragment
Create a fragment to control the power switch
Get the initial code of the Content Provider to work : create & update table, receive messages, store data in the table.
No need to subscribe to any channel if the app catches whathever's in the Manifest.
Message gets received by the app if it's in the foreground.
work in progress
Untested initial work on ContentProvider
Add content provider to handle message history.
Cope with "json-in-json" construct
Remove some dead code / comments.
Function to grab forceRefresh info.
Add copyright notices to XML files, you can never tell who wants to know.
Add a way to force a certificate refresh
Respond well to feedback from the IoT device, reduce some logging.
Clean up some code : use MyWorker just for FTP, all other communication is via Volley.
Remove dependency on MyWorker in DoRPC, Volley takes care of that. Just need to run last step on the UI thread.
Add code to register a phone with the alarm system
Add demo script to trigger Firebase cloud messaging
Subscribe
Preparing to receive messages
Two forgotten steps for Firebase initialization.
fcm for firebase cloud messaging, not google
Push notifications based on Firebase Cloud Messaging, first attempt
Apply some colours
Worker thread now also influences the UI (simplistic version)
One step further : hook them up, process on the UI thread
Avoid depending on matching strings
Receive asynchronous messages in a worker class
Handle some Studio warnings
Handle some Studio warnings
Handle some Studio warnings
Flag that socketFactory lifecycle needs to be checked, don't create on every call.
Close FileInputStream after use
Improve layout
A step further : replace string constants everywhere by one version (based on @string/..).
Replace string constants everywhere by final variables.
Recovered several pieces of work after f*cking Android Studio decided to delete source file again.
Add resources field
Add a preference (list of local SSIDs over which we can reach the FTP server),
More work in progress :
Don't call our FTP server if we got a perfect score (e.g. fails over 4G)
Run a query to the server from startup.
Move preferences getters and setters to Application
Remove test button
More work in progress
Add broadcast receiver to become network access sensitive
Work in progress on the app
Small cleanup, add copyright notice
Some more groundwork
Values moved from other source file
Small cleanup, add copyright notice
Add some fields
Initialize app reference from ctor
Initialize app reference from ctor
Some initial getters
Some texts for preferences UI
Import relevant code from test application
Create structure for the application
Move
Import empty app
Reorg
Add dir
Cleanup
Work in progress
Add hostname verifier to mutual auth solution
Solution found : also provide password in yet another call.
Use of a test site proves indeed that the client doesn't send a certificate
Document current error messages (client doesn't appear to send certificate)
Remove dead code, fix getting the right certificate -> no error in our end (but server refuses connection)
Fix comment
Work in progress on mutual authentication : try some stuff from Internet, there appears to be more old junk than really useful info.
Add logging both on device screen and in debugger/logcat
Remove from version control
Successful call to server via cleartext unauthenticated HTTP
Test svn integration in IDE
import test application
Add directory
Remove dead code.
app.WritePreferences not needed, remove
Remove dead references to MyNetworkReceiver.
Prepare for notifications
Aha
Work in progress
Part of support for local/remote ssid detection
simplify
Simplify
We need location access to get SSID, or so it seems...
Try to get Wifi ssid, doesn't work yet
Handle deprecated APIs for connectivity
Using https://developer.android.com/training/basics/network-ops/managing which appears to document lots of deprecated APIs :-( so this is probably phase 1.
Add broadcast receiver skeleton
Avoid an exception, add null parameter
Lower verbosity