Archive for the ‘Programming’ Category.

Mobile Development: Subclass foreign Window using injectDLL

Recently we needed to show and hide the SIP (Software Input Panel) inside a full screen Remote Desktop Mobile session.

The first challenge is to control the SIP without having a menu bar with the SIP symbol inside. To get this working you can assign a hardware keyboard button, it must be an App button, to show the SIP. See Settings>Personal>Buttons and assign “<Input Panel>” to the hardware key.

app_button_to_input_panel RDM_fullscreen_option RDM_fullscreen RDM_fullscreen_with_SIP

Unfortunately the SIP will be hidden immediately after being shown if RDM is started with Full Screen option.

Continue reading ‘Mobile Development: Subclass foreign Window using injectDLL’ »

FHEM – extern Daten einspeisen

Seit einiger Zeit betreibe ich einen FHEM server und protokolliere Temperatur, Luftfeuchte, Stromverbrauch und steuere Funkschalter.

Selection_064

Selection_065

Selection_066

Nun wollte ich unsere langsame Internet-Verbindung protokollieren. Dazu habe ich ein Perl Script geschrieben:

Continue reading ‘FHEM – extern Daten einspeisen’ »

rdesktopce builds done with LOW_RES ‘marker’

I have added two new build variants to rdesktopce_rdp5 (see also older article).

The normal builds make Windows Mobile ‘think’ the app is HI_RES_AWARE and so QVGA screens (see geometry setting in winrdesktop.ini) are NOT scaled to the larger screens of current devices:

with HI_RES_AWARE and geometry=240×320 on a WXGA screen:

ScreenShotFullscreenQVGA_on_WXGA_HIRES

Continue reading ‘rdesktopce builds done with LOW_RES ‘marker’’ »

Android development: btPrint4 prints demos and files to Bluetooth receipt and label printers

This is an update to my btPrint4 android application. The app now supports ‘printing’ of files. You are no longer tied to the provided demo files. ‘Printing’ here means it sends the file as is to the printer. So, watch your step and do not send files that your printer does not understand.

btprin4_file_main  btprint4_file_selected  btprint4_file_browse

Added a file browser activity: a class named item to hold file informations, a FileChooser class and a FileArrayAdapter. Then the needed layout files are added.

Continue reading ‘Android development: btPrint4 prints demos and files to Bluetooth receipt and label printers’ »