Buddhist Quotes 静思语

This is a widget to display wise quotes from virtuous monk. By default it will change a new quote every half hour, but if you want to change next quote just press the next button. It contains 1,085 wise quote from 证严法师 and around 3,300 from 星云法师.

All the quotes are extract from a xml source file, which structure is like below:

<?xml version="1.0" encoding="UTF-8"?>
<quotes>
<quote from="星云法师">人生最大的悲哀,是自己对前途没有希望;人生最坏的习惯,是自己对工作没有计划。</quote>
<quote from="证严法师">自造福田,自得福绿。</quote>
</quotes>

I collected all the quotes from web http://www.fgs.org.tw/master/masterA/books/delectus/maxim/maxim.aspx then convert it into the xml structure I want. But the problem is the original resource is html, so I need to do some conversion in this case.

Steps I took:

  1. Use notepad++ to open the file I have save.
  2. Remove all the new line by replace \r\r with \r use the extended character
  3. Insert <quote from=”证严法师”> in front of each quote again by find & replace ^
  4. Find & replace $ one by one (cannot replace all the app will hang) for insert the close tag – </quote>
  5. Go to google translate change to simplified Chinese where I preferred here.
  6. Done.

Issues:

  1. Fail to view all when it is long text.

Download
source

New interface

You can find it on Google Playstore now

Propose new feature & UI- Launch an application instead of just a widget.
BuddhistQuotes

Advertisements

2 thoughts on “Buddhist Quotes 静思语

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s