I changed the Android version of the Tinker app and made two versions:
- an empty version. I kept the logging in, the claiming of cores, but I removed everything that points to the tinker-firmware and to pins from the central fragment and activities, except for the name “fragment_tinker” (I did leave some stuff in the supporting files). I added stuff to the ApiFacade which makes it (a lot) easier to do api call from the central fragment.
- a version that implements a thermostat app. It assumes a specific firmware running on your core. This is build on the version I mention above.
I have two questions:
- How to share this with the world? I would really like to publish it in the play-store, can I do that? (legally?) It would be a great example that you can build a business model on the spark, including the app, without having to build a lot yourself. Furthermore, I would like to share the code, but 99% is equal to the original app. I could only publish the changed files on my github account, or the entire app. I do not think a pull-request would be a good idea: that would create diversion between the iOS and Android app.
- Can anyone explain me how to change the reflash function in the ApiFacade such that it uploads a file that is part of the app? (Can I even do that? I believe I have to make a file-pointer in the args-bundle, but have no clue how to…)
If questioning why I’m going to such lengths: I write a monthly column in a dutch national Newspaper (De Volkskrant) on technology you can apply in your own home. I wrote a piece on the Sprak Core (Mr Wolowitz Lamp) before and wanted to delve a bit deeper for my piece on oktober 18th.
thanks in advance