CARVIEW |
![]() Get Involved
Get Informed
Get Connected
Search
Online Books:
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||
![]() |
Bruno Ghisi's Blog
J1 is awesome!Posted by brunogh on May 13, 2008 at 08:52 PM | Permalink | Comments (0)There is no word to describe what is JavaOne. If I take a try, I would say that is definitely awesome! It rocks! It is the best geek tourism ever!!! The sessions are great, the speakers are great, the Pavillion is great, the communities, companies, people, all the information, flyers, talks, contests, chats, demos, videos, places, souvenirs, stuff, food, parties, pubs, dinners... the coolest people from the whole world speaking about Java and whatever runs in a JVM! I will not describe all the sessions and things I have seen, because I could easily write a few of books about it. I suppose everyone have seen different JavaOnes, due to the many information in its atmosphere and because we cannot split ourselves in time... So, I have added some pics that show much more. Follow them to see what happened with me, probably not in this sequence, but I can't remember, I spent a whole week as it was a day! Too much fun! And the fun was just starting... ...do you know that people are the center of everything that happens? ...I mean, because of a lot of people, all those things happens... ...yes, a lot of... and in everywhere, the Pavillion was awesome to meet them... ...and those people play video games when they are tired... or sometimes just rest... ...you can meet those people in a Smash Mouth concert... who does not like rock?
...he took me to a cool JavaPosse session... very informal and funny, as you can see... ...then I got my car and it drove me ti the next pub... ...yeah... definitely everybody likes rock! ...a lot of Mobile and Embedded people were there! ...Have you seen all the cool demos we got?
...and then I encourage myself and got a Marge Duke tattoo... ...I can't remember the rest, but I wake up with Neil Young in the stage... wow... ...then I just discovered that Jonh Cage is Brazilian too... he said don't be shy! ...yes... I tried... ...so, James Gosling just appeared in the CommunityCorner... ...and all his fans liked that!!!
As 24Hrs (do you know Jack Bauer?) episode would say, the following take place between 5th of May and 9th of May... something like that, I cannot remember the hours exactly... Great to meet everybody and be part of this! It was my pleasure! I got addicted to JavaOne!!! What a busy day! Thanks, Marging a FX Tetris at JavaOne!Posted by brunogh on April 27, 2008 at 06:10 PM | Permalink | Comments (11)Marge (Java Bluetooth Framework) got a mini talk in Community Corner. It will be on Wednesday at 3:30 pm. If are you interested in Bluetooth, JSR 82 (Java Apis for Bluetooth) and Marge, do not miss that! We have integrated a Bluetooth mobile controller for a nice James Weaver's compiled JavaFX Script tetris game! Thanks, Jim! Here is a preview (updated): The old video is at https://www.youtube.com/v/ZvVx6RGjCjM It will be easy to find Marge: Here is the last tip, keep an eye on the Mobile and Embedded Wiki page for JavaOne! I am very excited to meet new people! See you in San Francisco! Bruno Ghisi Pics from fisl 9.0Posted by brunogh on April 22, 2008 at 09:40 AM | Permalink | Comments (0)The 9th edition of fisl (International Free Software Forum) was huge! 7417 participants from 21 countries talking about open source 12 hours by day during 3 days. Wow! Great atmosphere! Great sessions! Great people! Great ideas, discussions, dinners... Here are some pics that I got from my terrible camera:
The slides of the session Marge, an open source framework for building Bluetooth applications in Java are available only in pt_BR (pdf and odf). mOOo Impress Controller was used to control the Impress presentation with the mobile and Giant Blue Pong was the demo showed in the end. Thanks for the audience, sorry if we had to hurry up. If you got any doubts, please send an email to us (mailing lists here). During fisl, we have discovered a very nice thing! Bluecove, a JSR 82 Java SE implementation, is already working over BlueZ, the official Linux Bluetooth protocol stack. There is no release yet, but the snapshots we have tried are stable. Thanks to Vlad Skarzhevskyy, one of the project owners, that virtually helped us to put things working for our demo. Now you can have multiple connections in Linux, something that AvetanaBluetooth (open source) did not allow. Great news! Congrats to the Bluecove team! :)
Bruno Ghisi Starting with Sun SPOT using NetBeans 6.1Posted by brunogh on April 11, 2008 at 09:41 PM | Permalink | Comments (2)If you do not have a Sun SPOT (Figure 1), do not be bored, you can still have a lot of fun! In this entry, I gonna explain how to start programming the world using NetBeans 6.1! ![]() Figure 1: Sun SPOT rulez!!!
Downloading NetBeans IDE 6.11. Download NetBeans IDE 6.1 (RC1 launched today). A lot of new nice features, take a look in the New and Noteworthy and in the release page for a detailed list.
Installing Sun SPOT plugin2. Install Sun SPOT plugin into NetBeans. Download com-sun-sunspot-updatecenter.nbm. Now, in NetBeans, go to: 2.1 Tools menu -> Plugin. 2.2 Click on Downloaded tab. 2.3 Click on Add Plugins button and select the file. Then, confirm the installation clicking on Install button and accept the license agreement. 2.4 Finally, go to the Available Plugins tab, mark SunSPOTApplicationTemplate, SunSPOTHostApplicationTemplate and Sun SPOT Info, click on Install button and accept the license agreement. 2.5 You can check that everything is installed going to Installed tab (Figure 2). PS: David Simmons has blogged about these steps before. ![]() Figure 2: Installed tab.
Getting Sun SPOT SDK 3.0 Beta3. Get the Sun SPOT SDK 3.0 Beta emailing David Simmons, more details here. You will receive a link to download SPOTManager tool, that is a jar that installs the SDK and can run the emulator. Be sure you have at least JDK 1.5 and at least Ant 1.6.5 installed and configured in your system.
Creating the Demo Application4. Let's make the default demo application work. Go to: 4.1 File menu -> New Project 4.2 Select Java category, select Sun SPOT project and then click Next. 4.3 Leave the default project name and package and click Finish. 4.4 Open org.sunspotworld.StartApplication.java. You can see it extends MIDlet and already has some code. If you are familiar with Java ME, you will not have big problems. But, basically, Sun SPOT arquitecture is CLDC (Connected Limited Device Profile) 1.1 and has IMP (Information Module Profile) in the top - which can be defined as a MIDP (Mobile Information Device Profile) without UI stuff. Also, it has some additional libraries and all this runs in a VM called Squawk, that is characterized by being most written in Java. So, StartApplication implements the abstract methods inherited from the MIDlet (startApp,pauseApp that Squawk never calls and destroyApp). It works in a sand box enviromnent. The startApp code, in List 1, basically gets an object reference to the singleton eDemo Board and then make its LED blink red for a quarter of second each second. As you, can see, the code is pretty high level and easy to understand.
List 1: startApp code.
Running the Demo Application in the emulator5. Put this application to run in the emulator. 5.1 Right click the project and select Build. It will generate the jar in the /$PROJECT_HOME/suite/. If you have a spot device, you could send it directly by right clicking the project and selecting Build Project + Deploy to Sun SPOT , forgetting the next steps. 5.2 Open the emulator (in the ToolManager, go to Solarium tab and then click in the Solarium button). Then, in the emulator, click on the Emulator menu -> New virtual SPOT, you will notice that a Sun SPOT will appear in the squared right area. 5.3 Right click on the Sun SPOT picture, then click Specify application jar file... and select the application jar in /$PROJECT_HOME/suite/, which is the place that the application was built in step 5.1. 5.4 After that, click again on it, then Run MIDlet and StartApplication. Finally, you will see a red LED blinking!!! Wow! ![]() Figure 3: NetBeans 6.1, ToolManager, Emulator and the red LED blinking!
Where I go next?In NetBeans, check the Sun SPOT Info, that you have installed with the plugin, by clicking in the Window menu. David Simmons' Blog - https://blogs.sun.com/davidgs Roger Meike's Blog - https://blogs.sun.com/roger Sun SPOT Feeds (really nice aggregator with more cool blogs) - https://planets.sun.com/SunSPOT/group/SunSPOT Project Sun SPOT - https://www.sunspotworld.com Open source Sun SPOT - https://spots.dev.java.net (take a look in its subprojects as well). Search for spaughts in youtube.com or subscribe the tag feed directly. Recently, Aaron Houston has organized a conference call about Sun SPOT with Roger Meike and published the nice links we get during it in an email he sent. The links are available here too. Slides here. PS: I am using this entry for the NetBeans IDE 6.1 Beta Blogging Contest, take a look at https://www.netbeans.org/competition/blog-contest.html for more information about it. Go ahead, make an entry and have a chance to win $500! Good luck for us! ![]() Thanks! Have a nice weekend! Program the world! Bruno Ghisi Building a Java ME Bluetooth chat in 12 minutes...Posted by brunogh on April 02, 2008 at 08:05 PM | Permalink | Comments (0)As it was announced before, Marge 0.5 is out. In this post, I am going to demonstrate an interesting new feature called AutoConnect. AutoConnect is indeed to automatically connect Bluetooth devices. It has some limitations due to some bad implementations and has some scenarios that maybe it is not the best option, but still very interesting and is definitely awesome to make something with a few lines of code! For more information about the new release and this feature, please check https://wiki.java.net/bin/view/Mobileandembedded/HowTo05. So, nothing better than show a video... [sometimes I think I should have done cinema :) ]... Anyway, if you have not seen any Marge videos yet, try "Project Marge Interview", "My laptop is detecting my presence" and "Giant Blue Pong (my Bluetooth Atari)". Too much talk, take a look at the new "Building a Java ME Bluetooth chat in 12 minutes..." too. Could you not understand what happened in Netbeans code editor? Neither do I!!! It is better to download the full video (30MB). Hope you enjoy! ![]() If you want more about Marge, go to https://marge.dev.java.net. If you want to help, please send an email to owner@marge.dev.java.net. We would love to hear suggestions and have you in our team! Go ahead! Marge your Bluetooth app! Palette Components in Visual Mobile Designer (Netbeans Mobility Pack)Posted by brunogh on March 25, 2008 at 08:18 PM | Permalink | Comments (0)Do you use Netbeans Mobility Pack? Do you always wanted to know more about all the palette components in Visual Mobile Designer (VMD)? I got an email from netbeans weekly (nbweekly@netbeans.org) with a very nice wiki page! Original: Visual Mobile Designer Palette Reference Page Everything you wanted to know about the Visual Mobile Designer for mobile applications, but were afraid to ask is now revealed. This page gives a complete description of all the components in the VMD palette and includes links to related tutorials for each of the components where available. Get the information you need to make effective use of all the functionality the Mobility pack delivers! VMD rulez! Enjoy it! Bruno Ghisi Anybody could explain me what is going on with Brazilian DTV?Posted by brunogh on March 08, 2008 at 08:22 PM | Permalink | Comments (4)Recently, I read Sun Microsystems And SBTVD Forum To Develop Open-Source Java Solution For Brazil's Digital TV System. Ok, looks like a nice news, but is there any reader that could explain me what is really going on? I will try summarise my point of view, because I am not an expert on it. Brazilian open source middleware, called Ginga, is divided in two main parts: Ginga-ncl, which is uses a Brazilian scripting language called Lua (much used in embedded systems and games) and Ginga-j, which is supposed to be the Java stuff. As far as I know, Ginga-j is compatible with GEM (Globally Executable MHP) and it was having licenses and royalties problems. Also, it was being said that Ginga-j was open source, but things are not really clear, otherwise, probably, I would not being post this entry... how can you drive an open source project without clearity? Where can I download all the stuff? Where is the roadmap? So, Sun published that will help Forum do Sistema Brasileiro de TV Digital Terrestre (Forum SBTVD) to create a new plataform that will take place at Ginga. The announcement says that this platform will be compatible with Ginga, so is it a replacement for Ginga-j? How will be that? Hope anybody could elucidate us. Cheers, ![]() |
![]() |
May 2008
Search this blog:CategoriesCommunity: Java CommunicationsCommunity: Java Tools Community: Java User Groups Community: JavaDesktop Community: Mobile & Embedded Community: NetBeans J2SE JavaOne Mobility Open Source Tools Archives
May 2008 Recent EntriesMarging a FX Tetris at JavaOne! ![]() |
![]()
|