[Discontinued] CyanogenMod 12 (Android 5.0) for Samsung Galaxy Express AT&T (SGH-I437)

This project has been discontinued!

I’m not going to develop this ROM any more. It takes too much time, and my phone is about to die, which means I’ll be getting a new one. Also, Android 5+ runs too slowly on this hardware. That’s why I’m currently using CyanogenMod 11 (which is back up at download.cyanogenmod.org). I advise you do the same. All changes I made are available on my GitHub.

Hi everybody! After building MultiROM and TWRP for my device, I finally managed to build CyanogenMod 12! 🙂

My work is the continuation of jt1134’s. It’s basically his work. The things I had to fix (I still have to upload them :/ ) are very irrelevant compared to his work, for which I thank him.

Continue reading “[Discontinued] CyanogenMod 12 (Android 5.0) for Samsung Galaxy Express AT&T (SGH-I437)”

How To Use Both Kivy and GTK in the Same Application

Today I was wondering whether both Kivy and GTK could run together in the same application. So I started looking up online to see if anybody already tried, but I didn’t find anything. Then I thought maybe I could try doing it myself. I was surprised when I managed to do it. All you need to do is run them in a separate thread. That’s it! I thought it wasn’t going to work as GTK is very picky with threads, but it did!

You can do very useful things with both frameworks running. You can, for example, have an Ubuntu AppIndicator connected to your app, create a Unity launcher QuickList, use the music/messaging menu, send notifications, run a separate GTK window, etc. Continue reading “How To Use Both Kivy and GTK in the Same Application”

MultiROM and TWRP for Samsung Galaxy Express AT&T (SGH-I437)

Note: kexec-hardboot, the kernel feature needed to boot secondary ROMs through MultiROM, hasn’t been ported yet! If you want to help me with it, please contact me, see if I’m online on irc.freenode.net (usually on #kivy, #twrp, #multirom) or just do it yourself and let me know 🙂

I ported MultiROM and its custom TWRP recovery to Samsung Galaxy Express AT&T – codename expressatt, model number SGH-I437 (also compatible with the NFC version SGH-I437P and with any device that can run the CyanogenMod build for expressatt). Note that, as I said above, kexec-hardboot hasn’t been ported, so it’s pretty much useless as of now. You can still use the recovery, though, or install MultiROM as well and brag 😉

Continue reading “MultiROM and TWRP for Samsung Galaxy Express AT&T (SGH-I437)”

67 piccoli consigli che non avevi chiesto

Questo post è una traduzione in Italiano del seguente articolo tratto da Raptitude: 67 short pieces of advice you didn’t ask for.

Ringrazio l’autore per l’articolo originale in inglese che mi è piaciuto talmente tanto che ho deciso di tradurlo e adattarlo per il pubblico italiano (non è una traduzione letterale, ho cercato di mantenere il significato.)

Non c’è alcun modo per far in modo che questa valanga di consigli non sembri una predica. Ma c’è anche qualcosa di attraente in questo approccio a raffica. Provare alcuni di questi consigli ti lascerà qualcosa da fare mentre aspetti il tuo turno in banca.

Continue reading “67 piccoli consigli che non avevi chiesto”

2D Polygon Collision with Python (and Kivy, optionally)

Those of you who write video games for computers or mobile device probably know that simplifying is the rule most of the times. To avoid embarrassing conditions where object go right through each other, we need some kind of collision checking algorithm. This is very easy when the colliding objects are all rectangular and their edges are parallel to the edges of the screen, but in real life objects are often concave and have not-so-regular shapes. One solution to check collisions in video games is checking whether one object collides into a point of the other object where the image is transparent, but that gets very CPU expensive and the framerate would drop drastically. The other option, which I’m going to explain, is to draw a simplified polygon around the edges of the thing we want to check for collisions and use it in place of the thing itself, as computers are better with maths than anything else. Continue reading “2D Polygon Collision with Python (and Kivy, optionally)”

Navigation with Back and Escape Buttons with Kivy on Android

As you write your app and decide to target the Android platform, you might have noticed that implementing navigation is a little harder than in native Java apps.
It’s harder, but not impossible.

There are different ways to do it, but it’s easiest when you use a ScreenManager to manage all your app’s screens.

Continue reading “Navigation with Back and Escape Buttons with Kivy on Android”