How to customize touchscreen coordinates on windows? - windows

i'm currently working on a project with an IR touchscreen and i would like to know how use a display in landscape and a IR touchscreen in portrait, and disable the air space where there is no screen.
I would like to use it in this way (picture)
https://i.stack.imgur.com/dMYBl.png
Any advise allowed
Thanks :)

Related

Xamarin iOS Splash Screen

Windows 10, Visual Studio 2019 (16.5.4).
I've been following this example:
https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/launch-screens?tabs=windows
Which is fairly straightforward. My splash screen is simply a blue background with my logo in the centre. However, I cannot work out how to centralise the logo on every iOS device and both portrait and landscape.
Do I have to create a different Asset or LaunchScreen.storyboard for every device?
The way I am familiar with that you can create a responsive design in iOS is to use the concept of AutoLayout.
But before you start that you should be aware of the basics of designing in iOS
Goodluck
Feel free to get back if you have queries
I cannot work out how to centralise the logo on every iOS device and both portrait and landscape.
In the designer you can grab the dot in the centre of the view and then drag it to the vertical or horizontal lines:
Check https://learn.microsoft.com/en-us/xamarin/ios/user-interface/designer/designer-auto-layout#center-constraints

How can I detect landscape orientation in a WP7 template using SketchFlow?

I am using the official Windows Phone 7 SketchFlow template, based on the Windows Phone SDK. Is there any way to detect when the user has clicked the landscape orientation button in the player, and act accordingly? Specifically, I'd like to display completely different views depending on orientation. Thank you!
It looks like the portrait and landscape functionality is implemented with visual states. If you select the correct visual state and make your changes (such as showing different controls) it should work the way you want.

How to make the picture follow my finger WP7 Silverlight?

Something like dragging and dropping an image
Is there a basic sample that I can use for that purpose?
You can use OnManipulationStarter, OnManipulationDelta and OnManipulationCompleted events with TranslateTransform on some object to move it below your finger.
Also, advanced stuff will be MultiTouch Behavior for Windows Phone 7

How to make an iOS app support landscape orientation in XCode?

How to make an iOS app support landscape orientation?
How do you make it support both landscape and portrait, where you can just press a button to activate it.
for any new people reading this old post just go to main.storyboard->click on the view controller click on simulated metrics (the fourth icon that pops up, looks kind of like a pentagon belt buckle)
then orientation->Landscape this is for Xcode 5

J2ME UI on Samsung Bada platform

When a J2ME application runs on Samsung phone with Samsung Bada an OS that supports TouchWhiz (GT-S5320, in my case),a virtual keypad is shown on the screen by default and always! This virtual keypad consists of the following keys - LEFT,RIGHT,UP,DOWN,FIRE and SOFT1, SOFT2.
Is there anyway I can control when this keypad is displayed and when it isn't. I understand that this would be a platform specific solution. But does it exist?
Thanks,
-- Kiran Kuppa
EDIT: I must also note that Google Maps, ( seems to be a J2ME app) does not show this keypad. I am sure there must be a way to supress it.
EDIT2: Thanks for the correction. I am attaching a picture to illustrate.
You should be able to use:
MIDlet-Touch-Support: True
in the jad/manifest to remove the on-screen pad.
Just for more information, if your handset supports rotation with an accelerometer this too can be controlled with a jad parameter:
MIDlet-ScreenMode: Rotate //to allow rotation
MIDlet-ScreenMode: Portrait //to force to portrait
MIDlet-ScreenMode: Landscape //to force to landscape
Good Luck!
The virtual keyboard appears for j2me application if it not uses TouchUI functionality
on bada 1.2 (not on bada 1.0 and not on bada 2.0, grr) there was an option in the "games and more" (=java) menu, where you could manually enable or disable the 1) keypad and 2) the way the app is shown, stretched to display (but 240x320) or not-stretched(and full 480x800).

Resources