Was ist AndroidX ?

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 […]

Weiterlesen...


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 […]

Weiterlesen...


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 […]

Weiterlesen...


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 […]

Weiterlesen...


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 […]

Weiterlesen...