පාවෙලා යන්න.. – Kasun Kalhara

පාවෙලා යන්න… මට ඉඩක් දෙන්න….
හීනයක් වෙන්න… මොහොතක් තනිව ඉන්න…
ජීවිතේ පුරා පැතූ සිහින බොඳ වෙන්න… පෙර ඔබ එන්න…

ආදරේ ගලා හැලෙනා… දිය වැල්ල ඔබ වෙන්න…
මා දවා ඒ ආදරේ උණුහුම සොයා යන්න
මතකය පමණි ඉතිරි වී ඇත්තේ

සිංහලෙන් යතුරු ලියනය කරන්න.

Google transliteration යනු Google විසින් අප වෙත ලබා දෙන නවතම මෘදුකාංගයකි. ඉන් ඔබට ඉංග්‍රීසි බෂාවෙන් ලියන අකුරු ඔබගේ භාෂාවට පරිවර්තනය කර ගැනීමේ හැකියාවක් පවතී. දැනට එය බොහොමයක් භාෂාවන් සඳහා උදව් කරන අතර අපගේ සිංහල භාෂාවද එඅ අතර වෙයි. මෙම ලිපිය සකස් කලේද Google transliteration වලින් වන අතර එය AJAX තාක්ෂනය ඔස්සේ පරිවර්තනය සිදු කරයි. මේ අතර UCSC විසින් මෙයට පෙර මීට වඩා සාර්ථක නිපැයුමක් කරන ලදී. එය JavaScript පමණක් පාවිච්චි කරන අතර ඒ සඳහා අන්තර්ජාලයේ පාවිච්චිය අවම වෙයි. කෙසේ නමුත් Google විසින් සිංහල භාෂාව වෙනුවෙන් කරන ලද මෙම සේවය අප සැවොම විසින් අගය කල යුතු වෙමු. පහත වෙබ් ලිපින ඔස්සේ ඔබට Google Transliteration මෙන්ම UCSC Font Conversion Utility අත්හදා බැලිය හැක.
[1] http://www.google.com/transliterate/sinhalese

[2] http://ucsc.cmb.ac.lk/ltrl/services/feconverter/

Summer of Code Idea for Eclipse (2010)

The Google Data Protocol let end users access and updates the data stored by many Google products. A number of Google products, such as Calendar, Blogger and Spreadsheets, provide APIs that are based on the Google Data Protocol. The developers can use these APIs to give end users new ways to access and manipulate the data they store in those Google products. The goal of this project is to develop a ECF provider for Google data protocol and create a new adapter for Google calendar API.

Google Data Protocol

Google Data protocol is a REST inspired technology for reading, writing information on the web. It’s based on the Atom 1.0, RSS 2.0 syndication formats and Atom Publishing Protocol. Google Data Protocol extends Atom publishing protocol for processing queries, authentication, and batch requests.

Google Data protocol provide external access for data and functionalities of many Google products .It enables access to data stored in Google servers through contexts other than web browsers. So Developers can write applications to access or update data stored in many Google products. Many services at Google provide external access to data and functionality through APIs that utilize the Google Data Protocol. Google Data API is based on Google data protocol.

Eclipse Communication Framework

Eclipse communication framework supporting communication based applications in eclipse platform. Currently there are several components to access different protocols and services.

This project is based on creating a protocol provider for Google data. It’ll enable access to different Google services through eclipse platform. Developers can write applications to access and use functionalities of different google services like calendar API, blogger API, spreadsheet API…etc using this protocol provider.

Read more

SWT Browser Widget with Mozilla (SWT.MOZILLA)

We can use browser inside our java application with SWT browser widget. We can load external HTML pages or websites into our applications using it.

Normal way to initialize browser widget in your application is following.

Browser browser = new Browser(shell, SWT.NONE);

This will create a widget with OS specific browser instance. If you are in windows, Internet Explorer will be your browser host. For Linux default is Mozilla. Personally I don’t like IE much. And there’s a way to load Mozilla to SWT browser widget. Other than that there’s another advantage with using Mozilla, By using Mozilla if you right click nothing will happen inside the application. With IE, users can detect we are using HTML page inside the application. That’s by right click will show the browser specific context menu. Other than that using Mozilla we can get powerful features from Mozilla and XUL runner runtime. Powerful feature with browser widget is we can call JavaScript functions from Java as well as java functions from JavaScript.

There are few steps you have to achieve this goal.

  • Download and install XUL runner.
  • Now you can start with Development of SWT Browser application.
    Just change SWT.
    NONE to SWT.MOZILLA to load Mozilla into the widget.

Introduction to Aspects

Application-context.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans
 xmlns="http://www.springframework.org/schema/beans"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:aop="http://www.springframework.org/schema/aop"
 xsi:schemaLocation="http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

http://www.springframework.org/schema/aop

 http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">

 <aop:aspectj-autoproxy />

 <bean name="firstAspect"/>

 <bean name="helloWorld"/>

</beans>

Read more