Writing android gui using python(7:Activity)
Jun 17, 2012 8:34 PMTrackbacks 0Pageviews 193Public
IntroductionActivity of android application is main entity which likes windows on win32 platform. It has lifecycle, contains gui widgets, and manages them together. Activity can create child activities, with initial parameters, and gets results from them. Here gives an example to operate activities, which code is written with python based on wrapandroid project. The purpose of this article is to tell programmer how to opera...More
IntroductionActivity of android application is main entity which likes windows on win32 platform. It has lifecycle, contains gui widgets, and manages them together. Activity can create child activities, with initia...More
Writing android gui using c++(2:list view holder)
Jun 10, 2012 7:53 PMTrackbacks 0Pageviews 406Public
IntroductionWrapandroid and CLE project gives a choice to write android gui applications with multiple languages, such as python, lua, or c++. This article continues to talk about writing programming using c++. For gui applications, list view control is the most commonly used control, which is to present information to users to perform some action. For list view, to speed up scroll speed, a view holder is often used. We can...More
IntroductionWrapandroid and CLE project gives a choice to write android gui applications with multiple languages, such as python, lua, or c++. This article continues to talk about writing programming using c++. For...More
Writing android gui using c++(introduction)
May 30, 2012 9:17 PMTrackbacks 0Pageviews 235Public
IntroductionFor some reason, we might want to write android applications using native code. In this case, NDK will be used. But only NDK does not enough. Because android only exports java interface to programmers, so applications can not call android classes directly. How to solve this problem? Don’t worry about. Using the result of cle and wrapandroid project, programmers can call android class through interfaces of cle ...More
IntroductionFor some reason, we might want to write android applications using native code. In this case, NDK will be used. But only NDK does not enough. Because android only exports java interface to programmers, ...More
Writing android gui using python(6:layout)
May 28, 2012 10:07 PMTrackbacks 0Pageviews 234Public
IntroductionWrapandroid 0.8.5 is uploaded, programmers can download from http:/code.google.com/p/wrapandroid-for-multilanguage. In this version, a method is presented which can be used to unzip files to directory on sdcard or package path. If path does not exist, it will be created automatically. The method name is “unzipAssetFile”. Programmers can call it through activity object. The prototype of the functions is “boolea...More
IntroductionWrapandroid 0.8.5 is uploaded, programmers can download from http:/code.google.com/p/wrapandroid-for-multilanguage. In this version, a method is presented which can be used to unzip files to directory o...More
Writing android gui using python(menu scroll view and popup window)
May 2, 2012 9:09 PMTrackbacks 0Pageviews 545Public
IntroductionThe examples in this article will create menu, scroll view and popup window. For menu widget, programmer should override android functions of activity, which are “onCreateOptionsMenu”, “onPrepareOptionsMenu”, “onOptionsItemSelected”. Using python, the same functions should be defined and assigned to activity object. Popup window is often used to show information or perform some interactions with customer. Py...More
IntroductionThe examples in this article will create menu, scroll view and popup window. For menu widget, programmer should override android functions of activity, which are “onCreateOptionsMenu”, “onPrepareOptio...More