Monthly Archives: August 2015

Android Development

  • LogCat
  • android-ndk
  • NDK
  • AVD
  • Dalvik VM
  • arm-linux-androideabi-addr2line

Building Your First App


$ sudo apt-get install cpu-checker
The following NEW packages will be installed:
  cpu-checker msr-tools

$ sudo /usr/sbin/kvm-ok
INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_intel
INFO: Your CPU supports KVM extensions
INFO: KVM (vmx) is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),
      and then hard poweroff/poweron your system
KVM acceleration can NOT be used

=== BIOS: Enable Virtualization Technology (VT) ===

$ sudo /usr/sbin/kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

KVM, Kernel-based Virtual Machine
KVM – Introduction

/dev/kvm is not found on Ubuntu 14.04
KVM is not installed on this machine (/dev/kvm is missing)


Developers Training – Getting Started
Android Graphics
Android UI Internal : UI Composition with SurfaceFlinger

Crash Report

How to use addr2line in Android
How to get Crash Point in Java code

Windows Group Policy

xrdp in Fedora 20


$ yum install xrdp
$ systemctl enable xrdp.service
$ systemctl start xrdp.service
$ systemctl enable xrdp-sesman.service
$ systemctl start xrdp-sesman.service


Enable remote desktop on fedora 20 kde

$ netstat -4anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name      
tcp        0      0*               LISTEN      9266/xrdp-sesman
tcp        0      0  *               LISTEN      9265/xrdp

$ firewall-cmd --zone=public --add-port=3389/tcp --permanent
$ firewall-cmd --zone=public --add-port=3350/tcp --permanent


Fedora, xrdp, and xfce

$ vi /etc/sysconfig/desktop

False positive?
How to configure XRDP to start cinnamon as default desktop session

xrdp_mm_process_login_response: login failed

Start xrdp in shell

$ /usr/sbin/xrdp --nodaemon
local keymap file for 0x0807 found and dosen't match built in keymap, using local keymap file

$ /usr/sbin/xrdp-sesman --nodaemon
[20150811-17:09:02] [CORE ] starting sesman with pid 9266
[20150811-17:09:02] [INFO ] listening...
[20150811-17:10:53] [INFO ] scp thread on sck 7 started successfully
pam_authenticate failed: Authentication failure

$ cp /home/andreas/Downloads/km-0807.ini /etc/xrdp

Restart both!

[20150811-17:23:10] [INFO ] listening...
[20150811-17:23:22] [INFO ] scp thread on sck 7 started successfully
[20150811-17:23:22] [INFO ] ++ created session (access granted): username andreas, ip - socket: 7
[20150811-17:23:22] [INFO ] starting Xvnc session...

$ /usr/sbin/xrdp --nodaemon

$ /usr/sbin/xrdp-sesman --nodaemon
Xvnc TigerVNC 1.3.0 - built Mar 19 2014 17:10:53
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See for information on TigerVNC.
Underlying X server release 11404000, The X.Org Foundation

Could also be possible:
xrdp_mm_process_login_response: login failed

False positive?
xrdp in fedora 20 not working properly with active directory users

Exchangeable Image File Format (EXIF)

Exchangeable Image File Format
Geotagging (Fotografie)
Grund­la­gen-​Ar­ti­kel: Geo­tag­ging und Geo-​Ima­ging
Google Maps: So nutzen Sie direkt GPS-Koordinaten
Description of Exif file format

Comparison of metadata editors


How to add GPS (geolocation) tags to photos
How To Read & Write GPS
How To Add Or Edit GPS With ExifTool
What is a good Java library to write GPS metadata on JPEGs (in EXIF)?
ImageIO – get image type and exif data
Android write EXIF GPS Latitude and Longitude onto JPEG failed
How to save GPS coordinates in exif data on Android?
Reading EXIF data from an Image

Metadata Extractor

github: metadata-extractor




JHead – Exif Jpeg header manipulation tool


JHeader Java EXIF/JFIF Header Library


MAT: Metadata Anonymisation Toolkit


Wikipedia: ExifTool
ExifTool by Phil Harvey
ExifTool FAQ
GPS Tags

$ ./exiftool.exe \
-GPSAltitude=0 -GPSAltitudeRef="-" \
-GPSLatitude="51.515744" -GPSLatitudeRef=N \
-GPSLongitude="0.188979" -GPSLongitudeRef=W \
-GPSProcessingMethod="NETWORK" \
-GPSDateStamp="2015:07:27" -GPSTimeStamp="07:52:14" \


Latest ExiftoolGUI version 5.16
ExifToolGUI for Windows v5.xx


Example 2: addmoddel.cpp
Exiv2 utility sample output
How correctly write GPS data