I wrote a small .NET Console program that will run the Windows 8 simulator. Very simple:
using Microsoft.SmartDevice.Connectivity; using Microsoft.SmartDevice.Connectivity.Interface; using Microsoft.SmartDevice.MultiTargeting.Connectivity; MultiTargetingConnectivity connectivity = new MultiTargetingConnectivity(CultureInfo.CurrentUICulture.LCID); var devices = connectivity.GetConnectableDevices(); ConnectableDevice connectableDevice = devices[2]; Console.WriteLine("Found Connectable Device \'" + connectableDevice.Name + "\' for Device id {" + connectableDevice.Id + "}.");
Pretty simple. However, what I want to do now is software interaction with the device. I know that I can run my own applications using iDevice.installApplication, but I really want to run the built-in application that comes with the simulator (mail application). Can I use the SmartDevice.Connectivity libraries to send strokes or launch hidden applications that do not appear in the GetInstalledApplications() method? The API is rare and it doesn't seem like a ton of developers are using this.
windows-phone-8
Richthofen
source share