File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes J2ME on Symbian Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME on Symbian" Watch "J2ME on Symbian" New topic

J2ME on Symbian

Amir Iqbal
Ranch Hand

Joined: Jun 23, 2007
Posts: 97
Dear All,
I am a java developer since last 2 years. But i was developing in J2SE. Now i am going for J2ME.
I have to develop an application but as its been long time so i do not know the latest changes in the J2ME.
But as you guys are working on it so i need your help / suggestions.

My Questions are as following:

1) Can i access call log, sms log Using Midlet ?
2) Can i block call or sms using Midlet ?
3) Can i upload data using Midlet over the internet?
4 ) Can i access the phone resouces like volume controls, bluetooth, gallery etc using java???.
5) Can i start and stop this service without user intervention???

etc etc.


By Midlet i mean Java, My core focus in on Symbian plateform.

So can you guys help me through your comments, suggestions or any helpful link ??? i will be thankful to you.

Waiting for your positive response,

Amir Iqbal

i am Java +ve Now !
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

J2ME isn't as much of the "write once, run anywhere" as regular Java. Even narrowing it down to a specific container OS makes no real difference.. In fact, even narrowing it down to a particular brand of phone won't help. Or phone model.

In J2ME you're supplied with one of the base platforms plus selected JSRs plus possibly vendor-supplied additions. In the case of mobile devices, "vendors" come in 2 stripes. The device manufacturer and the cellphone service provided. For example. HTC made a number of phones with built-in GPS chips, but Sprint and Verizon switched them off, so the Location JSR could only use less-precise location services.

Most Java-supporting vendors will have a channel that you can publish Midlets out over, but again, it varies by vendor.

An IDE is no substitute for an Intelligent Developer.
Amir Iqbal
Ranch Hand

Joined: Jun 23, 2007
Posts: 97
Tim Holloway Thanks a lot for your help.
You are absolutely right. I am doing RnD in this regards as well and my RnD results in the same as you describe it.
But Sir, let say if i am targeting Nokia Symbians (v 60) phones. i did not find the solution that how can i access the call log, and sms log, and how to block incoming call or sms through J2ME (like MIDP). i have searched all the day but there were no latest postings in these regards.

Some people asked the same question on the Nokia forums back in 2007. at that time some people also replied that call and sms log access and blocking of call through J2ME was not possible in 2007.

But a few months ago, i found a free (but trial) software "Blacklist.jar" for my nokia e51. this software helps you to automatically ignore call from your provided (blacklisted) contact number. and the caller gets the Busy tone whenever he tries to call you through blacklisted number.

So, as i have noticed that "blacklist" software is a jar file which means it is written in java language, also it can access incoming call bla bla.

So sir, infact i am in search of how java gets the incoming call/sms events.

Kindly help me in this regard, sir.

again thanks a lot for your kind and helpful reply.

Amir Iqbal
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Actually, the blacklist.jar file is most likely including JNI (Native, non-Java) code in it as well as the purely Java stuff.

If you're familiar with Symbian OS-level coding - and I think they use Objective C - you can write your own JNI classes and invoke any function that the Symbian APIs support.

Amir Iqbal
Ranch Hand

Joined: Jun 23, 2007
Posts: 97
mmmm ok. but i guess Objective C is specifically for IPhone develpement.

but its ok thanks alot for your help again. May God reward you for this help.

can you just verify me that can java access call and sms log files? etc ???

Amir Iqbal
Xabush Semrie

Joined: Apr 08, 2014
Posts: 2

Hey folks. I was searching for the same solution as @Amir was looking and I landed on this page. It has been almost for years since this thread was updated.Has there been any new solution? And @Tim, you said the "Blacklist" app is developed in JNI. Is similar app developed in pure Java?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46380
Welcome to the Ranch

Don't know myself. Is there a website for blacklist?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I doubt any new solution will be forthcoming - the downward trajectory of Symbian has been relentless. My guess is that just about everyone who is seriously into smartphone development will have abandoned the platform by now, or at the least no longer release substantial new software.
I agree. Here's the link:
subject: J2ME on Symbian
jQuery in Action, 3rd edition