Skip to content

v0.2

Latest
Compare
Choose a tag to compare
@dired dired released this 05 Sep 15:53
· 2 commits to master since this release

Changes

Added "Branding":

  • in the camera's application list, the app is no longer called "PMCADemo"

  • in the application list, it also has it's own (camera) icon
    these changes make it easier to differentiate between the original PMCADemo if installed.

  • Inside the app, the name of the list item is no longer "Camera" but "HDMI Camera"

Cleaned up the build-system-related code:

  • versionCode and versionName is now generated based on git output (# of commits, tag name)

  • the release variant (which I didn't stumble upon before) can be built but gives a linter error, which I added a "recommended" lint-baseline.xml for. You can now build a release without getting a false positive error as it appears to me. Or if you know why the linter complains let me know. builds but doesnt work and it doesn't matter (see Note below)

  • the file name of the output .apk now has a nice name (e.g. com.github.dired.pmcahdmicam-v0.2.46-debug.apk)

  • the package name is now renamed to a satisfying com.github.dired.pmcahdmicam instead of "com.github.dired.pmcademo.app"

  • Because of the changes in the build-system that allowed me to build a release, the .apk is now 55 instead of 75kB (while I for ony have apparently 100MB on my Sony's HX400V internal storage for apps, so not really worth mentioning I guess. I added the debug .apk just in case)

Note: as you can see the filename has "-debug" in it - TL;DR: it doesn't matter.
Explanation: It is truly is the debug version since the release variant builds but can't be installed (thanks @sonnwendjoch for testing). It doesn't matter though in reality to run a "debug" (meaning "contains testing knobs") variant if it runs 100% stable, performant, as-well-as a release (meaning "without anything more than is required by the consumer") variant - which is the case here (my "hdmcicam" streams my aquarium 24/7). Since there is no benefit for us, except for 20kB savings in app size, I won't invest time on making the release variant work. I'm sure whatever the problem with the release variant is could be quickly resolved by a more experienced android dev, feel free to contribute here :)

Greetz from the Internet