Posts tagged ‘windows mobile’

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 2012 R2 Terminal Service does not render Desktop if resolution width less than 600

Recently I had to realize that w2k12 only shows an empty background when connecting to a new Terminal Service session and the requested resolution is 240×320, 480×640 or 480×800. These reolutions are used by Remote Desktop Mobille if you select the option “Fit remote desktop to screen”.

After login, the Start screen (Metro-Ui) is shown, regardless of having set TS to start new sessions always in Desktop mode. If you then start a desktop application or simply the “Control Panel” or “My Computer”, which are Desktop apps both, the screen changes to show an empty (Start screen) background only.

rdm_fullscreen

The apps are started on the desktop, but the desktop will not be shown by TS!

Continue reading ‘Windows 2012 R2 Terminal Service does not render Desktop if resolution width less than 600’ »

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’ »

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’’ »