Kürzlich ist mit beim Anlegen eines Android Projects aufgefallen, dass die dependencies im build.gradle eine andere package name structure bekommen haben. Statt com.android.support:appcompat-v7 gibt es jetzt androidx.appcompat:appcompat. AndroidX wurde eingeführt um die Paketnamen klarer zu gestalten. Es ist ähnlich wie bei java.* und javax.* packages. Alle dependencies die mit android.* beginnen sind Android-Standardklassen, die teil […]
Android
NetCat on Android – Send files from your phone to your computer with NetCatdroid

Strangely, it is still fairly complicated to transfer data from the smartphone to the computer. There are cloud solutions and bluetooth but thats still complicated or slow. But my friend and ex-colleague and me just release a first version of NetCatdroid. NetCatdroid is a netcat client for Android which allows you to transfer multiple files […]
HowTo: Get notifications for ssh login attempts

Recently one of my accounts was hijacked. I was hacked. For the first time in my life. The first thing I did was changing all passwords and keys. But still I felt not save enough. For external accounts I can not do much but for my remotely acceptable computer I could (e.g. Allow Only public-key auth). […]
DIY Smart Door für 5 Euro (Android App – Part 3)
Die App hat genau 2 Aufgaben: Sie soll es ermöglichen die Tür aus der Ferne zu öffnen und uns über Klingel Events per Notification informieren. Das ist nicht viel Programmieraufwand, aber trotzdem interessant. Zum realisierung wird nämlich Firebase verwendet und die unter euch die Firebase für eine Android App noch nicht verwendet haben werden heute […]
Android Lesson Learned: Drawable vector is ignoring color (svg shown black)
What you need to know when you want to support versions older than L and want to use vector (svg) drawables is that you cannot use the @color thing to pick your color. You need to take the oldfashion way with #HEXCODE. If you don’t this will lead to black vector graphics on all devices […]
Android 6.0 – You CAN NO longer access the Mac-Address? You can !
Okay that’s new to us android developers: You can no longer get the hardware MAC address of a android device. WifiInfo.getMacAddress() and BluetoothAdapter.getAddress() methods will return 02:00:00:00:00:00. This restriction was introduced in Android 6.0. I wanted to know if this is true. So I tested this on my OnePlus One (Android 6.0.1 Cyanogen). private String […]
Lumberjack Outfit von einem Android
Auf androidify.com könnt ihr euren eigenen Android erstellen. [[{„type“:“media“,“view_mode“:“media_large“,“fid“:“62″,“attributes“:{„alt“:““,“class“:“media-image“,“height“:“480″,“typeof“:“foaf:Image“,“width“:“480″}}]]Dieses Lumberjack Outfit kann man bei Amazon kaufen.
Android Vibrator pattern explained
The Android Vibrator feature is supported by the majority of the android devices. It is easy to understand. First of all the feature requires premissions. So first thing you need to do is edit your AndroidManifest.xml: <uses-permission android:name=“android.permission.VIBRATE“/> Next: The Vibrator service. Vibrator vibrator = (Vibrator) this.context.getSystemService(Context.VIBRATOR_SERVICE); Now you need to define a pattern how […]
App: Brussels comic strip walk android app
One of the coolest thing to do in Brussels is of course the „Brussels comic strip walk„. On various buildings in the city artists have painted gigantic Comics like Tintin and Lucky Luke. It belongs to one of the main tourist attractions in Brussels. Sometimes it is really hard to find the comic strips because […]