Saturday, October 15, 2011

Windows Mobile Mango. (Will it be delicious???)

Surely Microsoft rules the PC operating system market. There market share is more that 70%. But what about mobile operating systems? Surely Microsoft had to work hard because there are many competitors like Android, Apple iOS, Blackberry, etc and their market share is way over than Microsoft's mobile platform Windows Phone.
Their previous mobile platform Windows Phone 7 did not do notable difference in smart phone market. But now they have come up with a bang with their latest version Windows Phone 7.5 Mango.

Mango, officially Windows Phone 7.5, adds some 500 improvements to the Windows Phone 7 platform, according to the company. Windows introduced their revolutionary tile interface with Windows mobile 7 platform. Now they have gone a further step. They have made the Tiles extra dynamic which is called Live Tiles. As an example a live eBay tile can display how long there is left on an auction you are bidding for. This is a great example for a good user centered design.

With today's fast paced life styles multitasking is a crucial thing even in a phone. Windows phone 7.5 comes with improved multitasking capabilities which makes you life easy. As an example users simply press and hold down the back key to bring up a webOS-like view of the five most recent apps opened. Then they can then scroll through these apps and tap one to switch back to it.

Windows phone 7.5 comes with HTML5 support. So the users are able to get the maximum use of Web. Also Bing search comes with new features like Music search, and Vision search, which uses your phone's camera to look up product info. Also it includes apps like Local scout, Mall map and Driving directions which provides improved map facilities.

When we are talking about a phone its all about connectivity. Windows mobile introduces whole set of new features which brings connectivity to a new level. So it is called as a People-centric design. Let's see some of the new features which makes your phone People-Centric. In Windows Phone 7.5 threads has introduced to email and messaging.  The whole conversation stays in one thread and you can go through with easily with your finger tip.

Also it let you to group the people you are communicating with. E.g.- Family,Friends,Etc.So you can  send quick texts, emails, or IMs to the whole Group. Also by pinning a group you can see their updates instantly. Also they have linked Twitter and Linked in social networks to their mobile platform with this update.

Another rocking feature in Windows mobile mango is it gives more voice based control capabilities. Now you can send a text message with your hand and eyes free. Also your phone can read texts to you. 
There are thousands of applications which available for this plat form. you can browse and select the apps you wants by just visiting the Windows market place. Ass a example you can do your office stuff on the go with Microsoft Office App for Windows mobile.

Not only users developers like me will get benefited with this new platform.  Developers can built more richer apps with new features with this new platform. Also they can sell their apps in the windows Marketplace.

Here we only discussed about few major improvements in Windows phone platform when it comes from Windows phone 7 to Windows phone 7.5 Mango. But there are hundreds of other features too. With these changes Microsoft will be able to do a huge difference in Smart phone in the coming time. So why not give a try????????

Tuesday, October 11, 2011

Using iReport plugin for Jasper Reports in Netbeans

Jasper reports is a very useful frame work for genarating reports, saving them as PDF,etc. iReport make it more easy because we can design reports using graphical methods from it. Also it is available as a plugin for NetBeans. You can download iReport Netbeans plugin from here. there are for files in the Zip folder. You can install them by at one by selecting all of them when you select the plugin to install from Netbeans (If you don't know how to install a plugin for Netbeans search for a tutorial).
To use Jasper Reports in your application you have to add some libraries. But the problem is these libraries are heavily coupled with each other. So downloading each one is a very difficult task because there are problems like versions don't match, some libraries are outdated, etc.etc.
There is a easy method. After installing the plugin Netbeans will automatically add the Jasper Reports library to its library collection. But it is missing one important library. So you have to download the jar file named jasperreports-4.1.2.jar (version can be changed) from here.
Then you have to edit the existing Netbeans jasper reports Library. To do that select Tools--->Libraries from the Netbeans IDE. Then select JasperReports from left side and select add jar/Folder. Then select the downloaded jar file. Then click ok. Now you are ready to go. 
This website gives a good step by step tutorial on using iReports. But this use the ireport designer instead of the Netbeans plugin. In our case to add a jasper report to our Project right click on the corresponding package and select new>other>empty report. to add the dependencies right click on the libraries and select library--->jasperReports. 
I tried this on Netbeans 6.9. So there can be small differences. But this will give you a basic understanding.

Wednesday, October 5, 2011

Customizing lonex free joomla templates

There are many web sites which provide free Joomla templates. But many of these themes are ugly when compared to commercial themes. But I found this site which provides impressive free templates .

Most of the free joomla templates available on the web contains annoying links on the home page which are linked to their developers. But these can be removed with your HTML and CSS knowledge and using a tool like Firebug.

But the template which I downloaded from above site had none of above problems when I was developing the site in localhost. But the trtrouble started when I hosted it in the server. It shows a link says free blog templated which links to their site.

I tried to located the html code which contains this message using firebug. But I cannot found it in template files. So I decided that this is created by a php script.

After sme inspection i found the following code in templates index.php file.

<div id="maincol<?php echo (2-$leftbar-$rightbar); ?>">
   <div id="pathway">
    <jdoc:include type="modules" name="breadcrumb" />
   <div id="maincol_body">
    <jdoc:include type="component" />
    <jdoc:include type="modules" name="footer" style="xhtml"/>
   <?php if(!@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
   <?php endif; ?>

After commenting out the following php script the message disappeared.

<?php // if(!@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
   <?php //endif; ?>