Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17534] WP8 (C#): Implement Touches App using Titanium API

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionDone
Resolution Date2015-01-06T22:17:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterMatt Langston
AssigneeIngo Muschenetz
Created2014-08-20T22:15:51.000+0000
Updated2017-03-16T21:40:40.000+0000

Description

We need two implementations of the Touches App on a WP81 device using the Titanium API only. One implementation of the Titanium API will be done in C# (this ticket), and the other in C++. The pros and cons of the two implementations will be evaluated, and an implementation language will be chosen based on this evaluation. I have uploaded the Titanium version of the Touches App to our JavaScriptCore repo here: https://github.com/appcelerator/JavaScriptCore/tree/master/titanium/examples/touches Both implementations need to be able to run this app. The app is designed to stress the communications bridge between the JavaScript engine and the native platform that hosts the JavaScript engine, and is instrumented to measure important performance characteristics of this bridge as the squares are dragged. A file of profile data is written to the device (or simulator) for every touchend event. The following 36 Titanium API are required to implement the Touches App. This is what the C# and C++ teams should implement:

Titanium API Required for view handling:

* Ti.UI.View.touchend (Event) * Ti.UI.View.touchmove (Event) * Ti.UI.View.touchstart (Event) * Ti.UI.Window.add * Ti.UI.Window.open * Ti.UI.createImageView * Ti.UI.createWindow * event.source.applyProperties * event.source.convertPointToView * event.source.left * event.source.top * event.x * event.y * require

Titanium API Required for Data Collection:

* String.format * Ti.API.info * Ti.Filesystem.File.write * Ti.Filesystem.applicationDataDirectory * Ti.Filesystem.externalStorageDirectory; * Ti.Filesystem.getFile * Ti.Filesystem.isExternalStoragePresent * Ti.Platform.displayCaps.density * Ti.Platform.displayCaps.dpi * Ti.Platform.displayCaps.logicalDensityFactor * Ti.Platform.displayCaps.platformHeight * Ti.Platform.displayCaps.platformWidth * Ti.Platform.manufacturer * Ti.Platform.model * Ti.Platform.name * Ti.Platform.osname * Ti.Platform.ostype * Ti.Platform.processorCount * Ti.Platform.runtime * Ti.Platform.version

Comments

  1. Russell McMahon 2015-01-06

    We settled on C++ for stability and speed.
  2. Lee Morris 2017-03-16

    Can confirm that this was done.

JSON Source