Skip to main content

Posts

Showing posts from December, 2017

How to create a patch for a python-for-android recipe

Since it's not documented well I thought I'd do a post on how to create a patch for a python-for-android recipe.

If you have to modify an existing recipe you can get the source package p4a downloads from ~/.local/share/python-for-android/packages/<recipe-name>.

This is typically a tar.gz or zipped source bundle. Extract it and create a copy. Rename the copy to something like "<recipe-name>-patched" or simply "patched".

I'm working with the openssl recipe, so mine looks like this

Kivy vs Enaml native - A comparision

Since it was asked on HackerNews I thought I'd do a post that compares Kivy and enaml-native.  This should help you to decide which framework to choose to use when and why as they both have pros and cons.

Let me also state that I'm the author of enaml-native and thus I cannot give a truly unbiased comparison. With that aside. Let's begin.

Goals Kivy and enaml-native have similar but slightly different goals. Kivy's tagline is "Open source UI framework written in Python" while enaml-native's is "Build native mobile apps in python with enaml".  Kivy aims to support desktop (windows, mac, linux), mobile (android, ios), and the raspberry pi. enaml-native targets only iOS and android (as enaml already does windows, mac, and linux).

The huge difference between the two here is that Kivy has it's own widget framework, while enaml and enaml-native use native widgets.  The rest is about the same. They're both made for building apps/programs in pyth…

KDE Connect - The best desktop and mobile integration app ever

I reviewed this on the app store, but also wanted to do a post on this app because it deserves it. KDE connect is an app for Android that integrates your phone with the KDE plasma desktop (ex KDE neon) and it's awesome.



Download it here:
KDE connect app


 Setup is easy First, setup is easy, It connects over wifi and automatically finds your computers in the app (you have to register it on the computer but that's also simple).  After that it just works all the time. Whenever your connected to wifi everything is synced. Oh, and it works with multiple systems!


Remote audio control
I often use my pc to play music using pithos to my home speakers over bluetooth as it has no ads. Sometimes I'm in another room and I leave it on and for whatever reason I want to pause or play the music. It's stupid simple to do with KDE connect.  Open the app, it lists all the opened media devices and lets you pick one, pause/play, skip/back, and change the volume remotely!





Message notifications…