Showing posts with label GUI. Show all posts
Showing posts with label GUI. Show all posts

Thursday, March 14, 2013

Writing an Android GUI using C++: Introduction - CodeProject

Intro

The article is an introduction to write Android GUI applications using CLE and Wrapandroid. CLE is a middleware for programming using multiple languages, which supports Java, Python, C/C++, Lua, etc., and can be extended to support other languages. Objects, for example, instances of classes, will be maintained in the kernel. And then, CLE provides a common interface to multiple languages. We can call an object’s function, get or set object’s attributes, capture object’s events, etc.

Writing an Android GUI using C++: Introduction - CodeProject
Enhanced by Zemanta

Wednesday, June 13, 2012

Monday, April 30, 2012

Writing Android GUI Using LUA (Introduction) - CodeProject®

Introduction to article

Lua is more like python. Both are all dynamic languages, with little difference in syntax. Therefore these series of articles are similar to "write android gui using python" series.
Using CLE and wrapandroid project, programmers can also write android gui applications with lua. CLE supports interaction between lua and java, gives a common interface for multiple programming languages. Wrapandroid project encapsulates android java class with cle objects. This article is an introduction. There will have series of articles to further explain how to programming android applications using lua.


Writing Android GUI Using LUA (Introduction) - CodeProject®

Thursday, April 26, 2012

Writing android gui using python(list view and custom view) - CodeProject®

More about writing a GUI for Android using Python!

The examples in this article will create a listview and a custom view. Android listview often uses adapter such as "ArrayAdapter(…)". The syntax is java generic, which may have no corresponding types in dynamic script languages, such as python, lua, etc. Therefore, we have to give specific class, such as StringArrayAdaper, for it can be used in these dynamic languages. For StringArrayAdapter, we can override function getView to return little more complex view for listview. For custom view, we can create instance of View, and override its function onDraw. In function onDraw, we may draw text or bitmaps using function of canvas.

Writing android gui using python(list view and custom view) - CodeProject®