Monday, October 30, 2017

AAPT2 and PYDroid

AAPT2 has a strange issue it seems.

Let me explain how the PYDroid library is structured:

There is a core library, pydroid, which handles some extremely basic stuff that is common to all pyamsoft apps. Building off of this basic library is pydroid-util, which as the name suggests, includes utility functions that are not always needed. Building off of the pydroid-util library is the pydroid-ui and pydroid-loader libraries, which power much of the UI commonality you observe in pyamsoft Android applications.

When building Home Button today using the new Android Studio 3 goodies, I found that it was unable to fully build the project due to some resource errors, where application dependency's dependencies were not pulled into the main application. This meant that if pydroid relied on RxJava for example, it would not actually be pulled in to an application which relied on PYDroid, and so the application would either fail to build or crash when it finally did run.

It seems that changing the pydroid library's build.gradle file from using the new api and implementation syntax back to the old compile syntax fixed this issue. It's unfortunate though, since Android Studio 3 builds a lot faster with its new syntax, but it is fundamentally broken. I hope to port over the rest of the pyamsoft Android applications to the Android Studio 3 syntax now that this library issues has been resolved, and release an update later this week.

Stay tuned.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Tuesday, October 17, 2017

Updates rolling out

Updates to all Android applications have been submitted to the store and should be live soon.

pstate-frequency was recently updated to 3.8.0 which cleans up the code base and removes support for the confusing x86_energy_perf_policy tool.

update-hosts was updated recently to include other blocklists such as cliqz tracking as well as admiral tracking.

Stay tuned.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Sunday, October 1, 2017

License updates

Hey, so just a heads up.

All pyamsoft projects have been, or intend to be updated to use the GPLv2 license.

While this software license is perhaps slightly invasive with its "every derivate must also be GPL compatible" kind of virulent behavior, I do this for a couple of reasons.

1. I highly doubt anyone has actually taken the time to fork the projects, so this should not disrupt other projects. If your project was a fork of the original however, older versions are still licensed under Apache2 or MIT, and you are welcome to continue off from those older versions.

2. The GPL encourages the release of source code, which aside from software freedom (which is not really the main goal here) allows for any improvements made to the project by forks to be contributed back to the main project. This helps foster learning and new knowledge.

The projects were originally open sourced with the idea that because I had learned so much from reading open source projects to see their structure, others should be able to learn from me.

3. This will hopefully also discourage malicious knock off applications which simply copy the source code of the original application and then change the icons or text around a bit - effectively software plagiarism.

By making these licensing changes, I do not do so with the intent to harm other projects or prevent the growth of new softwares. I simply wish to create a positive feedback loop, wher new improvements to forks of the projects are given back to the community in an open and knowledge-encouraging way.

Thanks, and stay tuned for some actual Android updates, as well as some stuff from pstate-frequency, and thoughts about a next project.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================