Posts

Showing posts from 2010

My First Google Guice Application

Google Guice is a simple yet interesting Dependency Injector for I just wrote my first Guice application in netbeans. It is a very basic application but was good enough to do a head start. First you need to download Guice from gooogle code site from http :// code . google . com / p / google - guice / . In the zip you will find two jars called guice-2.0.jar and aopalliance.jar which you need to create your application. First you need to create a normal java application project and then add the above two jar’s in the project as library. I started with a simple interface like this package firstguice.interfaces; public interface IGreeter { public void sayHello (); } Next I created the implementation of this as the following code package firstguice.impl; import firstguice.interfaces.IGreeter; public class ConsoleGreeter implements IGreeter { public void sayHello () { System. out .println( "Hi there, this is the console greeter" ); } } After the implemen

Configure Netbeans For Android development

Image
I just configured my netbook to do android development in netbeans. So just sharing my experience here. Before I start below is the details of the hardware and software Hardware: Acer Aspire One Software: OS: Ubuntu Netbook Remix 10.10 Others: Netbeans IDE 7 M2,Android SDK There is a nice plugin for Netbeans available called nbandroid and can be found at http :// kenai . com / projects / nbandroid / . I installed this plugin to my Netbeans IDE from the update center. To do so you can follow the instructions at http :// kenai . com / projects / nbandroid / pages / Install . Once installed next I need to download and install the Android SDK from http :// developer . android . com / sdk / index . html . In my case I have chosen the linux sdk. You can choose the one appropriate to your platform. Once downloaded do exract it to a folder.Next you can follow the steps given in http :// developer . android . com / sdk / installing . html . But you can easily skip all the steps

Google Chrome in Ubuntu

Image
Just started using chrome in my Nettop running Ubuntu 9.10. the experience is cool. Though it is just beta but still it is giving me a pretty stable support. I have been waiting for this to arrive for a long time now. The only bug so far I have found is, it is missing the arrow's in the scrollbar. Previously I did used the crossover Google chrome in Linux. Most probably it was using wine to run the application in Linux. The feel was not as smooth as I am getting now in the Google version of chrome for Linux. About the experience of installation I would say it is pretty straight forward. Just go to Google chrome's website , and viola you can download the thing. Hope my rest of the experience would be as good as my first look.