Archive for October, 2008

Windows Mobile client for OpenCellID

Thursday, October 30th, 2008

Just forgot to say this, but dale lane created a Windows mobile client to fill OpenCellID database. All the informations are available on his blog: Programmatically getting the CellID from your Windows Mobile phone. The post contains also some great informations related to CellID for Windows Mobile, informations which are not always so easy to find!

screenshot of FindMe
Reblog this post [with Zemanta]

New J2memap SDK available (v0.961)

Thursday, October 30th, 2008

Update of the SDK, with several improvment

* Already present in the latest version, but not yet announced here:
- Architecture rework, with the ability to display the map on a different canvas (not only his own canvas)
- Marker can have their own Style (MarkerStyle) shared between several markers. Note that by default, you still can use the old mode and change the
colors and pins attribute on the Marker, because the default style use
them directly.

* Several simplification: everything related to “typeSat”, “isSat”, and so on: satelite is just treated as a map like others. So to display YahooSat just do MyMap.setMap(”YahooSat”);

* The numSat is dropped too, as the list of mapping provider is dynamic. See belo, use setMap using a name if this sat is in listOfMap or setMap(MapOverlay) .

* Ask.com has been removed from the default map (they now use Microsoft maps).

* OpenStreetMap has been added in the list of default map provider.

* The “generic layer” support new quadtree URL

These should be minor changes from the external point of view, just by removing a few vars in your creation but this should clarify the usability.

Other improvment:
- the ressampled mode is much better
- cached map reactivation. You can put map in your jar file, or in the file system. A tutorial on this later.

The samples has been updated to reflect this. As usual, you can go to the J2memap web site to dowanload it…

Reblog this post [with Zemanta]

CloudMade available on J2memap

Tuesday, October 14th, 2008

CloudMade is a company which provide services and support on top of OpenStreetMap datas. It’s very easy to integrate CloudMade with J2memap. To do this, let’s take our hello world example, and put cloud made data instead of default map datas. You just need a CloudMade API Key, so contact CloudMade for this.

The cloudMade URL are very simple, something like this:

http://tiles.cloudmade.com/APIKEY/2/256/!z!/!x!/!y!.png

Where APIKEY is your cloudmade APIKey….

So to support this in J2memap, we just use the GenericOverlay class, and adding the cloudmade URL, like this:

GenericOverlay cloudMade=new GenericOverlay(”CloudMade”,”http://tiles.cloudmade.com/APIKEY/2/256/!z!/!x!/!y!.png”);
myMap.setMapProvider(0,openStreeMap);

The complete exemple is here:

import com.eightmotions.map.*;
import com.eightmotions.util.UtilMidp;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

/**
 * CloudMade iterface from J2meMap
 */
public class MyOpenPos extends MIDlet implements MapDisplayListener,CommandListener,Runnable{
    MapDisplay myMap;
    Display   m_disp;
    public void startApp() {
        m_disp=Display.getDisplay(this);
        UtilMidp.checkMIDP(this);
        myMap=new MapDisplay();
        m_disp.setCurrent(myMap.getCanvas());
        GenericOverlay cloudMade=new GenericOverlay(”CloudMade”,”http://tiles.cloudmade.com/APIKEY/2/256/!z!/!x!/!y!.png”);
        myMap.setMapProvider(0,openStreeMap);
    }
   
    public void pauseApp() {
    }
   
    public void destroyApp(boolean unconditional) {
    }
}

Phonelocator joining OpencellID

Friday, October 10th, 2008

Phonelocator just joined OpenCellID, and submitted millions of mesures and ten thousands of Cells! (see our stats )
Logo-medium

Phonelocator is a native S60 realtime GPS tracking application for Nokia
S60 phones developed by Birkett Enterprise Ltd. It allows you to view the
location of your phone and a trail of where it has been using this
website. Phonelocator has advanced features like “Intelligent Update” that
reduces the amount of data sent by the application and “Battery Saver”
that turns off the GPS when the phone is stationary or the GPS signal is
too weak. Phonelocator can be run in the background and started when your
phone is booted.

So thanks to Birkett Entreprise for this, our coverage is much better than before on many countries!