srplab's blog

Discuss about multi language programming of c/c ,java,c#,python,etc. Distribute object middleware

1-5/22 posts
There is no article in this blog.
  • Writing android gui using python(6:layout)
  • May 28, 2012 10:07 PMComments 0Trackbacks 0Pageviews 231Public

    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 PMComments 0Trackbacks 0Pageviews 542Public

    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

  • Writing android gui using lua(introduction)
  • Apr 27, 2012 11:51 PMComments 0Trackbacks 0Pageviews 425Public

    IntroductionLua 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 encapsul...More

    IntroductionLua 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 wrapan...More

  • Writing android gui using python(list view and custom view)
  • Apr 26, 2012 8:00 PMComments 0Trackbacks 0Pageviews 387Public

    IntroductionThe examples in this article will create a listview and a custom view. Android listview often uses adapter such as “ArrayAdapter<String>(…)”. 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 ov...More

    IntroductionThe examples in this article will create a listview and a custom view. Android listview often uses adapter such as “ArrayAdapter<String>(…)”. The syntax is java generic, which may have no correspondin...More

  • Writing android gui using python(gallery)
  • Apr 22, 2012 7:39 PMComments 0Trackbacks 0Pageviews 234Public

    IntroductionWrapandroid version is updated to 0.8.2. Please uses this version. We might write python code outside eclipse. In this case, we have no logcat window to show print message from python. Do not worry about, cle supports syslog. The message can be output to syslog server. Using the following sentence to open syslog client:SrvGroup._SetOutputPort("192.168.0.129",514)The ipaddress should be adjusted based on your env...More

    IntroductionWrapandroid version is updated to 0.8.2. Please uses this version. We might write python code outside eclipse. In this case, we have no logcat window to show print message from python. Do not worry abou...More

    Copyright © 2013 Yahoo!, Inc. All rights reserved