Posts Tagged ‘mobile’

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]

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!

Two new functions added in OpenCellID API

Sunday, September 7th, 2008

Just added two new useful functions in the OpenCellIDAPI:

measure/list
to list your measures
and
measure/delete to delete on measure

This is usefull if you made some errors…

Also note that entry with either lat or lon equals to 0 will not be accepted, as this is a frequent error…

Tutorial: loading a KML file using the J2memap library

Wednesday, April 16th, 2008

Ok, following some requests, here is another tutorial on how to use the J2memap library. First, note that if you just want to display a KML file on mobile, you can use 8Motions directly, no need to create your own application.

Anyway, here we are going to show you how to create a very simple app that display a KML file on a cell phone. First, download the J2memap library (you need to be registered to download it), and put thelibraryCLDC11.jar (or 10.jar) as a library of your project. In netbeans, you do Properties,add jar/zip,select the jar file.

Here I take a KML file, but it could be also a GPX file, LOC or GEORSS file….

Then, here is the code:

package com.eightmotions.LoadTrack;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import com.eightmotions.util.*;
import com.eightmotions.map.*;
/**
 *
 * @author tlandspurg
 * @version
 */
public class LoadTrack extends MIDlet implements TrackNotifier {

    MapCanvas m_map;
    Display m_display;
    public void startApp() {
        UtilMidp.checkMIDP(this); //Initialise the utility library...

        // Initialize the map, get the display, and put the map on it
        m_map=new MapCanvas();
        m_display=Display.getDisplay(this);
        m_display.setCurrent(m_map);     

        // Load a track, and display this track to a map
        Track track=Track.getTrack(m_display,"http://www.8motions.com/map/showKml/107","Loading Track",m_map);
        // Listen for track loaded event...
        track.setNotifier(this);
    }

    public void pauseApp() { }

    public void destroyApp(boolean unconditional) {   }

    /* When the track has been loaded, display it... */
    public void onTrackLoaded(Track tr) {
        m_map.displayTrack(tr,true);
    }

    public void onTrackCreated(Track t) { };

    public void onTrackSaved(Track t) {};
}

Here is the result: