Posts tagged ‘Programming’

adsbox stopped showing airplane labels on GMap

Some time ago I wrote about the great free adsbox. Now the GMap display stopped showing any labels or airplanes for no reason.

The root cause is that google code hosting is stopped and the source for markerwithlabel.js moved away from code.google.com.

...        
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?v=3"></script>
<!--    <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerwithlabel/src/markerwithlabel.js"></script>
-->
        <script type="text/javascript" src="./markerwithlabel.js"></script>
        <script type="text/javascript" src="https://www.google.com/jsapi"></script>
        <title>ADSBox</title>
</head>
...

As you see, I changed adsbox/htdocs/index.html to use a local copy of markerwithlabel.js. You may also use the new source code location https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerwithlabel/src/markerwithlabel.js

With the above change my adsbox did show the planes and airports etc. again.

The source of adsbox is at http://diseqc.alh.org.ua/projects/hard/adsb/
or translated to english

fhem: Lampe (220V) mit sonoff über WiFi schalten

itead hat mit dem sonoff Modul einen sehr günstigen ESP-8266 basierten WLAN Stromschalter im Programm. Kostet derzeit bei itead unter 5$, allerdings mit ca. 8$ Versand. Wenn man aber gleich vier davon bestellt, lohnt sich das gegenüber anderen China-Versendern, die diese Modul für ca. 10$ verkaufen.

sonoff_wifi_wireless_smart_switch_4__1

Das Ding lässt sich wunderbar mit einer eigenen Firmware flashen, wenn man einen 4-Pin Header einlötet und einen USB-TTL Konverter mit 3.3V hat.

Image635909899921896626_thumb

Continue reading ‘fhem: Lampe (220V) mit sonoff über WiFi schalten’ »

Mobile Development – Start apps with another using injectDLL

I already posted one article about using injectDLL, one about subclassing a foreign window. This time injectDLL is used to start and stop an application when another app is started. Remember that every DLL listed inside the MULTI_SZ registry key HKLM\System\Kernel\injectDLL is loaded into every process.

I would like to add some battery and wifi indicator to a full screen Remote Desktop Mobile (RDM) session. There are two specialized applications that display a small bar graph on the right of the screen, one for the battery level and one for the WiFi RSSI.

tsshellwnd_normal_with_wifi_and_batt_monitor_bars

The upper right one is for the WLAN RSSI and the lower bar shows the battery charge level.

As these apps should only add there display when RDM ist started, I added them to an injectDLL.

Continue reading ‘Mobile Development – Start apps with another using injectDLL’ »

Windows Phone 8: print demo for bluetooth label/receipt printers

This is the description of my btPrint demo app to print demo files to portable bluetooth label/receipt printers. I already did the same app for android and now wanted to do the same for windows phone 8.

The app starts with the main screen where you select a bluetooth printer, connect, select a demo file and let it print.

btprint_main_start_bt_and_file_selected btprint_demolist
Continue reading ‘Windows Phone 8: print demo for bluetooth label/receipt printers’ »