Mathias Lin | 林马

Healthcare Informatics, Open Source, Entrepreneur, Software Engineer (Java, Android, Mobile), HIMSS member 

Nexus One Emulator Skin (Updated)

I've been using the Nexus One skin provided by Tim Hoeck for Android development. Thanks for the work.
http://timhoeck.com/2010/01/16/nexus-one-emulator-skin/

Today though I came across a very sharp PSD file (at http://psdlist.com/gadget/179/google-nexus-one-psd-templates-and-png-files.html) that's even clearer and sharper than the images in the current skin set. Therefore I replaced the skin and the buttons.

Here's an updated version of the Nexus One skin. You can download it from the link below.
Thanks to Tim Hoeck for the initial effort to provide the Nexus One skin.


Click here to download:
NEXUSONE.zip (1835 KB)

Loading mentions Retweet
Filed under  //   android   emulator   nexus one   skin  

Comments [0]

DroidDraw: User Interface (UI) designer/editor for programming the Android Cell Phone Platform

Just stumbled over Droid Draw, a user interface (UI) designer/editor for programming the Android Cell Phone Platform. You can either download the small application to your desktop or run it in the browser as an applet.

http://www.droiddraw.org/

Here's a good tutorial to it:
http://mobiforge.com/designing/story/understanding-user-interface-android-part-1-layouts

Loading mentions Retweet
Filed under  //   android   gui  

Comments [0]

Open Source Clinic Management System: HKMA CMS3.0 (TaoYuan Project)

The CMS 3.0 is an open-source clinical management system project jointly implemented by the Hong Kong Medical Association (HKMA) and the Information and Software Industry Association (ISIA), with funding support from the Office of the Government Chief Information Officer (OGCIO) under the Sector-specific Programme (SSP) for the Medical and Health Sector, and was developed by Mobigator Technology Group.

Screenshots:
http://www.facebook.com/album.php?aid=119396&id=504063796&ref=mf

See the facebook group:
http://www.facebook.com/group.php?gid=123759717334&v=wall&ref=ts

Twitter: http://twitter.com/HKMA_CMS

Website: http://www.cms3.hk

The project has been published under GPL2.0 license (open source). Technologically based on Java, Grails/Groovy, MySql. Web based client using ExtJs.

                             
Click here to download:
Open_Source_Clinic_Management_.zip (1377 KB)

 

Loading mentions Retweet
Filed under  //   ehealth   ehr   extjs   grails   healthcare   hongkong   java   medical   opensource   taoyuan  

Comments [0]

eHealth Forum 2009, Hong Kong

Impressions from the eHealth Forum 2009, Hong Kong at the Hong Kong Academy of Medicine, 08./09.10.2009. It was also the inauguration of HL7 Hong Kong.

                                   
Click here to download:
eHealth_Forum_2009_Hong_Kong.zip (3402 KB)

Loading mentions Retweet
Filed under  //   2009   conference   ehealth   healthcare   HL7   hongkong  

Comments [0]

Open-Source clinic management software in Hong Kong #opensource #healthcare

[From: http://www.isia.org.hk/]
Aug 2009, After two years of development, the TaoYuan Project team formed by ISIA and HKMA are pleased to announce that CMS 3.0 is born! The CMS 3.0 is the first Open-Source clinic management software in Hong Kong. The latest version 3.1 is available now for all registered doctors and clinics to download together with online e-learning and user manual. ISIA members provide various customized CMS service packages bundling hardware, broadband, data migration, training & hotline support.
For details, _http://cms3.isia.org.hk
_

Loading mentions Retweet
Filed under  //   CMS   healthcare   hongkong   opencms   opensource  

Comments [0]

GENETiCS forever - Part 2: Misc games

Part (2): Here some misc other games of that time...

My very first game on PC (1994; I've done some smaller stuff on Amiga before around 1992/1993)... a Tetris clone... graphic sucked ;-) ... written in Turbo Pascal...

The second Tetris Genetris clone had slightly cooler graphics....



FunkyBoyz... another bomberman clone, coded a year later, different graphic mode, same sound mode as Blower.


     
Click here to download:
GENETiCS_forever_-_Part_2_Misc.zip (77 KB)

Even had it's own level editor...


Yatzee DOS game, not that exciting, but oh well...

A logic game, called 'mastermind' as a real board game:

Loading mentions Retweet
Filed under  //   486   bomberman   games   genetics   historic   pascal   programming   tetris  

Comments [0]

GENETiCS forever - Part 1: Blower

I browsed some very old backup CDs and found my very first games I programmed back in 1994-1995. What great times!! The games were coded in Turbo Pascal on my 468 PC. Using the DOSBox, I can run them again and I made some screen shots... great memories .... greetinx to Jump and Dr. Hex (Gecko) :-)

Our very first GENETiCS game was a bomberman clone called Blower... very cool with title screen rendered in 3D studio max... the game with great MOD sound - awesome.

The manual, powered by ANSI art :-)

   
Click here to download:
GENETiCS_forever_-_Part_1_Blow.zip (22 KB)


The title screen... GENETICS was our group name...

The title screen...

The start menu....

The actual game arena...



Credits...

The available extras in the game...

Loading mentions Retweet
Filed under  //   486   bomberman   DOS   games   genetics   historic   pascal   programming  

Comments [1]

Building Android System and Kernel on Windows (w/ Linux & VMWare)

I'm mainly working on Windows for software development, Linux only on server sides, and was looking for a quick way to be able to build the Android Kernel on my primary machine, which only runs Windows. Building the Android kernel requires Linux or Mac. So as a quick solution I installed the VMWare Player running Ubuntu 9 on it.

Here are some hints how to get everything running quickly this way:

Install VMWare Player (download from http://www.vmware.com/products/player/)

In order not to running through the entire Ubuntu setup, I downloaded a current Ubuntu 9.04 Desktop image from http://chrysaor.info/?page=ubuntu

Since the hard disk is a little small for building Android (should have at least 10 GB of free space), I download another 50G disk and mount it to the system
Very useful instruction and quick way to add another HD I found here:
http://www.thoughtpolice.co.uk/vmware/howto/vmware-scsi-disk-add.html

Once the Ubuntu system is up and running with the newly mounted HD, proceed with the steps as documented at http://source.android.com/download
After having installed the necessary environment (git, repo, and all dependencies), the main steps to build the Android system and kernel are then:

  • repo sync
  • make
  • make sdk
One important note regarding building the Kernel.
For some reason the project list on http://source.android.com/projects is not up to date, the Kernel project is not part of the core anymore but now a separate project. So building the Android system and building the underlying Linux kernel are actually two separate things. That's why we execute the 'make sdk' after the 'make' in order to get the kernel-qemu file as well.

see http://groups.google.com/group/android-platform/browse_thread/thread/5d7f720f11b1f177

I dowloaded the android source code few weeks back through the following link, and I have been working on code for few days now. But I recently checked out source code yesterday on a separate machine and found out that after doing a 'repo sync' there is no kernel folder in the source code.

This is intentional. Having the kernel source in the android manifest caused large downloads that few people needed, was not scalable, and caused some confusion.


The result of the make process are then four files, which you can then use with the emulator:
  • kernel-qemu
  • ramdisk.img
  • system.img
  • userdata.img

Loading mentions Retweet
Filed under  //   android   kernel   linux   mobile   opensource   ubuntu   vmware  

Comments [2]

Display RSS Feed in OpenCms Template

Since this is a very common feature for many websites, here's a useful snippet I usually use when displaying RSS feeds in an OpenCms template. For example you want to display an Atom RSS feed from a WordPress blog on your OpenCms based website.

My approach is usually:
The OpenCms schema has a OpenCmsString input field (named BlogRssUrl in my case), which is mapped to the property BlogRssUrl as well.

<xsd:complexType name="OpenCmsMySchema">
  ...
  <xsd:element name="BlogRssUrl" type="OpenCmsString" minOccurs="0" maxOccurs="1" />
  ...
</xsd:complexType>

<mappings>
    <mapping element="BlogRssUrl" mapto="property:BlogRssUrl" />
</mappings>

For fetching the RSS feed, I recommend the ROME Fetcher subproject library at https://rome.dev.java.net/, which only depends on the JDOM parser (jdom.jar). So you will end up deploying three additional jars:

  • jdom.jar
  • rome-1.0RC2.jar (or newer version)
  • rome-fetcher-0.9.jar (or newer version)


Below is the scriplet then for the OpenCms jsp template:

<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<%@ page session="false" import="org.opencms.jsp.*,java.util.*,org.opencms.file.*,java.net.URL,com.sun.syndication.feed.synd.*,com.sun.syndication.fetcher.*,com.sun.syndication.fetcher.impl.*" %>
<%  
    CmsJspActionElement cms = new CmsJspActionElement(pageContext, request, response);
    String filename = cms.getRequestContext().getUri();

           // === RSS Feed Fetching ===
    FeedFetcherCache feedInfoCache = HashMapFeedInfoCache.getInstance();
    FeedFetcher feedFetcher = new HttpURLFeedFetcher(feedInfoCache);
    CmsObject cmso = cms.getCmsObject();
    String blogRssUrl = cmso.readProperty(filename, "BlogRssUrl");
    SyndFeed feed = null;
    if (blogRssUrl!=null && !"".equals(blogRssUrl)) feed = feedFetcher.retrieveFeed(new URL(blogRssUrl));
%>

and then display the output on the page:

<% if (feed!=null) { %>
<ul>
<%
// === RSS feed output ===
for (Iterator<SyndEntry> iter= feed.getEntries().iterator(); iter.hasNext();) {
    SyndEntry entry = iter.next();
    %>               
    <li>[a href="<%=entry.getUri()%>"]<%=entry.getTitle()%>[/a]</li>                               
    <%               
}
%>
</ul>
<% } %>

Loading mentions Retweet
Filed under  //   atom   CMS   java   opencms   ROME   rss   tutorial  

Comments [0]

OpenCms Introduction Video

I recorded an OpenCms introduction video last weekend using Movie Maker and CamStudio (both free and easy-to-use tools), but still trying to improve the quality. 


This is my very first video recording and cutting, so please be considerate ;) 
Planning to add more videos step by step later. Hope to encourage others to do the same (on complementary topics).

Loading mentions Retweet
Filed under  //   CMS   opencms   opensource   tutorial  

Comments [0]