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++(3:debug)
Jun 13, 2012 7:26 PMTrackbacks 0Pageviews 142Public
IntroductionThis article talks about how to debug c++ codes using ndk-debug tool, and give some advice about c++ programming on android. If application is written in java, programmers can use eclipse to debug the code, set break points, and trace step by step. When written in c++, how to debug? By now, for android version above 2.2, ndk provides a ndk-debug tool, which runs on linux, can be used to debug the source code.Deb...More
IntroductionThis article talks about how to debug c++ codes using ndk-debug tool, and give some advice about c++ programming on android. If application is written in java, programmers can use eclipse to debug the c...More
Writing android gui using c++(2:list view holder)
Jun 10, 2012 7:53 PMTrackbacks 0Pageviews 407Public
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