I don't have a Windows 8 tablet.
On tablet emulator and on desktop Windows 8 the following code returns null:
lightSensor = Windows.Devices.Sensors.LightSensor.getDefault();
Same for other sensors (but not for geolocation).
Can i somehow test my code without device ?
I don't care about any sensible data returned, but it would be great to test code correctness.
Buy a light sensor :P
Tbh ways of test this king of things at the moment are limited.
IMO if you want tablet with Windows 8 you should hack one of the tablets on the martket and install Windows 8 on it. Microsoft installed Win8 on few Samsungs to present Office 2013 so it can`t be that hard :)
But this is a bit off top. Back to the question. IMO you can`t test it with out some device with light sensor. I found many examples of your code but none of them where tested.
Related
I just got a new laptop that came with Windows 10 Operating System. I'm trying to setup workspaces that use Spring Tools Suite on my system. I've tried both the 4.5.2 and 4.6 versions of STS from the site.
The problem I'm encountering is that if I leave STS open for a period of time or if I try to perform certain operations such as a Run Configuration I will just see a black screen and am unable to do anything.
Anytime I see the black screen the only common thing is that I had STS open, so my assumption is that the issue may relate to STS. I could be completely wrong and this be unrelated to STS entirely but I can only reproduce the problem when STS has been open.
Two Questions, can anyone please provide any insight as my searches online aren't providing any resolution
1. Any special configuration others have run into for Windows 10 and STS?
2. If I get the black screen, how can I recover other than a hard power off, others experience with this?
Thanks for your input
I've been able to get past this issue by updating a number of drivers on my machine from Dell support page. I use a Dell Precision 5510 and was able to go to Dell support site and search for drivers for my machine.
I did the following Steps to fix my Precision 5510
Go to Dell Support Page
Click on Support
Click on Drivers and Downloads
Click on tab 'Find it myself' so you can select drivers you want
Scroll to bottom of the page and click on the line highlighted in blue that reads, Browse all drivers for Precision 5510
In list of drivers choose Chipset drivers
There may be other drivers that you need to install but adding the following fixed my issues
Be sure to restart your machine after install/update of each driver
Basic Input/Output System (BIOS)
Intel(R) Thunderbol 3 Controller Driver
Install the Firmware Update
Realtek USB GBE Ethernet Controller Driver
Realtek USB Audio Driver
Patch for the USB audio/mouse issue
Combination of the above or one of the drivers fixed my issue, I'm not certain which one Spring Tools depended on but it does not crash to a black screen now after updating these drivers.
I acquired a batch of WT0490 wearable pdas with detachable scan head, so converted an application originally made for Windows Mobile (which has been running perfectly for several years) to run on the WT4090s. The devices use these versions:
Windows CE 5.0
EMDK 2.6
ASP.net CF 2.0
Since rollout I've seen some very frustrating behaviour, which seems to start happening after the devices have been operating a few days. Users are reporting the following error:
Unexpected error in application
SCAN_Enable
There doesnt seem to be any noticeable pattern, several devices will be working perfectly for a few days then suddenly this error will show. THen a few days and a few reboots later they work again.
All devices were taken right back to stock settings then our cabs deployed to them. All identical models. We've tried altering memory allocation, swapping scanner headers etc but there is no pattern.
The error seems to occur on load of the first form after login, the login screen displays a list of users in a dropdown with a password box so that part of the app works ok, it seems to be when the scanner is initialised that this failure happens.
I had 40 devices, now 30+ have gone down with this same issue so my gut is telling me its a software issue but as yet ive not been able to find out why.
We've tried warm boots, cold boots, complete reprovisionings as well. We have a couple of dev units that don't show the problem although they are not in regular use so maybe we just haven't seen the problem 'yet'.
I hope someone out there has had this issue and knows how to fix it.
Thanks in advance.
WT4090 was built by Motorola Solution enterprise business, now part of Zebra Technologies. The WT4090 is currently in EOS (End Of Sales) but is still supported by Zebra if you've a maintenance contract.
You can check if you've the latest OS version and fixes installed on the device looking on Zebra Technologies support website.
For question on how to develop for Zebra Technologies devices you can take a look at Launchpad, Zebra's developer community website.
It's Worth noting that these devices have detachable barcode scanners - so if the scanner is not correctly attached, you get a SCAN_Enable error.
If you don't release the scanner, you can also see this error as a previous form could have the scanner blocked.
You may also find you have the ScanWedge app running - this will also block the scanner so you cannot get it enabled. The EMDK needs exclusive access to the scanner to enable it.
My laptop's processor doesn't support SLAT so I can't run the WP8 emulator on my laptop and use that to take screenshots.
I have a Lumia 920 and I can take screenshots with it, but only for one of the three screen sizes available on Windows Phone.
Is there any way to take screenshots for all the different screen sizes in this case?
I had the same problem. There is not a way to have your Lumia 920 render in a different resolution if that's what you're asking. This makes verifying those resolutions pretty tough. It really makes you have to trust in your layout that your application can scale correctly.
To get the screenshots, I used my Lumia 920 to take screenshots, then I used paint.net to resize the images to the correct sizes for the store requirements. It's a little misleading to the user but it's all you can do without having the devices you need to test.
Other options would be to reach out to your local Microsoft developer evangelist to see if you can get a device to test those resolutions. Then if all else fails and you're still not comfortable shipping your app without testing on those resolutions you can always find a developer friend that is willing to run your app on their emulator.
If you're using a Windows Phone 8, you can just press the Power and Start buttons simultaneously to take a screenshot.
I have been using HHKB Pro 2 for almost a year, one at home and one at work. Now I have to work with two computers (PC and Mac) for which I decided to buy KVM switch.
I picked one and expected nothing wrong with that, but when I plugged it in, HHKB was not working either with PC nor with Mac. I tried several keyboards and all worked flawlessly expect the mentioned HHKB. I tried the second one with the same result. With that in mind, I purchased another KVM switch, which was hardware switched (the previous one listened to ScrollLock which is supported by HHKB by using Fn key). To my surprise, it didn't work either.
Now I have tho KVM switches that work flawlessly with any keyboard BUT that damned HHKB Pro 2.
Is there any KVM switch that can handle this (or to be more precise, is there any that HHKB can deal with, because obviously there's something wrong with HHKB, not with KVMs).
Do you have any experience with that?
Thanks.
HHKB Pro 2 has got USB hub and that seems to be causing trouble with most of the KVM switches.
KVM switches expect keyboard to be attached to its keyboard port. So when HHKB Pro 2 is attached, KVM switch finds an USB hub and just stops. It won't go beyond USB hub to look for keyboard which might be attached to it.
So are there any KVM switches that works fine with HHKB Pro 2?
One of the ATEN's KVM switch worked although it was a bit unstable.
May be their recent models might work with increased stability if you want to give it a try.
However, I would suggest free software solution like "Synergy" (http://synergy-foss.org/) if you have display for each of your computers.
I wanna to simulate touch event in Windows / Mac OS X or Linux (OS is not critical).
Under Windows Vista and Windows 7, the Multi-Touch Vista drivers let you use 2 mice to simulate multi-touch gestures. It should degrade nicely to the "normal" touch experience. In my experience, it can be fairly tricky, but it works.
It really kind of depends on what you're working on and what the goal is. If you can separate the response from the action in your application, that will make it a lot easier to test something like this without going through a lot of hassle.
If you wind up needing a touch device, Wikipedia has a nice list of multi-touch devices.
A lot of time passed since this question, however, maybe someone will google for similar question and find that there is another option:
If you have android device, you can use your device as touch screen for windows.
Maybe there are other software to do this, but I used following one:
https://play.google.com/store/apps/details?id=com.tnksoft.winmultitouchfree
This program from some japanese guy coupled with desktop app does the trick.
You can get desktop app from his site http://www.tnksoft.com/ .
Unluckily it is japanese site, but it's not hard to find necessary program there(it has easily recognisible icon)>
Alternatively you can get link once you install android app.