j2me application to know cell id

আমাদের ফাইনাল ইয়ার প্রজেক্ট LBS এর একটি অংশ হিসেবে j2me base app develop করতে হবে…যার কাজ হবে user থেকে demand নেয়া,user position(GPS+Cell Id) নিয়ে server এ পাঠানো এবং server থেকে পাওয়া information (maps+position) user interface এর মাধ্যমে show করানো…প্রথম অংশ হিসেব user cell id বের করাটা tough ছিলো (coz আমরা j2me তে newbie )।যাইহোক অনেক সংগ্রামের পর পারলাম 😀

only run on S60 FP2(minimum)

code here:

* To change this template, choose Tools | Templates<
* and open the template in the editor.
//this code will retrive the cell id from S series set
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class CellIDMIDlet extends MIDlet implements CommandListener {
private Form form;
private Command exitCommand;
private String S40_cell_id;   // Series 40 cell id property
private String S60_cell_id;   // S60 cell id property
public void startApp() {
form = new Form("Getting Cell ID");
S40_cell_id = System.getProperty("Cell-ID");
S60_cell_id = System.getProperty("com.nokia.mid.cellid");
form.append("Series 40 devices: " + S40_cell_id + "\n");
form.append("S60 devices: " + S60_cell_id);
exitCommand = new Command("Exit", Command.EXIT, 1);
public void pauseApp() {
public void destroyApp(boolean unconditional) {
public void commandAction(Command c, Displayable d) {
if (c == exitCommand) this.notifyDestroyed();

আমি আমার  Nokia E66 সেটে test করেছি Dhaka-Chittagong highway তে। that worked well:)


  1. Eby Thomas · May 24, 2012

    Where could I get its compiled code?
    with.jar extension

    • mushfiq · May 24, 2012

      you have to compile it yourself.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.