Wednesday, December 7, 2011
Importance of using a RSS Reader
Hello World in Windows Phone
Saturday, November 12, 2011
Sunday, October 30, 2011
Android Operating System Versions
- 2.3 Gingerbread refined the user interface, improved the soft keyboard and copy/paste features, improved gaming performance, added SIP support (VoIP calls), and added support for Near Field Communication. Android 2.3 Gingerbread is the latest Android version that is available to phones.
- 3.0 Honeycomb was a tablet-oriented release which supports larger screen devices and introduces many new user interface features, and supports multicore processors and hardware acceleration for graphics. The first device featuring this version, the Motorola Xoom tablet, went on sale in February 2011
- 3.1 Honeycomb, released in May 2011, added support for extra input devices, USB host mode for transferring information directly from cameras and other devices, and the Google Movies and Books apps.
- 3.2 Honeycomb, released in July 2011, added optimization for a broader range of screen sizes, new "zoom-to-fill" screen compatibility mode, loading media files directly from SD card, and an extended screen support API. Huawei MediaPad is the first 7 inch tablet to use this version
- 4.0 Ice Cream Sandwich, announced on October 19, 2011, brought Honeycomb features to smartphones and added new features including facial recognition unlock, network data usage monitoring and control, unified social networking contacts, photography enhancements, offline email searching, and information sharing using NFC.
Saturday, October 15, 2011
Introduction to Spring Framework
Spring framework is a java platform which provides comprehensive infrastructure to develop enterprise java applications. Spring handles the infrastructure for you so that you can focus on your application. Tuesday, October 11, 2011
JTable KeyListener
class jTableController implements KeyListener {
JTable table1;
public jTableController(JTable table) {
table1 = table;
}
//if you want to get selected data
private int[] getSelectedCell() {
int[] xy = new int[2];
xy[0] = table1.getSelectedRow();
xy[1] = table1.getSelectedColumn();
return xy;
}
@Override
public void keyPressed(KeyEvent e) {
System.out.println("keyPressed");
}
public void keyTyped(KeyEvent e) {
System.out.println("keyTyped");
}
public void keyReleased(KeyEvent e) {
System.out.println("keyReleased");
}
}
tblMaterialSupplierDetails.addKeyListener(new jTableController(tblMaterialSupplierDetails));
That's it run the project and see.
Things to know about JTable
JTabledoes not contain or cache data; it is simply a view of your data.- There are two
JTableconstructors that directly accept data (SimpleTableDemouses the first): JTable(Object[][] rowData, Object[] columnNames)JTable(Vector rowData, Vector columnNames)- However, these constructors also have disadvantages:
- They automatically make every cell editable.
- They treat all data types the same (as strings).
- They require that you put all of the table's data in an array or vector, which may not be appropriate for some data.
- When adding a JTable use a JScrollpane
JScrollPane scrollPane = new JScrollPane(table); table.setFillsViewportHeight(true);JTableuses a very simple concept of selection, managed as an intersection of rows and columns. It was not designed to handle fully independent cell selections.
Monday, October 10, 2011
NHibernate for .NET

When it comes to object relation mapping, writing your own code is a nightmare and not worth doing. This is because there are many frameworks written to do the same thing that you're going to do from scratch. These technologies are matured by time therefore there is no risk using them in real world applications than deploying them with your own buggy code.
NHibernate with LINQ to SQL
LINQ to SQL is another way you can do Object relation mapping but in an easier way than NHibernate. But the problem with LINQ to SQL is that it forces you to use Class per Table kind of pattern. If you're into a small application which do not involve complex table updates and other things you can give LINQ to SQL a shot because it's fairly very easy to begin with. But when it comes to developing a complex enterprise level application, don't go with LINQ to SQL. Get start with LINQ to SQL Here.
Get Started with NHibernate
You can visit the official web site http://nhforge.org/ download the framework and deploy it in your applications. This is a starter tutorial I found on the same site http://nhforge.org/wikis/howtonh/your-first-nhibernate-based-application.aspx. use it and see the difference.
Sunday, October 9, 2011
SAAS vs PAAS vs IAAS
- SAAS (Software as a Service) :- Pixlr, Google Docs
- PAAS(Platform as a Service) :- Google App Engine, Windows Azure, SalesForce
- IAAS(Infrastructure as a Service) :- Amazon Web Service, RockSpace, GoGrid
Data Synchronization : Microsoft Sync
Here's some useful videos I find out about Microsoft Sync. The Microsoft's effort to building a sync framework. you can get more information from msdn.microsoft.com/sync.
Here's good introduction http://msdn.microsoft.com/en-us/sync/bb821992
Some of the useful Videos
Friday, October 7, 2011
MongoDB a noSQL solution
Thursday, September 15, 2011
My First JSON Web Service with Android
Technologies Used:
- JSONObject - This is how routes are saved in railway department json file
- ListActvity - To display the route list
- HttpGet and HttpResponse (To retrieve the file from url)
Friday, September 2, 2011
Introduction to JSON with Android
![]() |
| An object is an un-ordered set of name/value pairs |
![]() |
| An array is an ordered set of values |
Android includes a library called org.json. Developers can easily use this library to work with JSON. this package contains 4 main classes.
- JSONArray
- JSONObject
- JSONStringer
- JSONTokener
Try the example appears at this link (http://www.vogella.de/articles/AndroidJSON/article.html) It gives you a good intro of how to use JSON with your mobile application. It is very straight forward and most important thing is you have nothing much to learn.
Wednesday, August 10, 2011
Unit Testing and Mocking
- NMock
- EasyMock.NET
- TypeMock Isolator Commercial / Paid
- Rhino Mocks
- Moq
- NSubstitute
- JustMock Commercial / Paid
- FakeItEasy
Monday, April 4, 2011
ASP.NET Web Forms
ASP.NET Web Forms is a part of the ASP.NET Web application framework. It is one of the two different programming models you can use to create ASP.NET Web applications, the other being ASP.NET MVC.
Web Forms are pages that your users "request" through their browser directly or indirectly and are User Interface (UI) elements that give your Web applications their look and feel. These pages are written as HTML and server controls along with server-side logic or code. The page is compiled and when requested by your user will execute on the server and generate the HTML that your user’s browser can render.
With ASP.NET Web Forms, you use HTML, "server controls" and code to create the page. This page is compiled and when requested by your user will execute on the server and generate the HTML that your user’s browser can render.
Within Visual Studio you can create ASP.NET Web Forms using a productive IDE. This allows you to drag-and-drop server controls, for example, when designing your Web Forms page. You can then easily set the properties, methods and events for that control or for the Web Form to define the behavior, the look-and-feel or other attributes. When you add server-side code to handle the logic for the page, you can program against a .NET language such as Visual Basic or C# using an associated page called a code behind.
ASP.NET Web Forms offer:
- Separation of HTML interface from application logic
- A large and rich suite of server side controls for various common or complex tasks
- Rich data binding, empowered by tools
- Support for enabling Ajax without knowledge of Javascript



