Have you ever wanted to write a console application for Android, or port an existing one?
Calls to the
System.Console class, such as (ReadLine/WriteLine) are intercepted.
Console.WriteLine("Text"); outputs the text to a TextView.
Console.ReadLine(); shows an AlertDialog prompting the user for input.
The 1.6 C#Shell update introduced a whole lot of new stuff, including a brand new UI mode, called CanvasUI.
"what is this mode and how do I use it?"
I get this question from many of the users.
So... due to popular demand, I have decided to write a short tutorial.
The CanvasUI mode encapsulates an Android Canvas and let's you render 2D on-screen graphics.
The rendering is hardware accelerated and renders frames at 10fps (might be subject to change)