We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
CSCS Native Scripting ikona

1.0 by Vassili Kaplan


Mar 18, 2018

O CSCS Native Scripting

English

Z CSCS (Dostosowane skryptów w języku C #) można tworzyć natywne aplikacje na Androida i iOS

CSCS (Customized Scripting in C#) can now be used for native mobile development.

This App contains a CSCS interpreter that you can use to play around with CSCS. There are also a few pre-set examples.

How to use CSCS for mobile development is described at:

- https://msdn.microsoft.com/en-us/magazine/mt829272

- http://www.codemag.com/article/1711081

A Syncfusion E-book describing CSCS:

- https://www.syncfusion.com/resources/techportal/details/ebooks/implementing-a-custom-language

Another Syncfusion E-book on how to use it for mobile development is coming up soon.

This App itself was produced in CSCS. Here is the complete CSCS code:

=========================

AutoScale();

AddOrSelectTab("Create", "test.png", "test2.png");

__locComboFiles = GetLocation("ROOT", "CENTER", "ROOT", "TOP", -80, 10);

AddCombobox(__locComboFiles, "__comboFiles", "center:white:clear", 350, 60);

__optionsComboFiles = {"Init", "Hello, World!", "Ads", "Busy Indicators", "Unit Tests"};

AddWidgetData(__comboFiles, __optionsComboFiles, "", "center");

SetFontSize(__comboFiles, 13);

SetValue(__comboFiles, "text2", "Done");

SetValue(__comboFiles, "alignment", "center");

AddAction(__comboFiles, "comboFilesChanged");

__locRemoveKeyboard = GetLocation(__comboFiles, "RIGHT", __comboFiles, "CENTER", 10);

AddButton(__locRemoveKeyboard, "__buttonKeyboard", "Keyboard", 150, 60);

SetFontSize(__buttonKeyboard, 12);

AddAction(__buttonKeyboard, "hideKeyboard");

__locScriptView = GetLocation("ROOT", "CENTER", __comboFiles, "BOTTOM", 0, 10);

AddTextEditView(__locScriptView, "__textView", "", DisplayWidth - Relative(40), DisplayHeight - Relative(210), 0);

SetFontSize(__textView, 14);

AddOrSelectTab("Run", "learn.png", "run_icon.png");

function hideKeyboard(sender, arg) {

ShowHideKeyboard(__textView, !IsKeyboard(__textView));

}

function comboFilesChanged(sender, arg) {

row = GetValue(sender);

text = "";

if (row == 1) {

text = ReadFileAsString("sfhello.cscs");

} elif (row == 2) {

text = ReadFileAsString("ads.cscs");

} elif (row == 3) {

text = ReadFileAsString("busyIndicators.cscs");

} elif (row == 4) {

text = ReadFileAsString("unitTest.cscs");

}

SetText(__textView, text);

}

function tabSelected(sender, arg) {

tabId = int(arg);

if (tabId != 1) {

return;

}

script = GetText(__textView);

RemoveTabViews(1);

try {

Run(script);

} catch(exc) {

AlertDialog("CSCS", exc);

WriteConsole(exc);

}

}

OnTabSelected("tabSelected");

SelectTab(0);

Co nowego w najnowszej wersji 1.0

Last updated on Mar 18, 2018

Minor bug fixes and improvements. Install or update to the newest version to check it out!

Tłumaczenie Wczytuję...

Dodatkowe informacje APLIKACJA

Ostatnia Wersja

Dostępne CSCS Native Scripting aktualizacje 1.0

Wymaga Androida

4.4 and up

Available on

Pobierz CSCS Native Scripting z Google Play

Pokaż więcej

Dostępne również dla innych platform

CSCS Native Scripting Zrzuty ekranu

Wczytywanie komentarzy...
Języki
Subskrybuj APKPure
Bądź pierwszym, który uzyskał dostęp do wczesnego wydania, wiadomości i przewodników najlepszych gier i aplikacji na Androida.
Nie, dziękuję
Zapisać się
Subskrybowano pomyślnie!
Jesteś teraz subskrybowany do APKPure.
Subskrybuj APKPure
Bądź pierwszym, który uzyskał dostęp do wczesnego wydania, wiadomości i przewodników najlepszych gier i aplikacji na Androida.
Nie, dziękuję
Zapisać się
Powodzenie!
Jesteś teraz subskrybowany do naszego biuletynu.