Posted on August 14, 2007 by Subin
I have attached a small code snippet which implements an SMS listener. For more details on PushRegistry click here. This will invoke notifyIncomingMessage() of the MessageListener. This code will not create a permanent entry in the registry, but will listen to the specified port as long as the application is alive.
package subin.rnd.mobile.game;
import javax.microedition.io.Connector;
import javax.wireless.messaging.MessageConnection;
import javax.wireless.messaging.MessageListener;
import javax.wireless.messaging.TextMessage;
public [...]
Filed under: Code Snippets, Mobility (J2ME & more), Multi Threading | No Comments »
Posted on August 13, 2007 by Subin
Zlango has created a new, inspiring icon based language which transforms web and mobile messaging into an expressive, juicy, colorful icon-based experience.
Zlango is a revolutionary, simple and practical language. It’s made up of over 200 icons divided into intuitive and memorable categories. Words, concepts or feelings can be expressed by the different icons.
Users love Zlango. [...]
Filed under: Downloads, General, Mobility (J2ME & more), What's New ! | Tagged: email, fun, mobile download, sms | No Comments »
Posted on August 9, 2007 by Subin
Guys, this is not a joke. Microsoft website says:
“Microsoft is focused on helping customers and partners succeed in a heterogeneous technology world. This starts with participating and contributing to a broad range of choices for developing and deploying software, including open source approaches and applications. From thousands of lines of code and scripts on MSDN [...]
Filed under: General, Microsoft, What's New ! | No Comments »
Posted on August 6, 2007 by Subin
The JavaFX Script programming language (hereinafter referred to as JavaFX) is a declarative, statically typed scripting language from Sun Microsystems, Inc. As mentioned on the Open JavaFX (OpenJFX) web site, JavaFX technology has a wealth of features, including the ability to make direct calls to Java technology APIs. Because JavaFX Script is statically typed, it [...]
Filed under: Development Tools, What's New ! | No Comments »
Posted on August 6, 2007 by Subin
I have attached a sample code snippet for creating a Pie Chart using JFreeChart with custom colors. There is a PieReneder (a static inner class) which can be used to achieve the same. The PieRenderer takes an array of java.awt.Color in its constructor.
package subin.rnd.chart;
import java.awt.Color;
import java.io.File;
import java.util.List;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PiePlot;
import org.jfree.data.general.DefaultPieDataset;
public class PieChartWithCustomColours
{
public [...]
Filed under: Code Snippets, Graphics | Tagged: JFreeChart | No Comments »