sencha touch/ query mobile running on touchscreen pc - virtual keyboard? - browser

I need to develop a browser app for use on a kiosk touchscreen -> no physical keyboard.
I would like to use Sencha-Touch.
The browser would be running on windows or linux/ununtu.
How can users input text?
I am not tied to sencha touch. I can use another framework (query mobile, etc...) if it offers such a feature.

I'm not sure if this is what you're looking for but it's a jQuery Virtual Keyboard:
http://mottie.github.com/Keyboard/ (Demo)
https://github.com/Mottie/Keyboard

I have never heard of such a feature, and Sencha Touch definitely does not include it. However, it would not take much to introduce that functionality into the framework.
You would need to:
design and create your virtual keyboard. This would be a simple component with a HTML template which had buttons for each of the keys. On each key press, you would fire an event.
in all places you need the keyboard (for example, fields), you would listen to the tap event and then trigger the virtual keyboard. You would then just update the value of the field depending on what the user types.

Related

The search option does not show on a mobile device using Housez theme

I decided to use the Housez theme as it advertises as super easy and flexible to use. I am not a web designer but have managed to get my site up and running. www.islandestates.net The problem I have is that there is no search option for the properties on a mobile device? The desktop version works well but how do I get a search box onto the mobile version?
The support from Housez is non existent, I have submitted a request to favetheme but they never reply.
Any help would be aprreciated.
Malcolm

Capture invisible (i.e.locked) virtual desktop

For test automation I'd like to capture a virtual desktop which is not visible. It is not even accessible, as a secure desktop is shown.
I know it is possible to hook into the composite manager ("dwm") to capture each and every window on that desktop. And I kmow it is possible to send events to windows on that desktop. (I know that because otherwise the test tools wouldn't work)
Before I start to re-implement the composite manager: Is it possible to get the DesktopWindow from dwm, and if so how Do I force dwm to do its job even if a secure desktop is shown?
If I have to bite the bullet and need to implemrnt compositing myself, what is the fastest way to order all windows bottom to tom and to render them to some image?
Does the win10 capture api work for invisible desktops?
To answer the last question: No, the new win10 capture API doesnt't help. For example the program
https://github.com/robmikh/SimpleRecorder/tree/master/SimpleRecorder
cannot capture a locked desktop nor can it capture sub windows.
The above is the elaborate version of:
GDI32Util.getScreenshot(handle)
with handle being the desktop window (doent work when locked) or some other window handle (works when locked, but misses the subwindows).
So the only option is to traverse all windows in z order from bottom to top.

Demystifying the Virtual Keyboard and Touchpad in Windows 10

I'm new to Windows development, and am looking for assistance on where to get started for a particular project.
In short, I want to create a windowed application that allows a user to send keyboard and mouse inputs to another application, by interacting with various UI controls via touch. Essentially a custom on-screen keyboard/touchpad that can be used for sending keyboard-shortcuts to other applications.
There are two applications in Windows 10 that perform exactly the way I would want my new app to - the On-Screen Keyboard and Touchpad:
https://support.microsoft.com/en-us/help/4337906/windows-10-open-the-on-screen-touchpad
https://support.microsoft.com/en-us/help/10762/windows-use-on-screen-keyboard
At the most basic level, I want to define my own interface (or allow the end user to define their own), and use the same code that the onscreen keyboard/touchpad are using for handling touch events and injecting inputs into the system.
I'm uncertain at what level I would need to start to get the functionality I need - UWP? WPF? C++?
If anyone has any insight into how the on-screen utilities were built, I think that would give me an excellent head start.

Listen to Keyboard and Mouse Chrome Hosted App

I am building a Chrome Hosted App, its some sort of time tracking software, which will monitor user activity, if he is working or not. The App is also supposed to listen to users keyboard strokes and mouse movements. I am not able to find any API in the documentation. Is it possible or not?
Thank You
It is possible with chrome.input.ime API.
This allows your extension to handle keystrokes, set the composition, and manage the candidate window.
You can actually use, onKeyEvent for keyboard events or onCandidateClicked for mouse events as given examples. You may go through the documentation for more information.

Is this running malicious software from a System.Shell.execute?

I have downloaded a Window Gadget and found this function from the javascript.
What this function does? Is it malicious?
Before I run the Widget, I commented out first the function call and it seems this function is not necessary to run the widget.
function LaunchPowerApplet()
{
System.Shell.execute(System.Environment.getEnvironmentVariable("SystemRoot") + "\\system32\\mblctr.exe");
}
System.Shell.execute is a method from the Windows Sidebar API that is used to launch an application.
%WINDIR%\system32\mblctr.exe is the executable for the Windows Mobility Center, a tool that «puts commonly used laptop settings in one spot so you can access them easily on the go».
Whether it's necessary or not is hard to say without knowing what the gadget needs to accomplish. The function is called LaunchPowerApplet and Windows Mobility Center allows to configure the battery usage settings. It makes sense if the gadget is a battery level meter, it doesn't if it's a solitaire.
BTW, a gadget is «a collection of XML, HTML, Microsoft JScript, and Cascading Style Sheets (CSS) files» so it's technically not JavaScript but JScript (Microsoft's ECMAScript implementation)
Thia is just a windows mobility center exe it will help your gadget to run correctly. it will not harm your computer.
I wouldn't say it was malicious since the application it is trying to launch is a standard windows component.
Why it wants to launch the Mobility Center is a bit of a mystery, but without further context about what this widget is supposed to be able to do we can't comment.

Resources