Questions tagged [touchdevelop]

TouchDevelop is a programming environment that provides high-level abstractions to enable the creation of scripts on and for touch-based devices that access web services.

TouchDevelop is a programming environment that runs on iPad, iPhone, Android, PC, Mac, Windows Phone. It runs entirely in-browser and provides an interactive environment for developing, testing and running programs. The programs are coded in the TouchDevelop scripting language.

10 questions
2
votes
1 answer

CSS pseudo class for touch

I try to create a redmine CSS only theme, that hides the attributes section and only shows it on mouse-click or touch. I added the Pseudo Class :active which works fine on desktops, but on Android Chrome, it only activates for a fraction of a second…
rubo77
  • 19,527
  • 31
  • 134
  • 226
1
vote
0 answers

How to select particular text using touch device and highlight?

In touch device I need to select particular text from div or p and after that user selected text must be highlight. I'm using jQuery textHighlighter. Is it possible? Below tried this code it works on non touch device but not properly work in touch…
jaymin
  • 23
  • 4
1
vote
0 answers

I'm having trouble exporting touchdevelop apps to cordova

starting shell watch... starting with , pid: 23188 start, autoupdate=false Deployment key: 02c46ba6aa3967852084c6d0860fd59c8581afc9 Editor URL: http://localhost:4242/editor/beta#td_deployment_key=02c46ba6aa396785 2084c6d0860fd59c8581afc9 running:…
Arifin
  • 11
  • 2
1
vote
0 answers

Why does my touch develop script keep crashing?

The question isn't exactly concerned with touch develop rather just basic programming "structure" or syntax. what I am trying to do is create a simple compass working on the phones heading capability. The heading capability just spits out degree…
1
vote
1 answer

String Concat Error with TouchDevelop

I begun programming with TouchDevelop but I entered the error below. action main () var strings := collections → create string collection strings → set at(1, "I") strings → set at(2, "II") strings → set at(3, "III") …
Feel Physics
  • 2,783
  • 4
  • 25
  • 38
1
vote
1 answer

How to build a Control Flow Graph (CFG) from a JSON object (AST)

I want to build a control flow graph (CFG) from an AST given in JSON format. So this AST is automatically created in TouchDevelop against each script. And since TouchDevelop is not Object Oriented programming, can I still use the Visitor pattern?…
0
votes
0 answers

dblclick function is not same as tap function on touch device

I code some function for my website and found that function on touch device on single tap are not same as in desktop. it's ok on desktop but not in touch device. I have some image and title about them , i want to show the title of each image on…
0
votes
0 answers

Regarding conversion of image-to-base64 string in TouchDevelop

I am getting an image (encoded in base64 string format) from a server. This base64-encoded string has to be converted back to image. I am doing in two steps: Convert the base64 encoded string into a buffer - Using bits -> string to…
0
votes
0 answers

They said it would be easy: "Simple" website/app for work

I was trying not to do this, but I’m stumped and I could use help. Work asked me to make an iPad interactive for the library. Essentially it’s five screens- one home screen with four touch options and four sub pages with media (video and photos)…
0
votes
1 answer

TouchDevelop Deleting text

The Issue: I have two buttons, button "Apple" and button "Cookie". When I press the "Cookie" button, text should show saying "Cookie" on screen (which it does) THEN, when I press the "Apple" button, the text should UPDATE to "Apple" instead of…