Showing posts with label open source. Show all posts
Showing posts with label open source. Show all posts

Wednesday, August 17, 2011

Android App Inventor - MIT Center for Mobile Learning

Google announced today that Google App Inventor will be a key part of the MIT Centre for Mobile Learning. MIT will take stewardship of the project and will actively develop and promote the service as a teaching tool.

Given the track record MIT have with open source software this is good news for the App Inventor community.

Thursday, August 11, 2011

Android App Inventor - Closing Down

With the winding down of Google Labs, Google has announced that Android App Inventor will no longer be supported by Google and will be converted to an Open Source application.

The service will remain available until at least the end of the year, however the URL will change in the near future. The viability of the product will depend on a benefactor taking control of the project and providing hosting.



Thursday, September 16, 2010

My Tracks for Android

In the past I have done some mapping of the various mountain bike tracks around the Central Coast. In a previous blog post I documented how I used my Nokia phone and a bluetooth GPS dongle to do mapping.

Now I have a HTC Desire this process has now become much easier to do and I only have to carry one device while I ride.

The key to using the HTC Desire for mapping is the My Tracks for Android application. This application was built by some Google engineers in their 20% time and the results have been open-sourced for the community to benefit.

The My Tracks application uses the GPS in your Android device to record your location as you walk, run or ride. The resulting information can then be exported to either Google Documents to record the details or Google Maps to visualise the route.

Here is an example of a map produced by the My Tracks application.


View 2GO Track in a larger map

An example of the data collected and archived in Google Docs is here
.
My experience so far with Google My Tracks has been very positive and I will continue to use it for both my riding and running.

Thursday, April 8, 2010

Latitude/Longitude Converter Class Library

A few weeks ago I found an old photograph taken while we were doing a 4wd tour on the Mid North Coast of NSW. I wanted to scan and post this photo to the blog along with a Google Maps location.

The issue with this was I only had a rough idea where the photo was taken. During this 4wd tour we followed the directions in a printed book. This was 10 years ago and we did not have the use of a GPS to record our track. All I had to go on was the directions in the book. These directions made little sense trying to follow them on Google Maps as in many cases the tracks we followed are not named or marked in Google Maps.

However, the book did give GPS co-ordinates for key points on the tracks (major intersections or landmarks). I decided these could be used to provide a rough path followed and allow me to get my bearings while trying to follow the directions on Google Maps.

Once I tried to plot each of these points in Google Earth I realised it would be a slow process to import each of these points. An easier way would be to create a KML file of the points and load that into Google Earth. I had already written some code to produce a KML file of points from a CSV file so it was just a matter of loading the GPS co-ordinates into the CSV file and running the program.Unfortunately, KML files need GPS co-ordinates in Decimal Degrees and all my co-ordinates were in Degrees, Minutes and Seconds.

At this point I could have used any number of web based conversion pages to convert each co-ordinate manually. Instead, I decided to write a JAVA class library to convert co-ordinates between Degrees, Minutes and Seconds and Decimal Degrees.

The code was reasonably simple but as I had not been able to find an equivalent class on the net I decided that I would try to make it as versatile as possible with the aim to releasing it onto the web for anybody to use. It would also be a good learning exercise for me as I have created a Java class library previously.

After a weeks worth of coding I have now got the library to the point that I feel comfortable releasing a alpha version of the library to the net. There is a simple tutorial available and I am currently developing the Javadocs to go with the library.

Eventually, I will also post the source under an open source license to allow others to build or improve the library.

Saturday, October 24, 2009

Using JAK and Google Geocoder

In a previous post I mentioned that I would be doing some experimenting with the JAK - Java API for KML. I have now created a simple program that creates a KML file using co-ordinates obtained from calling the Google Geocoder.

If you wish to review the whole program I have made it available here (4mb).

The main parts of the code are as follows:

GeoCoder class
  • converts a street address into a longitude/latitude point.
  • call getLocation method with a string representing the address.
  • class uses Google Geocoder.

Refer to the Geocoder.java class file in the download for more information on how this works.



Main Class
  • assigns an address from the first command line argument
address = args[0];
  • calls the GeoCoder.getLocation method with Address String
location = Geocoder.getLocation(address).toString(); 
  • creates a KML file using the location value returned by the GeoCoder class
final Kml kml = new Kml();
kml.createAndSetPlacemark()
   .withName(address)
   .withOpen(Boolean.TRUE)
   .createAndSetPoint()
   .addToCoordinates(location);

try {
kml.marshal(new File("HelloKml.kml"));
} catch (FileNotFoundException ex) {
     Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
}

In the future I will expand on this application to provide more information in the KML.

Sunday, October 11, 2009

Egreat EG-M31B Network Media Tank

The Egreat EG-M31B is a Network Media Tank (NMT). A NMT is a network attached device that also has connections for output of media to display devices such as HD TV Panels and CRT devices.



The Egreat M31B is a NMT based upon the firmware of the Popcorn Hour A1XX series and implements all of the functions of this player as well as an eSata port for the connection of external hard drives at SATA speeds.

For full details of the specifications of the player see the Egreat website.

Part of the appeal of the NMT devices is the active development community that surrounds them. The centre of this community is the NetworkMediaTank site. This site provides support for all aspects of the devices, but in particular provides a forum to discuss plugins, extensions and themes for the device.

The easiest way to make use of the more popular 3rd party applications is to download and install the NMTInstaller. The NMT Installer takes the hard work out of installing 3rd party applications such as Jukeboxes, Webserver, Automatic Downloaders, Themes and Web Services.

Development on this platform is in PHP, Javascript or in C directly on the device. Further details can be found on the NMT Wiki.

Sunday, August 9, 2009

MoWeS Portable Webserver

The MoWeS Portable Webserver is a light-weight web server that can run from any writable media (USB Drive, HDD, or flash-card).
MoWeS stands for the three letter abbreviation Modular Webserver System and makes it possible, to run a webserver based on Apache, MySQL and PHP from an USB Stick or any other writable media (harddrive, flash cards etc.) without installation under Windows (98 to Vista).
The installation process also includes the ability to install various web software packages. These packages include:
Setup is easy and I completed the setup of the web server on a USB stick within 1 hour including the installation of MediaWiki.

This is great way to have a portable version of some of the best CMS and Wiki software available.

Monday, July 13, 2009

Google Chrome OS - An OS for the Internet Age

For a number of years pundits have been discussing whether Google would release an operating system. On the 7th July 2009, Google announced the existence of the Google OS.
Google Chrome OS is an open source, lightweight operating system that will initially be targeted at netbooks.
From the Google Blog announcement we can glean the following details:
  • Linux kernel
  • Runs on x86 and ARM
  • Uses the Google Web Apps in the Google Chrome browser
  • New Web Apps are in the pipeline to take advantage of the platform
  • Will work best with a persistent internet connection
The OS will initially be released on netbooks and Google has been in discussion with a number of vendors including Acer, Asus, HP and Toshiba to release netbooks with the new OS in 2010.

The Google OS will also be open-sourced later this year to allow the community to benefit from the work Google has done.